public class FcmdFileCard extends GralFileSelector
FcmdFavorPathSelector.bSyncMidRight
then
syncWithSecondPanel(String)
is called with the filename. Therewith the same file
in the second panel (middle or right) will be selected if it exists. If an existing directory
is selected, the other file card follows it if it exists. So the user can walk through two file trees
which have the same structure, but maybe some different content. It is proper for comparison.
GralFileSelector.FileSelectList, GralFileSelector.MenuTexts, GralFileSelector.WindowConfirmSearch
GralWidget.ActionChangeSelect, GralWidget.ConfigData, GralWidget.DynamicData, GralWidget.ImplAccess
GralWidget_ifc.ActionChange, GralWidget_ifc.ActionChangeWhen
Modifier and Type | Field and Description |
---|---|
static int |
version
Version, history and license
2012-03-09 Hartmut new: Now the synchronization between 2 panels works independent of
the comparison with a improved algorithm.
|
actionOnFileSelected, callbackChildren1, contextMenuTexts, currentDir, currentFile, durationFillin, durationRefresh, favorList, kColDate, kColDesignation, kColFilename, kColLength, kSortDateNewest, kSortDateOldest, kSortExtension, kSortExtensionNonCase, kSortName, kSortNameNonCase, kSortSizeLargest, kSortSizeSmallest, refreshCount, selectList, showTime, sVersion, timeFilesRefreshed, timeFillinFinished, timeFillinInvoked, widgBtnFavor, widgdPathDir, windSearch, zColumns
_wdgImpl, bEditable, bHasFocus, bShouldInitialize, buildMng, bVisibleState, cfg, contextMenu, dateUser, dyda, htmlHelp, itsMng, name, repaintDelay, repaintDelayMax, sCmd, sFormat, sToolTip, whatIs
Modifier and Type | Method and Description |
---|---|
protected void |
actionOnFileSelection(FileRemote file,
java.lang.String sFileName)
This routine is invoked from
actionOnFileSelection action listener whenever a file in any file card
will be selected (key up, down, mouse click etc.). |
boolean |
actionUserKey(int keyCode,
java.lang.Object oData,
GralTableLine_ifc line)
This method is called on any user key or mouse event while operating in the file table.
|
boolean |
remove()
Removes this file card with its widgets and data.
|
void |
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()
Especially for test and debug, short info about widget.
|
buildKey, checkRefresh, createImplWidget_Gthread, createWindowConfirmSearchGthread, currentDir, currentFile, fillIn, fillInCurrentDir, fillInOriginDir, forcefillIn, getCurrentDir, getCurrentDirPath, getSelectedFiles, selectFile, setActionOnEnterDirectory, setActionOnEnterFile, setActionOnEnterPathNewFile, setActionSetFileLineAttrib, setDateFormat, setNameWidget, setOriginDir, setSortOrder, setSortOrderFiles, setVisible, specifyActionOnFileSelected, XXXgetSelectedFile
chgPos, clearShowParam, getActionChange, getActionChangeStrict, getActionDrag, getActionDrop, getActionFocused, getActionShow, getBackColor, getCfgElement, getCmd, getCmd, getContentIdent, getContextMenu, getData, getDataIx, getDataPath, getDataPath, getFloatValue, getFormat, getGralWidget, getHtmlHelp, getImpl, getItsPanel, getLongValue, getName, getShowMethod, getShowParam, getsToolTip, getText, getValue, getVariable, getVariableFromContentInfo, gralMng, isChanged, isEditable, isGraphicDisposed, isInFocus, isNotEditableOrShouldInitialize, isVisible, pos, refreshFromVariable, refreshFromVariable, repaint, repaint, requestNewValueForVariable, setActionChange, setActionFocused, setActionMouse, setActionShow, setBackColor, setBackgroundColor, setBoundsPixel, setCfgElement, setCmd, setContentIdent, setData, setDataIx, setDataPath, setDragEnable, setDropEnable, setEditable, setFocus, setForegroundColor, setFormat, setHtmlHelp, setLineColor, setLongValue, setMinMax, setPrimaryWidgetOfPanel, setText, setTextColor, setToolTip, setValue, setValue, setValue, setValue, setVisibleState, setVisibleStateWidget, specifyActionChange, specifyContextMenu, XXXgetPixelPositionSize, XXXgetWidgetImplementation, XXXremoveWidgetImplementation, XXXrepaintGthread, XXXsetFocusGThread, XXXsetVisibleGThread
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContentInfo, setToPanel
getContentInfo, setContentInfo
public static final int version
searchCompareResult(File)
supports working with
comparison result, used to set equal if a file was copied.
protected void actionOnFileSelection(FileRemote file, java.lang.String sFileName)
actionOnFileSelection
action listener whenever a file in any file card
will be selected (key up, down, mouse click etc.).
The routine writes infos about the file and may synchronize with another file card.file
- The currently selected file.sFileName
- Text in the cell, especially ".." for the parent dir entry.public boolean actionUserKey(int keyCode, java.lang.Object oData, GralTableLine_ifc line)
GralFileSelector
actionUserKey
in class GralFileSelector
oData
- The user data stored in the line of table.line
- The table line.public boolean remove()
remove
in interface Removeable
remove
in class GralFileSelector
public void 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 interface GralWidget_ifc
setFocus
in class GralFileSelector
GralWidget_ifc.setFocus()
public java.lang.String toString()
GralWidget
toString
in class GralWidget
Object.toString()