public class FcmdFavorCard extends GralSelectList<org.vishia.commander.FcmdFavorPathSelector.FavorPath>
Constructor and Description |
---|
FcmdFavorCard(Fcmd main,
java.lang.String name,
FcmdFileCard fileTable,
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.
|
boolean |
remove()
Removes this file card with its widgets and data.
|
boolean |
setFocus()
Overrides the
GralFileSelector.setFocus() and calls him, before that sets the color
of the current line of table of all 3 current file panels to the 3-stage color
to see which table has the focus. |
java.lang.String |
toString() |
createImplWidget_Gthread, set, setLeftRightKeys, XXXsetToPanel
public FcmdFavorCard(Fcmd main, java.lang.String name, FcmdFileCard fileTable, FcmdLeftMidRightPanel panel)
protected void actionLeft(java.lang.Object userData, GralTableLine_ifc line)
GralSelectList
actionLeft
in class GralSelectList<org.vishia.commander.FcmdFavorPathSelector.FavorPath>
userData
- The user data stored in the line of table.protected boolean actionOk(java.lang.Object userData, GralTableLine_ifc line)
GralSelectList
actionOk
in class GralSelectList<org.vishia.commander.FcmdFavorPathSelector.FavorPath>
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<org.vishia.commander.FcmdFavorPathSelector.FavorPath>
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<org.vishia.commander.FcmdFavorPathSelector.FavorPath>
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)
public boolean remove()
remove
in interface Removeable
remove
in class GralSelectList<org.vishia.commander.FcmdFavorPathSelector.FavorPath>
public boolean setFocus()
GralFileSelector.setFocus()
and calls him, before that sets the color
of the current line of table of all 3 current file panels to the 3-stage color
to see which table has the focus.setFocus
in class GralSelectList<org.vishia.commander.FcmdFavorPathSelector.FavorPath>
public java.lang.String toString()
toString
in class java.lang.Object