|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ApplicationContext.FileChooserType>
org.openpermis.editor.policy.ApplicationContext.FileChooserType
public static enum ApplicationContext.FileChooserType
Type object for file chooser types.
Basically this type object encapsulates the JFileChooser
dialog type in an
object so that we do not have to pass plain integer values around.
Enum Constant Summary | |
---|---|
OPEN
Indicates that a file chooser to open a file is desired. |
|
SAVE
Indicates that a file chooser to save a file is desired. |
Method Summary | |
---|---|
void |
configure(JFileChooser fileChooser)
Configures the file chooser specified to the correct type.. |
static ApplicationContext.FileChooserType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ApplicationContext.FileChooserType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ApplicationContext.FileChooserType OPEN
public static final ApplicationContext.FileChooserType SAVE
Method Detail |
---|
public static ApplicationContext.FileChooserType[] values()
for (ApplicationContext.FileChooserType c : ApplicationContext.FileChooserType.values()) System.out.println(c);
public static ApplicationContext.FileChooserType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic void configure(JFileChooser fileChooser)
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:21
Copyright (c) 2002-2007 Ergon Informatik AG