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

Constructor Index

 o ModeEnum()
Creates an instance with the choice set to FileDialog.LOAD.
 o ModeEnum(int)
Creates an instance with the choice set to the given int value.
 o ModeEnum(String)
Creates an instance with the choice set to the given string.

Method Index

 o getHelper()
Gets the helper class that stores the enum definition.

Constructors

 o ModeEnum
  public ModeEnum()
Creates an instance with the choice set to FileDialog.LOAD.
 o ModeEnum
  public ModeEnum(int choice)
Creates an instance with the choice set to the given int value.
Parameters:
choice - FileDialog.LOAD or FileDialog.SAVE
 o ModeEnum
  public ModeEnum(String choice)
Creates an instance with the choice set to the given string.
Parameters:
choice - "load" or "save"

Methods

 o 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