public class OrganizerListChip extends GenericItemSearchListChip implements NamedChip, ChipEventListener
| Modifier and Type | Field and Description |
|---|---|
static String |
CANCEL |
static String |
CLEAR_ALL |
static String |
COPY |
static String |
COPY_TO_CREATOR |
static String |
DELETE
Deprecated.
since 2.30
GenericItemListChip.REMOVE is used |
static String |
EDIT_MODE |
static String |
MODE |
static String |
NAME |
static String |
OPEN_EXPLORER |
static String |
ORDER_ASC |
static String |
ORDER_DESC |
static String |
SAVE |
static String |
SAVE_ALL |
static String |
SAVE_NEEDED |
static String |
SELECT_EXACTLYONE |
FIRST_PAGE, ITEMS_PER_PAGE, LAST_PAGE, maxDisplayEntryHeight, NEXT_PAGE, PREVIOUS_PAGE, RANGESTART, REFRESH, SEARCHRESULTACTION, SORT, TOGGLEADD, COPY_EVENT, CREATE, DELETE_ICON, DELETE_NEW_ENTRY, LOG, OPEN_EDITOR, OPEN_EDITOR_EXTERNAL, OPEN_EDITOR_INTERNAL, REMOVE, SELECT_ALL, SELECT_VISIBLECHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
OrganizerListChip(DisplayState displayState,
Chip parent,
AbstractSearchContainer container) |
OrganizerListChip(DisplayState displayState,
Chip parent,
ComposedType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreate() |
boolean |
canRemove() |
protected void |
changeItemsPerPage(String value) |
protected boolean |
checkSaveNeeded() |
protected void |
copyToClipboard() |
protected void |
copyToCreator() |
protected GenericItemListEntryChip |
createListEntryChip(Item item)
Depending on whether the entries of this list should be editable a
GenericItemListEntryChip or an
EditableItemListEntryChip will be created. |
AbstractToolbarChip |
createToolbar() |
protected void |
delete() |
ListOperationChip |
getActiveOperationChip() |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
int |
getMaxEntryHeight()
Returns the maximum height (in pixels) of a list entry.
|
List |
getMenuEntries()
Here you can specify what Actions you are able to perform at the moment.
|
int |
getMode() |
String |
getName() |
protected List |
getNumberColumns() |
ListOperationChip[] |
getOperationChips() |
protected OrganizerChip |
getOrganizerChip() |
List |
getSearchableColumns() |
List |
getSelectedListEntries() |
boolean |
isChanged()
Returns true if at least one of the (editable) entries has been changed.
|
boolean |
isEditable() |
boolean |
isEditing() |
boolean |
isExplorable() |
boolean |
isScrollHeader() |
void |
notify(ChipEvent event)
This method will receive the dropdown menu events (list/edit/tree mode selection).
|
protected void |
openEditor() |
protected void |
openEditor(boolean external) |
void |
processEvents(Map<String,List<String>> events)
Handles all incoming requests for this chip.
|
void |
save() |
protected void |
setActiveOperationChip(ListOperationChip chip) |
boolean |
showScrollbar() |
boolean |
update() |
boolean |
update(boolean preserveTreeState) |
getAdditionalColumnProvider, getComparator, getConditionsAsString, getHeightDiff, getItemCount, getItemsPerPageAsInt, getItemsPerPageDefault, getItemsPerPageList, getMaxItemsPerPage, getMaxItemsPerPageDefault, getMaxListHeight, getMinListHeight, getProposedUniqueName, getRangeStart, getRestrictor, getSearchContainer, getSearchCount, getSearchResultActionChipByName, getSearchResultActionChips, getSortAttributeQualifier, getSortDirection, getSortOrderIdentifier, getTypeName, hasComparator, isExpanded, isNewSearch, isSortable, setAdditionalColumnProvider, setComparator, setExpanded, setMaxItemsPerPage, setRangeStart, setRestrictor, setSearchContainer, setSortAttributeQualifier, setSortDirection, switchSortDirectionaddCreationPreset, addSearchPreset, allowsMultipleSelection, canAdd, canPaste, clearListEntries, clearSelectedListEntries, createNewItemEntry, createNewItemEntry, entriesEditable, getAssignableItemsFromClipboard, getCreationPresetQualifiers, getCreationPresets, getEditorNode, getElementTypes, getEntry, getEntryForItem, getIndexOf, getItemNotValidErrorMessage, getMaxCount, getNewItemEntry, getPresetAttributeName, getPresetSearchType, getRestrictedListEntries, getSearchEditor, getSearchPresets, getVisibleQualifiers, getWidth, isAllSelected, isAutoPerform, isAutoPerform, isAutoSave, isConsiderSubtypes, isExternalCreate, isExternalCreate, isMarkedAsMandatory, isPartOfAttribute, isProhibitOpening, isSelectVisible, mandatoryNotAccessible, mandatoryNotAccessible, notifyAttributeValueChange, refreshEntries, saveNewItemEntry, setAutoPerform, setAutoSave, setCanAdd, setCanRemove, setConsiderSubtypes, setCreate, setElementType, setElementTypes, setEntriesEditable, setExternalCreate, setMaxCount, setNewItemEntry, setPresetAttributeName, setPresetSearchType, setProhibitOpening, setSearchEditor, setSelectedItems, setSelectVisible, setWidth, showSearchEditor, subTypesVisiblecheckValid, getAttributeNodes, getAttributeWidths, getChildNodes, getHeaderCount, getHeaderQualifiers, getItemLayoutNode, getItemType, getTitle, getToolbar, hasFancyRows, setItemLayoutNode, setItemTypeaddListEntry, addSelectedListEntries, addSelectedListEntry, getListEntries, getListEntryCount, getPosition, getSelectedListEntryCount, isListEntrySelected, isMultipleSelectionAllowed, moveDown, moveUp, removeListEntry, setFancyRows, setMultipleSelection, setMultipleSelectionAllowed, sort, sortaddEventListener, 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 final String CANCEL
public static final String CLEAR_ALL
public static final String COPY
public static final String COPY_TO_CREATOR
public static final String EDIT_MODE
public static final String MODE
public static final String NAME
public static final String OPEN_EXPLORER
public static final String ORDER_ASC
public static final String ORDER_DESC
public static final String SAVE
public static final String SAVE_ALL
public static final String SAVE_NEEDED
public static final String SELECT_EXACTLYONE
@Deprecated public static final String DELETE
GenericItemListChip.REMOVE is usedpublic OrganizerListChip(DisplayState displayState, Chip parent, AbstractSearchContainer container)
public OrganizerListChip(DisplayState displayState, Chip parent, ComposedType type)
protected GenericItemListEntryChip createListEntryChip(Item item)
GenericItemListChipGenericItemListEntryChip or an
EditableItemListEntryChip will be created.createListEntryChip in class GenericItemListChipitem - the Item for which to create the list entryprotected boolean checkSaveNeeded()
protected void delete()
protected void changeItemsPerPage(String value)
protected void copyToCreator()
public void processEvents(Map<String,List<String>> events)
ChipprocessEvents in interface ChipprocessEvents in class GenericItemSearchListChippublic int getMode()
getMode in class GenericItemListChipprotected void openEditor()
openEditor in class GenericItemListChipprotected void openEditor(boolean external)
openEditor in class GenericItemListChipexternal - if true the editor will be opened in a new windowpublic String getJSPURI()
ChipgetJSPURI in interface ChipgetJSPURI in class GenericItemSearchListChippublic boolean canCreate()
canCreate in class GenericItemSearchListChippublic boolean canRemove()
canRemove in class GenericItemSearchListChippublic void save()
save in class GenericItemListChippublic boolean showScrollbar()
public boolean isEditing()
public List getSelectedListEntries()
getSelectedListEntries in class GenericItemSearchListChippublic boolean isExplorable()
public ListOperationChip[] getOperationChips()
public ListOperationChip getActiveOperationChip()
public List getSearchableColumns()
protected List getNumberColumns()
protected void setActiveOperationChip(ListOperationChip chip)
public boolean isEditable()
isEditable in class GenericItemListChippublic boolean isChanged()
GenericItemListChipisChanged in class GenericItemListChippublic boolean update()
update in class GenericItemSearchListChippublic boolean update(boolean preserveTreeState)
protected void copyToClipboard()
protected OrganizerChip getOrganizerChip()
public AbstractToolbarChip createToolbar()
createToolbar in interface ToolbarProvidercreateToolbar in class GenericItemSearchListChippublic int getMaxEntryHeight()
getMaxEntryHeight in class GenericItemSearchListChippublic List getMenuEntries()
AbstractChipgetMenuEntries in interface ChipgetMenuEntries in class GenericItemSearchListChipAbstractChip.getMenuEntries()public void notify(ChipEvent event)
notify in interface ChipEventListenerpublic boolean isScrollHeader()
Copyright © 2017 SAP SE. All Rights Reserved.