|
Compoze Software, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectportlets.compoze.groupware.OptionsGroup
This class represents the options group. It contains the options and their associated status.
| Nested Class Summary | |
static class |
OptionsGroup.Option
This class represents an option. |
static class |
OptionsGroup.Status
This class represents an option status. |
| Constructor Summary | |
OptionsGroup(Accounts accounts,
FeatureGroup featureGroup)
Constructor. |
|
| Method Summary | |
boolean |
checkStatus(OptionsGroup.Option option,
OptionsGroup.Status status)
Checks if the option status matches the specified status. |
OptionsGroup.Status |
getStatus(OptionsGroup.Option option)
Gets the option status for the specified option. |
void |
setActiveOption(OptionsGroup.Option option)
Sets the option status as Status.ACTIVE for the specified option. |
void |
setStatus(OptionsGroup.Option option,
OptionsGroup.Status status)
Sets the option status for the specified option. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OptionsGroup(Accounts accounts,
FeatureGroup featureGroup)
accounts - the accountsfeatureGroup - the feature group (may not be null)| Method Detail |
public void setActiveOption(OptionsGroup.Option option)
Status.ACTIVE for the specified option.
option - the option to set (may not be null)public OptionsGroup.Status getStatus(OptionsGroup.Option option)
option - the option
public void setStatus(OptionsGroup.Option option,
OptionsGroup.Status status)
option - the optionstatus - the option status
public boolean checkStatus(OptionsGroup.Option option,
OptionsGroup.Status status)
option - the option to check (may not be null)status - the status to check for (may not be null)
true if the status matches; false otherwise
|
Compoze Software, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||