static class FcmdLeftMidRightPanel.FcmdFavorThemeCard extends GralSelectList
GralWidgetBase.GralWidgComposite, GralWidgetBase.TimeOrderCreateImplWidget
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 |
actions, keyLeft, keyLeft2, keyRight, keyRight2, version, wdgdTable
_cdata, _wdgPos, bVisibleState, gralMng, name, pixSize, sVersion
Constructor and Description |
---|
FcmdFavorThemeCard(GralPos refPos,
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() |
boolean |
createImplWidget_Gthread()
This operation is called to create the implementation widget appearance.
|
void |
setFocus()
Sets the focus of the associated table widget.
|
void |
setFocus(int delay,
int latest) |
void |
setFocused(boolean bGained)
This operation should be called from the implementation graphic
if the focus was changed for an implementation widget by user handling.
|
getFocusedWidget, isInFocus, isVisible, remove, removeImplWidget_Gthread, set, setFocusedWidget, setLeftRightKeys, setLeftRightKeys, setVisible, XXXXsetToPanel
checkImplWidgetCreation, createImplWidget, getImplAccess, getName, gralMng, hasFocus, pos, resizePostPreparation, toString, toString
private final FcmdLeftMidRightPanel mainPanel
java.util.Map<java.lang.String,FcmdFavorPathSelector.FavorFolder> indexFavorFolders
GralUserAction actionFavorThemeLineSelected
public FcmdFavorThemeCard(GralPos refPos, Fcmd main, java.lang.String name, FcmdLeftMidRightPanel panel)
public boolean createImplWidget_Gthread()
GralWidgetBase
GralWidget
by the default behavior.
Or it should be overridden in instances which are not derived from GralWidget itself,
on instances of comprehensive widgets.
This implementation is only called in GralWidget.createImplWidget_Gthread()
for composite widgets.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 void setFocus()
GralSelectList
setFocus
in interface GralWidgetBase_ifc
setFocus
in class GralSelectList
public void setFocus(int delay, int latest)
setFocus
in interface GralWidgetBase_ifc
setFocus
in class GralSelectList
void clear()
public void setFocused(boolean bGained)
GralWidgetBase
setFocused
in interface GralWidgetBase_ifc
setFocused
in class GralWidgetBase
bGained
- false then lost.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)