public class ImageWidget extends BaseWidget
Image
,
you can get Image
component by call BaseWidget.getComponent()
Constructor and Description |
---|
ImageWidget(SSheet sheet,
SPicture pic,
java.lang.String panel) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBorder() |
org.zkoss.image.Image |
getContent() |
java.lang.String |
getHeight() |
protected org.zkoss.zk.ui.Component |
getInnerComponent() |
java.lang.String |
getSrc() |
java.lang.String |
getWidgetType()
Returns the widget type.
|
java.lang.String |
getWidth() |
void |
invalidate() |
protected WidgetCtrl |
newCtrl() |
void |
setBorder(java.lang.String border) |
void |
setContent(org.zkoss.image.Image image) |
void |
setHeight(java.lang.String h) |
void |
setSrc(java.lang.String src) |
void |
setWidth(java.lang.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 java.lang.String getSrc()
public void setSrc(java.lang.String src)
public org.zkoss.image.Image getContent()
public void setWidth(java.lang.String w)
public java.lang.String getWidth()
public void setHeight(java.lang.String h)
public java.lang.String getHeight()
public void setBorder(java.lang.String border)
public java.lang.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 java.lang.String getWidgetType()
BaseWidget
getWidgetType
in class BaseWidget
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.