public interface RibbonActionItem
| Modifier and Type | Interface and Description |
|---|---|
static class |
RibbonActionItem.Type
Type of ribbon item
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccesskey()
Get identifier of this ribbon item
|
String |
getAction()
Get defined item click action
|
String |
getIcon()
Get item icon (null if item without icon)
|
String |
getMessage()
Returns message connected to this item
|
String |
getName()
Get identifier of this ribbon item
|
String |
getScript()
Returns script of this ribbon item
|
RibbonActionItem.Type |
getType()
Get item type
|
boolean |
isEnabled()
Returns true if this item is enabled
|
void |
requestUpdate(boolean shouldBeUpdated)
Informs that this item state should be updated
|
void |
setEnabled(boolean enabled)
Sets this item state
|
void |
setIcon(String icon)
Set item icon (null if item without icon)
|
void |
setMessage(String message)
sets message connected to this item
|
String getAccesskey()
String getAction()
String getIcon()
String getMessage()
String getName()
String getScript()
RibbonActionItem.Type getType()
boolean isEnabled()
void requestUpdate(boolean shouldBeUpdated)
shouldBeUpdated - true if this item state should be updatedvoid setEnabled(boolean enabled)
enabled - true when this item should be enabled or false when this item should be disabledvoid setIcon(String icon)
icon - item iconvoid setMessage(String message)
message - translation key for new message connected to this itemCopyright © 2010-2025 Qcadoo Limited