|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.model.SchedulerScope
Specifies where to show checkboxes in a scheduler control
Field Summary | |
private static SchedulerScope[] |
ALL
Collection with all enumeration elements |
static SchedulerScope |
APPOINTMENT
The control will be displayed in appointment view |
private int |
bit
An ordinal value for the bit position in a scope mask |
static SchedulerScope |
DAY
The control will be displayed in day view |
static int |
MASK_ALL
Mask for all views |
private static long |
serialVersionUID
Serial Version UID |
private java.lang.String |
view
The internal view name |
Constructor Summary | |
private |
SchedulerScope(java.lang.String view,
int bit)
Constructor for SchedulerCheckRange |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares this type to the specified object. |
int |
hashCode()
|
boolean |
isInMask(int viewMask)
Checks if the view is contained in the given mask |
int |
mask()
|
static SchedulerScope |
parse(java.lang.String code)
Creates for the argument an object of type SchedulerCheckRange |
static int |
parseMask(java.lang.String viewList)
Converts the semicolon delimited list of views into a view mask |
java.lang.String |
toString()
Returns the SchedulerCheckRange |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
public static final int MASK_ALL
public static final SchedulerScope APPOINTMENT
public static final SchedulerScope DAY
private java.lang.String view
private int bit
private static final SchedulerScope[] ALL
Constructor Detail |
private SchedulerScope(java.lang.String view, int bit)
view
- Specifies where to show checkboxes in a scheduler controlbit
- Ordinal value for the bit position in a scope maskMethod Detail |
public int mask()
public java.lang.String toString()
public boolean isInMask(int viewMask)
viewMask
- The View Mask to test
true
if the view is set in the maskpublic boolean equals(java.lang.Object obj)
obj
- The object to compare this SchedulerCheckRange
object against.
true
if the internal types are equal;
false
otherwise.public int hashCode()
Object.hashCode()
public static SchedulerScope parse(java.lang.String code)
code
- String to parse
public static int parseMask(java.lang.String viewList)
viewList
- semicolon delimited list of views or "true"
for
all possible views or "false"
Returns:
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |