public abstract class AbstractToolbarChip extends AbstractChip
| Modifier and Type | Field and Description |
|---|---|
protected List<AbstractToolbarActionChip> |
extensionToolbarActionChips |
static int |
TOOLBAR_TYPE_DEFAULT
default = use 'old' behaviour which tries to determine the correct color by context
|
static int |
TOOLBAR_TYPE_EDITOR
editor = dark grey toolbars in list/map attribute editors (containing add and resort buttons in lists etc.)
|
static int |
TOOLBAR_TYPE_FOOTER
footer = grey footer beneath sections, lists, editors (containing page browsing buttons etc.)
|
static int |
TOOLBAR_TYPE_MAIN
main = topmost, light grey toolbar in main hmc window (containing create and logout buttons etc.)
|
static int |
TOOLBAR_TYPE_SECTION
section = blue toolbars as in search, result and edit section (containing save and delete buttons etc.)
|
protected List<AbstractToolbarActionChip> |
toolbarActionChips |
static String |
URI |
CHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
AbstractToolbarChip(Chip parent) |
AbstractToolbarChip(DisplayState displayState,
Chip parent) |
addEventListener, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getFrame, getID, getInfoMessages, getJaloSession, getLocalizedString, getLocalizedString, getLogger, getMenuEntries, getNameSpace, getNameSpaceFor, getParent, getProposedUniqueName, 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 static final String URI
protected List<AbstractToolbarActionChip> toolbarActionChips
protected List<AbstractToolbarActionChip> extensionToolbarActionChips
public static final int TOOLBAR_TYPE_DEFAULT
public static final int TOOLBAR_TYPE_MAIN
public static final int TOOLBAR_TYPE_SECTION
public static final int TOOLBAR_TYPE_EDITOR
public static final int TOOLBAR_TYPE_FOOTER
public AbstractToolbarChip(DisplayState displayState, Chip parent)
public AbstractToolbarChip(Chip parent)
public void setCorners(boolean corners)
public boolean hasCorners()
public void setPartOf(boolean partOf)
public boolean isPartOf()
public void setBackgroundColor(String colorDef)
public String getBackgroundColor()
public boolean hasBackgroundColor()
public void processEvents(Map<String,List<String>> events)
Chippublic List<AbstractToolbarActionChip> getExtensionToolbarActionChips()
public final boolean isEmpty()
public final List<AbstractToolbarActionChip> getToolbarActionChips()
public static List filterToolbarActionChips(List<AbstractToolbarActionChip> actionChips, int alignment)
@Deprecated protected final List<AbstractToolbarActionChip> getEditorToolbarActionChips()
public final List<AbstractToolbarActionChip> getCoreToolbarActionChips()
public String getJSPURI()
Chippublic void checkValid()
AbstractChipcheckValid in interface ChipcheckValid in class AbstractChippublic void addDivider()
public void addDivider(boolean alignLeft)
public AbstractToolbarActionChip addToolbarAction(String action, String icon, String label, String javaScript, int width, boolean left, AbstractToolbarActionChip.ToolbarActionListener listener)
public void removeToolbarAction(AbstractToolbarActionChip actionChip)
public void addCoreActionChip(AbstractToolbarActionChip action, int index)
public void addCoreActionChip(AbstractToolbarActionChip action)
public void removeCoreActionChip(AbstractToolbarActionChip action)
protected void removeExtensionActionChip(AbstractToolbarActionChip action)
protected void initialize()
public boolean isInitialized()
public int getToolbarType()
public void setToolbarType(int toolbarType)
toolbarType - The toolbarType to set.Copyright © 2017 SAP SE. All Rights Reserved.