| org.zkoss.zul.impl.XulElement org.zkoss.zul.impl.LabelElement org.zkoss.zul.impl.LabelImageElement
All known Subclasses: org.zkoss.zul.Treecell, org.zkoss.zul.Footer, org.zkoss.zul.Checkbox, org.zkoss.zul.impl.HeaderElement, org.zkoss.zul.Button, org.zkoss.zul.Caption, org.zkoss.zul.Listfooter, org.zkoss.zul.Listcell, org.zkoss.zul.Menu, org.zkoss.zul.Menuitem, org.zkoss.zul.Toolbarbutton, org.zkoss.zul.Treefooter, org.zkoss.zul.Comboitem, org.zkoss.zul.Tab,
setImage | public void setImage(String src)(Code) | | Sets the image URI.
If src is changed, the component's inner is invalidate.
Thus, you want to smart-update, you have to override this method.
The same as
LabelImageElement.setSrc .
|
setImageContent | public void setImageContent(Image image)(Code) | | Sets the content directly.
Default: null.
Parameters: image - the image to display. If not null, it has higherpriority than LabelImageElement.getSrc. |
setSrc | public void setSrc(String src)(Code) | | Sets the src (the image URI).
If src is changed, the component's inner is invalidate.
Thus, you want to smart-update, you have to override this method.
The same as
LabelImageElement.setImage .
|
|
|