|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jtechlabs.ui.widget.directorychooser.DirectoryChooserDefaults
Provides access to the default values of JDirectoryChooser
properties.
Field Summary | |
static java.lang.String |
PROP_ACCESS
Default access rights. |
static java.lang.String |
PROP_CANCEL_TEXT
Default text for the Cancel button of the directory chooser dialog. |
static java.lang.String |
PROP_COLLAPSED_ICON
Default icon for the collapsed node handler. |
static java.lang.String |
PROP_COPY_ICON
Default icon for the 'Copy' action button in the directory chooser dialog. |
static java.lang.String |
PROP_COPY_TEXT
Default text for the 'Copy' action. |
static java.lang.String |
PROP_CUT_ICON
Default icon for the 'Cut' action button in the directory chooser dialog. |
static java.lang.String |
PROP_CUT_TEXT
Default text for the 'Cut' action. |
static java.lang.String |
PROP_DELETE_ICON
Default icon for the 'Delete' action button in the directory chooser dialog. |
static java.lang.String |
PROP_DELETE_TEXT
Default text for the 'Delete' action. |
static java.lang.String |
PROP_DIALOG_CAPTION_TEXT
Default caption for the directory chooser dialog. |
static java.lang.String |
PROP_DIALOG_SIZE
Default size of the directory chooser dialog. |
static java.lang.String |
PROP_DIALOG_TEXT
Default information text for the directory chooser dialog. |
static java.lang.String |
PROP_DIRECTORY_ICON
Default icon for the directory nodes. |
static java.lang.String |
PROP_EXPANDED_ICON
Default icon for the expanded node handler. |
static java.lang.String |
PROP_HOME_ICON
Default icon for the 'Home' action button in the directory chooser dialog. |
static java.lang.String |
PROP_HOME_TEXT
Default text for the 'Home' action. |
static java.lang.String |
PROP_ICONS_THEME
Default icons' theme. |
static java.lang.String |
PROP_INITIAL_DIRECTORY
Default initial directory. |
static java.lang.String |
PROP_NEW_ICON
Default icon for the 'New Directory' action button in the directory chooser dialog. |
static java.lang.String |
PROP_NEW_TEXT
Default text for the 'New Directory' action. |
static java.lang.String |
PROP_OK_TEXT
Default text for the OK button of the directory chooser dialog. |
static java.lang.String |
PROP_PASTE_ICON
Default icon for the 'Paste' action button in the directory chooser dialog. |
static java.lang.String |
PROP_PASTE_TEXT
Default text for the 'Paste' action. |
static java.lang.String |
PROP_RENAME_TEXT
Default text for the 'Rename' action. |
static java.lang.String |
PROP_ROOT_ICON
Default icon for the root nodes. |
static java.lang.String |
PROP_SELECTED_DIRECTORY_ICON
Default icon for the selected directory node. |
static java.lang.String |
PROP_SIZE
Default size of the JDirectoryChooser component. |
static java.lang.String |
PROP_SYNCHRONIZE_ICON
Default icon for the 'Synchronize' action button in the directory chooser dialog. |
static java.lang.String |
PROP_SYNCHRONIZE_TEXT
Default text for the 'Synchronize' action. |
static java.lang.String |
PROP_WAIT_TEXT
Default text displayed during directory expansion process. |
Constructor Summary | |
DirectoryChooserDefaults()
|
Method Summary | |
static java.lang.Object |
getOption(java.lang.String option)
Returns the default value of the given option. |
static java.io.File |
getOptionFile(java.lang.String option)
Returns the default value of the given option. |
static javax.swing.Icon |
getOptionIcon(java.lang.String option)
Returns the default value of the given option. |
static int |
getOptionInt(java.lang.String option)
Returns the default value of the given option. |
static java.lang.String |
getOptionString(java.lang.String option)
Returns the default value of the given option. |
static void |
putOption(java.lang.String option,
int value)
Sets default value for the given option. |
static void |
putOption(java.lang.String option,
java.lang.Object value)
Sets default value for the given option. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String PROP_ICONS_THEME
public static final java.lang.String PROP_ROOT_ICON
public static final java.lang.String PROP_DIRECTORY_ICON
public static final java.lang.String PROP_SELECTED_DIRECTORY_ICON
public static final java.lang.String PROP_COLLAPSED_ICON
public static final java.lang.String PROP_EXPANDED_ICON
public static final java.lang.String PROP_HOME_ICON
public static final java.lang.String PROP_NEW_ICON
public static final java.lang.String PROP_DELETE_ICON
public static final java.lang.String PROP_CUT_ICON
public static final java.lang.String PROP_COPY_ICON
public static final java.lang.String PROP_PASTE_ICON
public static final java.lang.String PROP_SYNCHRONIZE_ICON
public static final java.lang.String PROP_WAIT_TEXT
public static final java.lang.String PROP_HOME_TEXT
public static final java.lang.String PROP_NEW_TEXT
public static final java.lang.String PROP_DELETE_TEXT
public static final java.lang.String PROP_RENAME_TEXT
public static final java.lang.String PROP_CUT_TEXT
public static final java.lang.String PROP_COPY_TEXT
public static final java.lang.String PROP_PASTE_TEXT
public static final java.lang.String PROP_SYNCHRONIZE_TEXT
public static final java.lang.String PROP_DIALOG_CAPTION_TEXT
public static final java.lang.String PROP_DIALOG_TEXT
public static final java.lang.String PROP_OK_TEXT
public static final java.lang.String PROP_CANCEL_TEXT
public static final java.lang.String PROP_ACCESS
public static final java.lang.String PROP_INITIAL_DIRECTORY
public static final java.lang.String PROP_SIZE
JDirectoryChooser
component.
public static final java.lang.String PROP_DIALOG_SIZE
Constructor Detail |
public DirectoryChooserDefaults()
Method Detail |
public static java.lang.Object getOption(java.lang.String option)
option
- the option name.
null
if option was not found.public static int getOptionInt(java.lang.String option)
option
- the option name.
0
if option was not found.public static java.lang.String getOptionString(java.lang.String option)
option
- the option name.
public static javax.swing.Icon getOptionIcon(java.lang.String option)
option
- the option name.
public static java.io.File getOptionFile(java.lang.String option)
option
- the option name.
public static void putOption(java.lang.String option, int value)
option
- the option name.value
- the option value.public static void putOption(java.lang.String option, java.lang.Object value)
option
- the option name.value
- the option value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |