public class TableAttributeBrowseController extends BrowseController
| Modifier and Type | Field and Description |
|---|---|
protected Div |
browserParent |
static String |
ON_SELECTED_ITEM_CHANGE |
activeNavigator, clipboard, contextMenu, layoutService, navigatorClasses, navigators, typeService| Constructor and Description |
|---|
TableAttributeBrowseController() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createBrowserContextMenu(Div browserParent)
Method that created context menu for browser
|
protected Div |
createBrowserParent(Borderlayout parentLayout)
Method that will prepare centerArea to display navigator content
|
Toolbar |
createToolbar(North buttonsToolbar,
Div browserParent)
Creates toolbar elements for source browser area.
|
protected List |
getContentToCopy()
Provides the content list to be copied or moved to clipboard.
|
TypedObject |
getSelectedItemType() |
protected void |
otherKeyPressed(KeyBinding kb,
GlobalKeyEvent evt)
Called for any key binding but COPY, PASTE, MOVE or DELETE.
|
protected void |
performDelete(List content)
Called upon delete key binding fired
|
protected void |
performPaste(List content,
int action)
Called upon paste key binding fired
|
void |
performSearch(Textbox searchTextbox,
Div browserParent)
Performs search on active navigator if searchable, or selects first available searchable navigator
|
void |
setSelectedItemType(TypedObject selectedItemType) |
void |
viewCreated(Borderlayout borderlayout)
Initial show for the area.
|
gainFocus, getClipboard, getContextMenu, performRefresh, setClipboard, setLayoutService, setNavigatorClasses, setTypeServicecopyPressed, copyToClipboard, deletePressed, focusChanged, keyPressed, movePressed, moveToClipboard, pastePressed, setFocusableComponentpublic static final String ON_SELECTED_ITEM_CHANGE
protected transient Div browserParent
public void viewCreated(Borderlayout borderlayout)
Events#ON_SELECT event that is
responsible for creating preview in the previewArea.viewCreated in class BrowseControllerprotected void createBrowserContextMenu(Div browserParent)
BrowseControllercreateBrowserContextMenu in class BrowseControllerprotected Div createBrowserParent(Borderlayout parentLayout)
BrowseControllercreateBrowserParent in class BrowseControllerpublic Toolbar createToolbar(North buttonsToolbar,
Div browserParent)
createToolbar in class BrowseControllerprotected List getContentToCopy()
AbstractKeyEnabledControllergetContentToCopy in class AbstractKeyEnabledControllerprotected void otherKeyPressed(KeyBinding kb, GlobalKeyEvent evt)
AbstractKeyEnabledControllerotherKeyPressed in class AbstractKeyEnabledControllerkb - the key binding we've got a event forevt - the key eventprotected void performDelete(List content)
AbstractKeyEnabledControllerperformDelete in class AbstractKeyEnabledControllercontent - the content from AbstractKeyEnabledController.getContentToCopy()protected void performPaste(List content, int action)
AbstractKeyEnabledControllerperformPaste in class AbstractKeyEnabledControllercontent - the content from AbstractKeyEnabledController.getContentToCopy()action - the action code from the actual key eventpublic void performSearch(Textbox searchTextbox,
Div browserParent)
performSearch in class BrowseControllerpublic TypedObject getSelectedItemType()
public void setSelectedItemType(TypedObject selectedItemType)
selectedItemType - the selectedItemType to setCopyright © 2017 SAP SE. All Rights Reserved.