Class sunsoft.jws.visual.rt.type.ModeEnum
All Packages Class Hierarchy This Package Previous Next Index
Class sunsoft.jws.visual.rt.type.ModeEnum
java.lang.Object
|
+----sunsoft.jws.visual.rt.type.BaseEnum
|
+----sunsoft.jws.visual.rt.type.ModeEnum
- public class ModeEnum
- extends BaseEnum
A class that knows the different file dialog modes.
- See Also:
- FileDialog
-
ModeEnum()
- Creates an instance with the choice set to FileDialog.LOAD.
-
ModeEnum(int)
- Creates an instance with the choice set to the given int value.
-
ModeEnum(String)
- Creates an instance with the choice set to the given string.
-
getHelper()
- Gets the helper class that stores the enum definition.
ModeEnum
public ModeEnum()
- Creates an instance with the choice set to FileDialog.LOAD.
ModeEnum
public ModeEnum(int choice)
- Creates an instance with the choice set to the given int value.
- Parameters:
- choice - FileDialog.LOAD or FileDialog.SAVE
ModeEnum
public ModeEnum(String choice)
- Creates an instance with the choice set to the given string.
- Parameters:
- choice - "load" or "save"
getHelper
protected BaseEnumHelper getHelper()
- Gets the helper class that stores the enum definition.
- Overrides:
- getHelper in class BaseEnum
All Packages Class Hierarchy This Package Previous Next Index