class Button.ButtonActionWrapper extends java.lang.Object implements ButtonAction, DynamicActionAttributes
Constructor and Description |
---|
ButtonActionWrapper() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClazz()
Class attribute of the main button tag.
|
java.util.Iterator<DynamicActionAttribute> |
getDynamicActionAttributes()
Get an iterator that return all dynamic attributes.
|
java.lang.String |
getIcon()
Get a reference to an image that will be displayed in the menu.
|
java.lang.String |
getId()
ID attribute of the main button tag.
|
java.lang.String |
getStyle()
Extra CSS style attributes that will be added to the
style attribute of the main button tag. |
int |
getTabIndex()
Get the tab index used to control focus order when tabbing.
|
java.lang.String |
getTitle()
Get the title of the button.
|
java.lang.String |
getTooltip()
A tooltip that is shown as a yellow popup when the
user points the mouse at the button.
|
boolean |
isEnabled()
If the button should be enabled or disabled.
|
boolean |
isVisible()
If the button should be visible or not.
|
public java.lang.String getId()
ButtonAction
getId
in interface ButtonAction
public java.lang.String getClazz()
ButtonAction
getClazz
in interface ButtonAction
public java.lang.String getStyle()
ButtonAction
style
attribute of the main button tag.getStyle
in interface ButtonAction
public java.lang.String getTitle()
ButtonAction
getTitle
in interface ButtonAction
public java.lang.String getTooltip()
ButtonAction
getTooltip
in interface ButtonAction
public java.lang.String getIcon()
ButtonAction
getIcon
in interface ButtonAction
public boolean isEnabled()
ButtonAction
isEnabled
in interface ButtonAction
public boolean isVisible()
ButtonAction
isVisible
in interface ButtonAction
public int getTabIndex()
ButtonAction
getTabIndex
in interface ButtonAction
public java.util.Iterator<DynamicActionAttribute> getDynamicActionAttributes()
DynamicActionAttributes
getDynamicActionAttributes
in interface DynamicActionAttributes