|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectecologylab.generic.Debug
ecologylab.xml.ElementState
ecologylab.appframework.types.prefs.MetaPref<java.io.File>
ecologylab.appframework.types.prefs.MetaPrefFile
public class MetaPrefFile
Metadata about a File Preference. Defines information to enable editing the Preference.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ecologylab.xml.ElementState |
|---|
ElementState.ClassToCollectionMap, ElementState.DeclarationStyle, ElementState.xml_attribute, ElementState.xml_class, ElementState.xml_classes, ElementState.xml_collection, ElementState.xml_leaf, ElementState.xml_map, ElementState.xml_nested, ElementState.xml_tag |
| Field Summary | |
|---|---|
static int |
ABSOLUTE_PATH
Indicates that value is an absolute path. |
static int |
APP_DATA_DIR
Indicates that value is a path relative to the data directory associated with the application using this Pref. |
static int |
CODE_BASE
Indicates that value is a path relative to the codebase of the application using this Pref. |
static ScalarType |
FILE_SCALAR_TYPE
|
| Fields inherited from class ecologylab.xml.ElementState |
|---|
CDATA, ESTIMATE_CHARS_PER_FIELD, FLOATING_PRECISION_OFF, MARSHALLING_PARAMS, NORMAL, UTF16, UTF16_LE, UTF8, XML_FILE_HEADER |
| Fields inherited from interface ecologylab.appframework.types.prefs.WidgetTypes |
|---|
CHECK_BOX, COLOR_CHOOSER, DROP_DOWN, FILE_CHOOSER, RADIO_BUTTONS, SLIDER, SPINNER, TEXT_AREA, TEXT_FIELD |
| Fields inherited from interface ecologylab.xml.XMLTranslationExceptionTypes |
|---|
FILE_NOT_FOUND, IO_EXCEPTION, NULL_PURL, UNKNOWN |
| Constructor Summary | |
|---|---|
MetaPrefFile()
Instantiate. |
|
| Method Summary | |
|---|---|
java.io.File |
getDefaultValue()
Gets the default value of a MetaPref. |
java.io.File |
getMaxValue()
Get max value; returns null for this type. |
java.io.File |
getMinValue()
Get min value; returns null for this type. |
protected Pref<java.io.File> |
getPrefInstance()
Construct a new instance of the Pref that matches this. |
| Methods inherited from class ecologylab.appframework.types.prefs.MetaPref |
|---|
getAssociatedPref, getCategory, getChoiceByIndex, getChoiceByValue, getChoiceNameByIndex, getChoiceNameByValue, getChoices, getDefaultPrefInstance, getDescription, getHelpText, getID, getIndexByChoice, getIndexByValue, getInstance, getInstance, getValueChangedListener, hasChoices, lookup, print, setValueChangedListener, setValueChangedListener, widgetIsCheckBox, widgetIsColorChooser, widgetIsDropDown, widgetIsFileChooser, widgetIsRadio, widgetIsSlider, widgetIsSpinner, widgetIsTextField |
| Methods inherited from class ecologylab.generic.Debug |
|---|
classSimpleName, closeLoggingFile, debug, debug, debug, debug, debugA, debugA, debugA, debugI, debugI, debugI, error, error, getClassName, getClassName, getInteractive, getPackageName, getPackageName, getPackageName, initialize, level, level, level, logToFile, print, print, println, println, println, println, println, println, printlnA, printlnA, printlnA, printlnI, printlnI, printlnI, printlnI, setLoggingFile, show, show, superString, toggleInteractive, toString, toString, warning, warning, weird, weird |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ABSOLUTE_PATH
public static final int CODE_BASE
public static final int APP_DATA_DIR
public static final ScalarType FILE_SCALAR_TYPE
| Constructor Detail |
|---|
public MetaPrefFile()
| Method Detail |
|---|
public java.io.File getDefaultValue()
getDefaultValue in class MetaPref<java.io.File>protected Pref<java.io.File> getPrefInstance()
getPrefInstance in class MetaPref<java.io.File>public java.io.File getMaxValue()
getMaxValue in class MetaPref<java.io.File>public java.io.File getMinValue()
getMinValue in class MetaPref<java.io.File>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||