|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecte4s.util.E4Object
e4s.application.sysmodule.E4DirEntry
public class E4DirEntry
Element for directory contents (file listings).
E4ModuleFileselection,
E4DirEntryDefaultImages| Field Summary | |
|---|---|
static int |
COLUMN_DATE
Image last modified |
static int |
COLUMN_DELETE
Image Delete possibility |
static int |
COLUMN_DUMMY_FILLER
Filler column |
static int |
COLUMN_FILETYPE
Directory or Image Type |
static int |
COLUMN_HIDDEN_IS_DIRECTORY
Hidden column for directory flag |
static int |
COLUMN_IMAGE_SELECTED
Selection Flag (Image) |
static int |
COLUMN_NAME
Image Name |
static int |
COLUMN_PREVIEW
Preview possibility |
static int |
COLUMN_SIZE
Image Size |
| Fields inherited from class e4s.util.E4Object |
|---|
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET |
| Fields inherited from interface e4s.html.list.E4SortedList_Intf |
|---|
PRIMARY_SORT_BOTTOM, PRIMARY_SORT_MIDDLE, PRIMARY_SORT_TOP |
| Constructor Summary | |
|---|---|
E4DirEntry(E4ServletImplementation_Intf servlet)
|
|
E4DirEntry(E4ServletImplementation_Intf servlet,
java.io.File f)
|
|
| Method Summary | |
|---|---|
static java.lang.String |
_getSVNVersionString()
Get version info string from subversion. |
boolean |
canSelect()
In the case, that an action method is defined for the header, check if this element can be selected. |
int |
compareTo(E4DirEntry element,
int column)
Compares this object with another object in the specified column. |
int |
compareTo(E4SortedList_Intf element,
int column)
Compare a particular column with another element. |
E4Color |
getBgColor()
Get the background color for this row. |
java.lang.String |
getData4Parameter(int col)
Get the data to be used as parameter for the specified column. |
boolean |
getDefault()
|
java.lang.String |
getFilename()
|
IMG |
getImageDelete()
|
IMG |
getImageFiletype()
|
IMG |
getImagePreview()
|
long |
getLastmodified()
|
int |
getPrimarySort()
Get the primary sort value. |
long |
getSize()
|
boolean |
isDirectory()
|
void |
set(java.io.File f)
|
void |
setCanSelect(boolean selection)
|
void |
setDefault(boolean mode)
|
void |
setDelete(boolean mode)
|
void |
setPreview(boolean mode)
|
java.lang.String |
toHtml(int col,
E4SortedListColumn dummy,
E4ServletImplementation_Intf servlet)
Get the data for the specified column. |
| Methods inherited from class e4s.util.E4Object |
|---|
Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, toString, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int COLUMN_FILETYPE
e4s.html.DirEntry_Default,
Constant Field Valuespublic static final int COLUMN_PREVIEW
public static final int COLUMN_NAME
public static final int COLUMN_IMAGE_SELECTED
public static final int COLUMN_SIZE
public static final int COLUMN_DATE
public static final int COLUMN_DELETE
public static final int COLUMN_DUMMY_FILLER
public static final int COLUMN_HIDDEN_IS_DIRECTORY
| Constructor Detail |
|---|
public E4DirEntry(E4ServletImplementation_Intf servlet)
public E4DirEntry(E4ServletImplementation_Intf servlet,
java.io.File f)
| Method Detail |
|---|
public void set(java.io.File f)
public int compareTo(E4SortedList_Intf element,
int column)
E4SortedList_Intf
compareTo in interface E4SortedList_Intfelement - the second element to compare withcolumn - column count starts at 0, and is 1 below the number specified on the Constructor
public void setPreview(boolean mode)
public void setDelete(boolean mode)
public int compareTo(E4DirEntry element,
int column)
element - the other objectcolumn - the column to be compared
public java.lang.String toHtml(int col,
E4SortedListColumn dummy,
E4ServletImplementation_Intf servlet)
throws java.lang.Exception
toHtml in interface E4SortedList_Intfcol - the specified column, starting with 0
java.lang.Exceptionpublic java.lang.String getFilename()
public long getLastmodified()
public long getSize()
public IMG getImageFiletype()
public IMG getImagePreview()
public IMG getImageDelete()
public boolean isDirectory()
public E4Color getBgColor()
E4SortedList_Intf
getBgColor in interface E4SortedList_Intfpublic int getPrimarySort()
E4SortedList_IntfE4SortedList_Intf.PRIMARY_SORT_TOP) or at the bottom
of the table (E4SortedList_Intf.PRIMARY_SORT_BOTTOM. All other rows must have a value
of E4SortedList_Intf.PRIMARY_SORT_MIDDLE. Sorting also works within the groupings.
getPrimarySort in interface E4SortedList_IntfE4SortedList_Intf.PRIMARY_SORT_TOP,
E4SortedList_Intf.PRIMARY_SORT_MIDDLE,
E4SortedList_Intf.PRIMARY_SORT_BOTTOMpublic void setDefault(boolean mode)
public boolean getDefault()
public void setCanSelect(boolean selection)
public boolean canSelect()
E4SortedList_Intf
canSelect in interface E4SortedList_Intfpublic java.lang.String getData4Parameter(int col)
E4SortedList_Intf
getData4Parameter in interface E4SortedList_Intfcol - the specified column, starting with 0
public static java.lang.String _getSVNVersionString()
E4Util.getRevisionCodeFromSVN(Class)
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||