public interface ActionComponent
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name)
Gets an attribute of specified name from action representation component
|
org.zkoss.zk.ui.Component |
getComponent()
Gets action representation component
|
String |
getImage()
Gets uri to action icon
|
String |
getLabel()
Gets current label representation of action
|
String |
getTooltiptext()
Gets current action's tooltip
|
boolean |
hasAttribute(String name)
Checks whether action representation component has defined an attribute of specified name
|
Object |
removeAttribute(String name)
Removes definition of specified attribute from action representation component
|
Object |
setAttribute(String name,
Object value)
Sets new value of specified attribute in action representation component
|
void |
setImage(String image)
Sets new uri to action icon
|
void |
setLabel(String label)
Sets new label representation of action
|
void |
setTooltiptext(String tooltiptext)
Sets new action's tooltip
|
void setLabel(String label)
label - label representationString getLabel()
String getImage()
void setImage(String image)
image - action's icon uriString getTooltiptext()
void setTooltiptext(String tooltiptext)
tooltiptext - new tooltipObject getAttribute(String name)
name - name of attributeboolean hasAttribute(String name)
name - name of attributetrue if component defines an attributeObject setAttribute(String name, Object value)
name - name of attributevalue - value of attributeObject removeAttribute(String name)
name - name of attributeorg.zkoss.zk.ui.Component getComponent()
Copyright © 2018. All rights reserved.