org.yasl.arch.application
Class YASLApplicationType

java.lang.Object
  extended byorg.yasl.arch.application.YASLApplicationType

public class YASLApplicationType
extends Object

Defines a set of application types (gui, command line, and applet).

Author:
Jeff Chapman

Field Summary
static int APP_TYPE_ID_APPLET
           
static int APP_TYPE_ID_CMMNDLINE
           
static int APP_TYPE_ID_SWING
           
static YASLApplicationType APPLET_APP
           
static YASLApplicationType CMMNDLINE_APP
           
static YASLApplicationType SWING_APP
           
 
Method Summary
 int getId()
          Returns a numeric id.
 String getLabel()
          Returns a descriptive name for the type.
static YASLApplicationType getTypeForString(String name)
           
 String toString()
          Returns a descriptive name for the type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

APP_TYPE_ID_SWING

public static final int APP_TYPE_ID_SWING
See Also:
Constant Field Values

APP_TYPE_ID_CMMNDLINE

public static final int APP_TYPE_ID_CMMNDLINE
See Also:
Constant Field Values

APP_TYPE_ID_APPLET

public static final int APP_TYPE_ID_APPLET
See Also:
Constant Field Values

SWING_APP

public static final YASLApplicationType SWING_APP

CMMNDLINE_APP

public static final YASLApplicationType CMMNDLINE_APP

APPLET_APP

public static final YASLApplicationType APPLET_APP
Method Detail

getLabel

public String getLabel()
Returns a descriptive name for the type.

Returns:
String

getId

public int getId()
Returns a numeric id.

Returns:
int

toString

public String toString()
Returns a descriptive name for the type. This method is idential to the getLabel method.

Returns:
String

getTypeForString

public static YASLApplicationType getTypeForString(String name)