|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tonbeller.wcf.toolbar.ToolBarComponentSupport com.tonbeller.wcf.toolbar.ToolButton
Constructor Summary | |
ToolButton(ToolButtonModel model,
java.lang.String upImg,
java.lang.String downImg)
|
Method Summary | |
java.lang.String |
getDownImg()
Returns the downImg. |
java.lang.String |
getRadioGroup()
Returns the radioGroup. |
java.lang.String |
getUpImg()
Returns the upImg. |
void |
initialize(RequestContext context,
ToolBar owner)
deferred ctor - initializes the button once after instantiation |
boolean |
isPressed()
Returns the pressed. |
boolean |
isSeparator()
paints some space |
void |
render(RequestContext context,
org.w3c.dom.Element parent)
renders the toolbar button |
void |
request(RequestContext context)
notified by a Dispatcher for specific HTTP Requests |
void |
setDownImg(java.lang.String downImg)
Sets the downImg. |
void |
setImg(java.lang.String img)
|
void |
setRadioGroup(java.lang.String radioGroup)
Sets the radioGroup. |
void |
setTooltip(java.lang.String tooltip)
|
void |
setUpImg(java.lang.String upImg)
Sets the upImg. |
Methods inherited from class com.tonbeller.wcf.toolbar.ToolBarComponentSupport |
getId, getRole, getVisibleExpr, isVisible, isVisible, setId, setRole, setVisible, setVisibleExpr |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ToolButton(ToolButtonModel model, java.lang.String upImg, java.lang.String downImg)
Method Detail |
public boolean isPressed()
public java.lang.String getRadioGroup()
public void setRadioGroup(java.lang.String radioGroup)
radioGroup
- The radioGroup to setpublic java.lang.String getDownImg()
public java.lang.String getUpImg()
public void setDownImg(java.lang.String downImg)
downImg
- The downImg to setpublic void setUpImg(java.lang.String upImg)
upImg
- The upImg to setpublic void initialize(RequestContext context, ToolBar owner)
ToolBarComponent
initialize
in interface ToolBarComponent
public void render(RequestContext context, org.w3c.dom.Element parent) throws java.lang.Exception
ToolBarComponent
render
in interface ToolBarComponent
java.lang.Exception
public void request(RequestContext context) throws java.lang.Exception
RequestListener
request
in interface RequestListener
context
- the current request
java.lang.Exception
public void setTooltip(java.lang.String tooltip)
tooltip
- public boolean isSeparator()
ToolBarComponent
isSeparator
in interface ToolBarComponent
public void setImg(java.lang.String img)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |