com.tonbeller.wcf.toolbar
Class ImgButton
java.lang.Object
com.tonbeller.wcf.toolbar.ToolBarComponentSupport
com.tonbeller.wcf.toolbar.ImgButton
- All Implemented Interfaces:
- ToolBarComponent
- public class ImgButton
- extends ToolBarComponentSupport
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImgButton
public ImgButton(ToolBar tbar)
- Parameters:
tbar
-
render
public void render(RequestContext context,
org.w3c.dom.Element parent)
throws java.lang.Exception
- Description copied from interface:
ToolBarComponent
- renders the toolbar button
- Throws:
java.lang.Exception
- See Also:
com.tonbeller.wcf.toolbar.ToolBarComponent#render(com.tonbeller.wcf.controller.RequestContext, org.w3c.dom.Document)
initialize
public void initialize(RequestContext context,
ToolBar owner)
- Description copied from interface:
ToolBarComponent
- deferred ctor - initializes the button once after instantiation
getHref
public java.lang.String getHref()
getImg
public java.lang.String getImg()
getTarget
public java.lang.String getTarget()
setHref
public void setHref(java.lang.String href)
setImg
public void setImg(java.lang.String img)
setTarget
public void setTarget(java.lang.String target)
setTooltip
public void setTooltip(java.lang.String tooltip)
isSeparator
public boolean isSeparator()
- Description copied from interface:
ToolBarComponent
- paints some space