public interface I_CmsToolbarButton
extends com.google.gwt.event.dom.client.HasClickHandlers
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getIconClass()
The icon CSS class of this button.
|
java.lang.String |
getTitle()
Returns the localized button title.
|
boolean |
isActive()
Returns whether this button is active (pushed, not disabled).
|
void |
onToolbarActivate()
Method executed when the button is activated.
|
void |
onToolbarClick()
Executed when the tool-bar button is clicked.
|
void |
onToolbarDeactivate()
Method executed when the button is deactivated.
|
void |
setActive(boolean active)
Sets the button to active (pushed, not disabled).
|
void |
setEnabled(boolean enabled)
Enables or disables the button.
|
java.lang.String getIconClass()
java.lang.String getTitle()
boolean isActive()
true
if the button is activevoid onToolbarActivate()
void onToolbarClick()
void onToolbarDeactivate()
void setActive(boolean active)
active
- true
if activevoid setEnabled(boolean enabled)
enabled
- if true, enable the button, else disable it