public class ImageWidget extends BaseWidget
Image
,
you can get Image
component by call BaseWidget.getComponent()
Constructor and Description |
---|
ImageWidget(SSheet sheet,
SPicture pic,
String panel) |
Modifier and Type | Method and Description |
---|---|
String |
getBorder() |
org.zkoss.image.Image |
getContent() |
String |
getHeight() |
protected org.zkoss.zk.ui.Component |
getInnerComponent() |
String |
getSrc() |
String |
getWidgetType()
Returns the widget type.
|
String |
getWidth() |
void |
invalidate() |
protected WidgetCtrl |
newCtrl() |
void |
setBorder(String border) |
void |
setContent(org.zkoss.image.Image image) |
void |
setHeight(String h) |
void |
setSrc(String src) |
void |
setWidth(String w) |
addEventListener, adjustLocation, getColumn, getColumn2, getComponent, getCtrl, getCtrlKeys, getHandler, getId, getLeft, getPanel, getRow, getRow2, getTop, getZindex, isMovable, isSizable, isVisible, removeEventListener, setColumn, setColumn2, setCtrlKeys, setHandler, setId, setLeft, setMovable, setRow, setRow2, setSizable, setTop, setVisible, setZindex, toString
protected org.zkoss.zk.ui.Component getInnerComponent()
getInnerComponent
in class BaseWidget
public String getSrc()
public void setSrc(String src)
public org.zkoss.image.Image getContent()
public void setWidth(String w)
public String getWidth()
public void setHeight(String h)
public String getHeight()
public void setBorder(String border)
public String getBorder()
public void setContent(org.zkoss.image.Image image)
protected WidgetCtrl newCtrl()
newCtrl
in class BaseWidget
public void invalidate()
invalidate
in class BaseWidget
public String getWidgetType()
BaseWidget
getWidgetType
in class BaseWidget
Copyright © 2020. All rights reserved.