|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Toolbar element like button, separator etc
Method Summary | |
java.lang.String |
getId()
must be unique within the toolbar. if null, the toolbar element will not be scriptable. |
void |
initialize(RequestContext context,
ToolBar owner)
deferred ctor - initializes the button once after instantiation |
boolean |
isSeparator()
paints some space |
boolean |
isVisible()
default visible state in case no visibleExpr is set |
boolean |
isVisible(RequestContext context)
true if this button is visible |
void |
render(RequestContext context,
org.w3c.dom.Element parent)
renders the toolbar button |
void |
setVisible(boolean b)
default visible state in case no visibleExpr is set |
void |
setVisibleExpr(java.lang.String expr)
an expression that evaluates to a boolean. |
Method Detail |
public void render(RequestContext context, org.w3c.dom.Element parent) throws java.lang.Exception
java.lang.Exception
public void initialize(RequestContext context, ToolBar owner)
public void setVisibleExpr(java.lang.String expr)
public boolean isVisible(RequestContext context)
public boolean isSeparator()
public void setVisible(boolean b)
public boolean isVisible()
public java.lang.String getId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |