static class FcmdLeftMidRightPanel.FcmdFavorThemeCard extends GralSelectList
Modifier and Type | Field and Description |
---|---|
(package private) GralUserAction |
actionFavorThemeLineSelected
Action is called any time if a line was focused in the favor theme table.
|
(package private) java.util.Map<java.lang.String,FcmdFavorPathSelector.FavorFolder> |
indexFavorFolders
Index of all entries in the visible list.
|
private FcmdLeftMidRightPanel |
mainPanel |
Constructor and Description |
---|
FcmdFavorThemeCard(Fcmd main,
java.lang.String name,
FcmdLeftMidRightPanel panel) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionLeft(java.lang.Object userData,
GralTableLine_ifc line)
Action if a table line is selected and ctrl-left is pressed or the release button is pressed.
|
protected boolean |
actionOk(java.lang.Object userData,
GralTableLine_ifc line)
Action if a table line is selected and entered.
|
protected void |
actionRight(java.lang.Object userData,
GralTableLine_ifc line)
Action if a table line is selected and ctrl-right is pressed or the release button is pressed.
|
protected boolean |
actionUserKey(int key,
java.lang.Object userData,
GralTableLine_ifc line)
Handle the keys for the JavaCommander-Selection of favorites
sh-F1 .. shF3: activates fileSelector for left, middle and right panel.
|
(package private) void |
addFavorFolder(FcmdFavorPathSelector.FavorFolder favorTabInfo)
Adds a line to this table.
|
(package private) void |
clear() |
void |
createImplWidget_Gthread() |
boolean |
setFocus()
Sets the focus of the associated table widget.
|
remove, set, setLeftRightKeys, XXXsetToPanel
private final FcmdLeftMidRightPanel mainPanel
java.util.Map<java.lang.String,FcmdFavorPathSelector.FavorFolder> indexFavorFolders
GralUserAction actionFavorThemeLineSelected
public FcmdFavorThemeCard(Fcmd main, java.lang.String name, FcmdLeftMidRightPanel panel)
public void createImplWidget_Gthread()
createImplWidget_Gthread
in class GralSelectList
void addFavorFolder(FcmdFavorPathSelector.FavorFolder favorTabInfo)
ix
- Show which index is used for a local table, 0..2 for left, mid, right,
than show the label in the left cell (column)favorTabInfo
- The favorite infopublic boolean setFocus()
GralSelectList
setFocus
in class GralSelectList
void clear()
protected boolean actionOk(java.lang.Object userData, GralTableLine_ifc line)
GralSelectList
actionOk
in class GralSelectList
userData
- The user data stored in the line of table.protected void actionLeft(java.lang.Object userData, GralTableLine_ifc line)
GralSelectList
actionLeft
in class GralSelectList
userData
- The user data stored in the line of table.protected void actionRight(java.lang.Object userData, GralTableLine_ifc line)
GralSelectList
actionRight
in class GralSelectList
userData
- The user data stored in the line of table.protected boolean actionUserKey(int key, java.lang.Object userData, GralTableLine_ifc line)
actionUserKey
in class GralSelectList
key
- code or mouse code, one of constans from KeyCode
.userData
- The user data stored in the line of table.line
- The table line.GralSelectList.actionUserKey(int, java.lang.Object, org.vishia.gral.ifc.GralTableLine_ifc)