|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.io.File
|
+--fri.gui.swing.polytreetable.samples.FileTreeTable.FileTreeTableUserObject
The PolyTreeTableUserObject, extending java.io.File. This class renders and edits properties of File. It enumerates parents considering UNIX symbolic links, showing them as additional parents.
| Field Summary | |
static int |
DATE_COLUMN
|
static java.lang.String |
DATE_COLUMN_STRING
|
static int |
HIDDEN_COLUMN
|
static java.lang.String |
HIDDEN_COLUMN_STRING
|
static int |
NAME_COLUMN
|
static java.lang.String |
NAME_COLUMN_STRING
|
static int |
PATH_COLUMN
|
static java.lang.String |
PATH_COLUMN_STRING
|
static int |
READ_COLUMN
|
static java.lang.String |
READ_COLUMN_STRING
|
static int |
SIZE_COLUMN
|
static java.lang.String |
SIZE_COLUMN_STRING
|
static int |
WRITE_COLUMN
|
static java.lang.String |
WRITE_COLUMN_STRING
|
| Fields inherited from class java.io.File |
pathSeparator, pathSeparatorChar, separator, separatorChar |
| Constructor Summary | |
FileTreeTable.FileTreeTableUserObject(java.io.File file)
|
|
FileTreeTable.FileTreeTableUserObject(java.lang.String path)
|
|
| Method Summary | |
boolean |
getAllowsChildren()
Returns true if the receiver allows children, i.e. it is a "child folder". |
boolean |
getAllowsParents()
Returns true if the receiver allows parents, i.e. it is a "parent folder". |
java.lang.Object |
getChildAt(int index)
Returns the child object at given index of this userObject. |
int |
getChildCount()
Returns the number of children of this userObject. |
java.lang.Class |
getColumnClass(int column)
Returns the class for given column. |
int |
getColumnCount()
Returns the number of columns for this userObject. |
java.lang.String |
getColumnName(int column)
Returns the name for given column. |
java.lang.Object |
getColumnObject(int column)
Returns the Object for given column from this userObject. |
java.lang.Object |
getParentAt(int index)
Returns the parent object at given index of this userObject. |
int |
getParentCount()
Returns the number of parents of this userObject. |
boolean |
isColumnEditable(int column)
Returns true if column can be edited. |
java.lang.Object |
setColumnObject(int column,
java.lang.Object aValue)
Sets the the given column Object into this userObject. |
| Methods inherited from class java.io.File |
canRead, canWrite, compareTo, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getName, getParent, getParentFile, getPath, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setLastModified, setReadOnly, toString, toURI, toURL |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int NAME_COLUMN
public static final java.lang.String NAME_COLUMN_STRING
public static final int PATH_COLUMN
public static final java.lang.String PATH_COLUMN_STRING
public static final int DATE_COLUMN
public static final java.lang.String DATE_COLUMN_STRING
public static final int SIZE_COLUMN
public static final java.lang.String SIZE_COLUMN_STRING
public static final int READ_COLUMN
public static final java.lang.String READ_COLUMN_STRING
public static final int WRITE_COLUMN
public static final java.lang.String WRITE_COLUMN_STRING
public static final int HIDDEN_COLUMN
public static final java.lang.String HIDDEN_COLUMN_STRING
| Constructor Detail |
public FileTreeTable.FileTreeTableUserObject(java.lang.String path)
public FileTreeTable.FileTreeTableUserObject(java.io.File file)
| Method Detail |
public boolean isColumnEditable(int column)
isColumnEditable in interface PolyTreeTableUserObjectpublic java.lang.Object getColumnObject(int column)
getColumnObject in interface PolyTreeTableUserObject
public java.lang.Object setColumnObject(int column,
java.lang.Object aValue)
setColumnObject in interface PolyTreeTableUserObjectpublic int getColumnCount()
getColumnCount in interface PolyTreeTableUserObjectpublic java.lang.Class getColumnClass(int column)
getColumnClass in interface PolyTreeTableUserObjectpublic java.lang.String getColumnName(int column)
getColumnName in interface PolyTreeTableUserObjectpublic int getChildCount()
getChildCount in interface PolyTreeTableUserObjectpublic java.lang.Object getChildAt(int index)
getChildAt in interface PolyTreeTableUserObjectpublic int getParentCount()
getParentCount in interface PolyTreeTableUserObjectpublic java.lang.Object getParentAt(int index)
getParentAt in interface PolyTreeTableUserObjectpublic boolean getAllowsParents()
getAllowsParents in interface PolyTreeTableUserObjectpublic boolean getAllowsChildren()
getAllowsChildren in interface PolyTreeTableUserObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||