public class ItemActionChip extends AbstractActionChip<ItemAction>
DEFAULT_ACTION_DISABLED_ICON, DEFAULT_ACTION_ICON, PERFORMCHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
ItemActionChip(DisplayState displayState,
Chip parent,
String name,
ItemAction action,
String icon,
String disabledicon,
String toolbarIconName) |
| Modifier and Type | Method and Description |
|---|---|
protected ActionEvent |
createActionEvent()
Provides a action event for the next execution.
|
protected Item |
getItem() |
GenericItemChip |
getItemChip() |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
protected String |
getProposedUniqueName() |
String |
getToolbarIconName() |
boolean |
isActive() |
boolean |
isHideButton() |
boolean |
isShowToolbarLabel() |
ActionResult |
performAction()
Executes the actual action by calling
HMCAction.perform(ActionEvent). |
protected void |
refresh(ActionResult result)
Reloads the itemchip.
|
void |
setHideButton(boolean hideButton) |
void |
setItemChip(GenericItemChip chip) |
void |
setShowToolbarLabel(boolean showToolbarLabel) |
getAction, getConfirmationMessage, getDisabledIcon, getIcon, getName, getPerformCommandID, getTooltip, needsConfirmation, processEvents, setName, setTooltip, showActionResultaddEventListener, checkValid, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getFrame, getID, getInfoMessages, getJaloSession, getLocalizedString, getLocalizedString, getLogger, getMenuEntries, getNameSpace, getNameSpaceFor, getParent, getProposedUniqueNameFor, getRequestFocus, getSessionIdentifier, getStringValue, getUniqueName, getWindow, goFullScreen, hasVisibleContextMenuEntries, isButtonPushed, isButtonPushed, isErrorQueueEmpty, isValid, leaveFullScreen, notifyEventListeners, notifyEventListeners, postErrorMessage, postInfoMessage, postWindowEvent, refresh, refreshChild, registerUniqueName, removeEventListener, removeInfoMessage, render, render, setClipboard, setParent, setRequestFocus, setValid, setWindowStatus, translateFormFieldToEventName, translateFormFieldToEventValuepublic ItemActionChip(DisplayState displayState, Chip parent, String name, ItemAction action, String icon, String disabledicon, String toolbarIconName)
public String getJSPURI()
public String getToolbarIconName()
protected ActionEvent createActionEvent()
AbstractActionChipcreateActionEvent in class AbstractActionChip<ItemAction>public ActionResult performAction()
AbstractActionChipHMCAction.perform(ActionEvent).performAction in class AbstractActionChip<ItemAction>protected void refresh(ActionResult result)
refresh in class AbstractActionChip<ItemAction>result - the current action resultAbstractActionChip.refresh(de.hybris.platform.hmc.util.action.ActionResult)protected Item getItem()
public boolean isActive()
isActive in class AbstractActionChip<ItemAction>public final GenericItemChip getItemChip()
public final void setItemChip(GenericItemChip chip)
public boolean isHideButton()
public void setHideButton(boolean hideButton)
hideButton - The hideButton to set.public boolean isShowToolbarLabel()
public void setShowToolbarLabel(boolean showToolbarLabel)
showToolbarLabel - The showToolbarLabel to set.protected String getProposedUniqueName()
getProposedUniqueName in class AbstractChipCopyright © 2017 SAP SE. All Rights Reserved.