public abstract class AbstractEditorMenuChip extends AbstractChip
| Modifier and Type | Field and Description |
|---|---|
static String |
ADMIN_TAB_ID |
static int |
STATUS_ERROR |
static int |
STATUS_INFO |
static int |
STATUS_SUMMARY |
static String |
STATUS_TAB_ID |
CHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
AbstractEditorMenuChip(DisplayState displayState,
ItemChip parent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSelectTab(EditorTabChip tab)
Tells whether a tab may be selected or not.
|
protected void |
changeTab(EditorTabChip chipFrom,
EditorTabChip chipTo) |
void |
checkValid()
Gives the chip the possibility to check if its objects are still valid.
|
EditorTabChip |
getActiveTab() |
int |
getActiveTabIndex() |
List |
getAllEditorTabChips() |
List |
getAllVisibleEditorTabChips() |
ClipChip |
getDetailEditor() |
GenericEssentialsEditorChip |
getEssentials()
Delegates to
ItemChip.getEssentials(). |
protected EditorTabChip |
getInfoTabChip() |
protected ItemChip |
getItemChip()
Returns the tab that precedes the currently active tab (or null if there is no previous tab).
|
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
protected int |
getNextVisibleTabPosition() |
protected int |
getPreviousVisibleTabPosition() |
protected EditorTabChip |
getProcessingStatusTabChip() |
EditorTabChip |
getTabByName(String name)
Tries to find the
EditorTabChip with the given name (whether it is visible or not). |
List |
getTabGroups() |
int |
getTabIndex(EditorTabChip tab) |
protected WizardInfoTabChip |
getWizardInfoTabChip() |
protected WizardStatusTabChip |
getWizardStatusTabChip() |
boolean |
hasEssentials()
Delegates to
ItemChip.hasEssentials(). |
boolean |
hasNextTab() |
boolean |
hasPreviousTab() |
boolean |
hideEssentials() |
boolean |
isInfoMode() |
boolean |
isNextTab(EditorTabChip tab) |
boolean |
isPartOf() |
boolean |
isPreviousTab(EditorTabChip tab) |
boolean |
isProcessingMode() |
boolean |
isVisible(EditorTabChip tabChip) |
boolean |
isWizard()
Delegates to
GenericItemChip.isWizard(). |
void |
nextTab() |
void |
previousTab() |
void |
processEvents(Map events)
Handles all incoming requests for this chip.
|
void |
setActiveTab(EditorTabChip tabChip) |
void |
setActiveTab(int index) |
void |
setActiveTab(String name,
int index)
Tries to set the active tab by name.
|
void |
setAllVisible() |
void |
setInfoMessage(String message)
Sets the message of the info tab (which should already be localized and may contain html code).
|
void |
setInfoMode(boolean mode) |
void |
setInfoStatus(int status)
|
void |
setInfoTabName(String name) |
void |
setPartOf(boolean partOf) |
void |
setProcessingMode(boolean inprocessingMode) |
void |
setProcessingStatus(String statusText,
int percentage,
boolean error) |
void |
setVisible(EditorTabChip tabChip,
boolean visible) |
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 ADMIN_TAB_ID
public static final String STATUS_TAB_ID
public static final int STATUS_INFO
public static final int STATUS_ERROR
public static final int STATUS_SUMMARY
public AbstractEditorMenuChip(DisplayState displayState, ItemChip parent)
public void processEvents(Map events)
Chippublic void setProcessingMode(boolean inprocessingMode)
public boolean isProcessingMode()
public void setProcessingStatus(String statusText, int percentage, boolean error)
public boolean isInfoMode()
public void setInfoMode(boolean mode)
public void setInfoStatus(int status)
status - the status of the info tab (info, error or summary)public void setInfoMessage(String message)
message - the message to be shown on the info tabprotected WizardStatusTabChip getWizardStatusTabChip()
protected EditorTabChip getProcessingStatusTabChip()
protected WizardInfoTabChip getWizardInfoTabChip()
protected EditorTabChip getInfoTabChip()
public void setInfoTabName(String name)
public final List getAllVisibleEditorTabChips()
public boolean isVisible(EditorTabChip tabChip)
public void setVisible(EditorTabChip tabChip, boolean visible)
public void setAllVisible()
public final List getAllEditorTabChips()
public List getTabGroups()
public final String getJSPURI()
Chippublic final ClipChip getDetailEditor()
public void nextTab()
protected int getNextVisibleTabPosition()
public boolean hasNextTab()
public boolean isNextTab(EditorTabChip tab)
public boolean isPreviousTab(EditorTabChip tab)
public int getTabIndex(EditorTabChip tab)
public void previousTab()
protected int getPreviousVisibleTabPosition()
public boolean hasPreviousTab()
public final void setActiveTab(int index)
public final void setActiveTab(String name, int index)
setActiveTab(int)).public EditorTabChip getTabByName(String name)
EditorTabChip with the given name (whether it is visible or not). Returns null if no tab
with this name exists.public final void setActiveTab(EditorTabChip tabChip)
protected void changeTab(EditorTabChip chipFrom, EditorTabChip chipTo)
public boolean canSelectTab(EditorTabChip tab)
tab - the tab to jump topublic final int getActiveTabIndex()
public final EditorTabChip getActiveTab()
protected ItemChip getItemChip()
public void checkValid()
AbstractChipcheckValid in interface ChipcheckValid in class AbstractChippublic boolean hideEssentials()
true if the current active tab is instance of TabChip and its
TabChip.hideEssentials() method returns true public boolean hasEssentials()
ItemChip.hasEssentials().public GenericEssentialsEditorChip getEssentials()
ItemChip.getEssentials().public boolean isPartOf()
public void setPartOf(boolean partOf)
partOf - public boolean isWizard()
GenericItemChip.isWizard().Copyright © 2017 SAP SE. All Rights Reserved.