public static class GralFileSelector.FavorPath
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private FileRemote |
dir
Origin dir adequate
path. |
FileCluster |
fileCluster |
int |
mMainPanel
bit 0..2 present this favorite on the designated main panel 1..3 or l, m, r,
it means, a tab with the label will be created.
|
java.lang.String |
path
The path of directory to select.
|
protected java.lang.String |
sCurrDir |
java.lang.String |
selectName
The name shown in the list.
|
| Constructor and Description |
|---|
FavorPath(java.lang.String selectName,
FileRemote fileStart)
Creates a FavorPath with given file
|
FavorPath(java.lang.String selectName,
java.lang.String path,
FileCluster fileCluster)
Creates a Favor with string given directory path, should be existing.
|
| Modifier and Type | Method and Description |
|---|---|
FileRemote |
getOriginDir()
Returns the dir instance for the origin path.
|
java.lang.String |
toString() |
public java.lang.String path
public final java.lang.String selectName
protected java.lang.String sCurrDir
public final FileCluster fileCluster
public int mMainPanel
private FileRemote dir
path. It is null on initialization, but build on call of
getOriginDir().public FavorPath(java.lang.String selectName,
FileRemote fileStart)
selectName - fileStart - it is is a directory, its path is used, else the directory of the file.public FavorPath(java.lang.String selectName,
java.lang.String path,
FileCluster fileCluster)
selectName - path - it can be especially from a configuration file.fileCluster - public FileRemote getOriginDir()
public java.lang.String toString()
toString in class java.lang.Object