|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.FormType
Enumeration of forms used by the common controls framework
Field Summary | |
private static FormType[] |
ALL
Collection of all forms |
static FormType |
CREATE
form: CREATE |
static FormType |
DISPLAY
form: DISPLAY |
static FormType |
EDIT
form: EDIT |
private boolean |
editable
This flag indicates if editing is allowed |
static FormType |
HEADER
form: HEADER |
static FormType |
INFO
form: INFO |
static FormType |
NONE
form: NONE |
static FormType |
SEARCH
form: SEARCH |
private java.lang.String |
type
The form type |
Constructor Summary | |
private |
FormType(java.lang.String type,
boolean editable)
Constructor for FormType |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares this form type to the specified object. |
int |
hashCode()
|
boolean |
isEditable()
|
static FormType |
parse(java.lang.String code)
Creates for the argument an object of type FormType |
java.lang.String |
toString()
Returns a string representation for the object |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final FormType NONE
public static final FormType SEARCH
public static final FormType CREATE
public static final FormType DISPLAY
public static final FormType EDIT
public static final FormType HEADER
public static final FormType INFO
private java.lang.String type
private boolean editable
private static final FormType[] ALL
Constructor Detail |
private FormType(java.lang.String type, boolean editable)
type
- The form typeeditable
- Flag that indicates if editing is allowedMethod Detail |
public boolean equals(java.lang.Object obj)
obj
- The object to compare this FormType
against.
true
if the form types
are equal;
false
otherwise.public int hashCode()
Object.hashCode()
public static FormType parse(java.lang.String code)
code
- String to parse
public java.lang.String toString()
public boolean isEditable()
true
if this form type allows
editing
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |