|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.control.ControlButton
Constants for buttons used by controls
Field Summary | |
static ControlButton |
ADD
ADD Button |
static ControlButton |
ADDALL
ADDALL Button |
static ControlButton |
ADDAPPOINTMENT
AddAppointment Button |
static ControlButton |
CLOSE
Close Button |
static ControlButton |
CREATE
CREATE Button |
static ControlButton |
EXPORTLIST
EXPORTLIST Button |
static ControlButton |
FIRSTPAGE
FIRSTPAGE Button |
static ControlButton |
HELP
HELP Button |
static ControlButton |
LASTPAGE
LASTPAGE Button |
static ControlButton |
MAXIMIZE
Maximize Button |
static ControlButton |
MINIMIZE
Minimize Button |
static ControlButton |
MOVE
MOVE Button |
static ControlButton |
MOVE_DOWN
MOVE_DOWN Button |
static ControlButton |
MOVE_UP
MOVE_UP Button |
private java.lang.String |
name
Button Name |
static ControlButton |
NEXTPAGE
NEXTPAGE Button |
static ControlButton |
PAGE
PAGE Button |
static ControlButton |
PREVPAGE
PREVPAGE Button |
static ControlButton |
PRINTLIST
PRINTLIST Button |
static ControlButton |
REFRESH
REFRESH Button |
private static java.util.Hashtable |
registry
List with all actions defined above |
static ControlButton |
REMOVE
REMOVE Button |
static ControlButton |
REMOVEALL
REMOVEALL Button |
static ControlButton |
RESTORE
Restore Button |
static ControlButton |
ROLL
Roll Button |
private static long |
serialVersionUID
Serial Version UID |
static ControlButton |
VIEW
Close Button |
Constructor Summary | |
protected |
ControlButton(java.lang.String name)
Constructor of ControlButton |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares this type to the specified object. |
java.lang.String |
getName()
|
static boolean |
isRegistered(java.lang.String button)
Checks if a certain control button is registered in the action registry |
static ControlButton |
parse(java.lang.String code)
Returns a ControlButton for the argument |
static ControlButton |
query(java.lang.String code)
Returns a ControlButton for the argument |
static void |
registerControlButton(ControlButton button)
Registers an control button in the global registry |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
public static final ControlButton PAGE
public static final ControlButton CREATE
public static final ControlButton REFRESH
public static final ControlButton FIRSTPAGE
public static final ControlButton PREVPAGE
public static final ControlButton NEXTPAGE
public static final ControlButton LASTPAGE
public static final ControlButton ADD
public static final ControlButton ADDALL
public static final ControlButton REMOVE
public static final ControlButton REMOVEALL
public static final ControlButton HELP
public static final ControlButton MINIMIZE
public static final ControlButton MAXIMIZE
public static final ControlButton RESTORE
public static final ControlButton CLOSE
public static final ControlButton VIEW
public static final ControlButton ROLL
public static final ControlButton ADDAPPOINTMENT
public static final ControlButton EXPORTLIST
public static final ControlButton PRINTLIST
public static final ControlButton MOVE
public static final ControlButton MOVE_UP
public static final ControlButton MOVE_DOWN
private java.lang.String name
private static java.util.Hashtable registry
Constructor Detail |
protected ControlButton(java.lang.String name)
name
- Button nameMethod Detail |
public static void registerControlButton(ControlButton button)
button
- The control buttonpublic static boolean isRegistered(java.lang.String button)
button
- The button name to check
true
if the control button is already registered
in the registrypublic static ControlButton query(java.lang.String code)
code
- String to parse
null
public static ControlButton parse(java.lang.String code)
code
- String to parse
InvalidEnumType
- Is thrown when the name is not validpublic boolean equals(java.lang.Object obj)
obj
- The object to compare this ControlButton
object
against.
true
if the internal types are equal;
false
otherwise.public java.lang.String getName()
public java.lang.String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |