public class DropDownToolbarActionChip extends ImageToolbarActionChip
AbstractToolbarActionChip.ToolbarActionListener| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_MENU_CSS |
static String |
DEFAULT_WIDTH |
static String |
EDITOR_MENU_CSS |
static String |
FOOTER_MENU_CSS |
static String |
MAIN_MENU_CSS |
static String |
SECTION_MENU_CSS |
BUTTON_ADD, BUTTON_CANCEL, BUTTON_CLEAR, BUTTON_CLEAR_ALL, BUTTON_COPY, BUTTON_COPYTOCREATOR, BUTTON_CREATE, BUTTON_CUT, BUTTON_DELETE, BUTTON_DIVIDER, BUTTON_EXTENSION, BUTTON_INACTIVE, BUTTON_NORMAL, BUTTON_OK, BUTTON_OPEN_ALT, BUTTON_OPEN_TYPE, BUTTON_PASTE, BUTTON_PATH, BUTTON_REFRESH, BUTTON_RESET_CONDITIONS, BUTTON_SAVE, BUTTON_SAVE_ALL, BUTTON_SAVE_AND_CLOSE, BUTTON_SUFFIX_EDITORTOOLBAR, BUTTON_SUFFIX_MAINTOOLBAR, DEFAULT_BUTTON_CSS, DEFAULT_BUTTON_CSS_DISABLED, EDITOR_BUTTON_CSS, EDITOR_BUTTON_CSS_DISABLED, FOOTER_BUTTON_CSS, FOOTER_BUTTON_CSS_DISABLED, MAIN_BUTTON_CSS, MAIN_BUTTON_CSS_DISABLED, SECTION_BUTTON_CSS, SECTION_BUTTON_CSS_DISABLED, URIaccepted, ALIGN_LEFT, ALIGN_RIGHT, PERFORMCHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
DropDownToolbarActionChip(AbstractToolbarChip parent,
String label) |
DropDownToolbarActionChip(AbstractToolbarChip parent,
String imageName,
String label) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMenuEntry(MenuEntry entry) |
Set |
getAcceptedEvents()
Overridden to return all the events of the menu entries in this chip.
|
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
String |
getLabel() |
String |
getMenuCSS() |
List |
getMenuEntries()
Here you can specify what Actions you are able to perform at the moment.
|
String |
getOptions() |
boolean |
isRightAlign() |
void |
processEvents(Map<String,List<String>> events)
Handles all incoming requests for this chip.
|
boolean |
removeMenuEntry(MenuEntry entry) |
boolean |
removeMenuEntry(String event)
Removes the first MenuEntry found with the given event name.
|
void |
setMenuCSS(String cssClass) |
void |
setRightAlign(boolean rightAlign) |
getButtonCSS, getImageURL, getImageURL, hasIcon, isDropDown, setButtonCSS, setDropDown, setEnabled, setHasIcon, setImageNameaddActionListener, getAccessKey, getAlignment, getConfirmationMessage, getEvent, getJavaScript, getProposedUniqueName, getToolbarType, getTooltip, getWidth, isEnabled, isPartOf, isVisible, notifyActionPerformed, perform, removeActionListener, setAccessKey, setAlignment, setConfirmationMessage, setEvent, setJavaScript, setLabel, setShowLabel, setTooltip, setVisible, setWidth, showLabeladdEventListener, checkValid, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getFrame, getID, getInfoMessages, getJaloSession, getLocalizedString, getLocalizedString, getLogger, 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, translateFormFieldToEventValueequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEventListener, checkValid, dispose, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getID, getJaloSession, getParent, getUniqueName, goFullScreen, isValid, leaveFullScreen, registerUniqueName, removeEventListener, render, translateFormFieldToEventName, translateFormFieldToEventValuepublic static String DEFAULT_WIDTH
public static final String DEFAULT_MENU_CSS
public static final String EDITOR_MENU_CSS
public static final String FOOTER_MENU_CSS
public static final String MAIN_MENU_CSS
public static final String SECTION_MENU_CSS
public DropDownToolbarActionChip(AbstractToolbarChip parent, String label)
public DropDownToolbarActionChip(AbstractToolbarChip parent, String imageName, String label)
public String getJSPURI()
ChipgetJSPURI in interface ChipgetJSPURI in class ImageToolbarActionChippublic void processEvents(Map<String,List<String>> events)
ChipprocessEvents in interface ChipprocessEvents in class AbstractToolbarActionChippublic Set getAcceptedEvents()
getAcceptedEvents in interface EventCheckingChipgetAcceptedEvents in class AbstractToolbarActionChippublic void addMenuEntry(MenuEntry entry)
public boolean removeMenuEntry(MenuEntry entry)
public boolean removeMenuEntry(String event)
public List getMenuEntries()
AbstractChipgetMenuEntries in interface ChipgetMenuEntries in class AbstractChippublic String getOptions()
public void setMenuCSS(String cssClass)
public String getMenuCSS()
public boolean isRightAlign()
public void setRightAlign(boolean rightAlign)
public String getLabel()
getLabel in class AbstractToolbarActionChipCopyright © 2017 SAP SE. All Rights Reserved.