|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.millstone.webadapter.Theme.AndRequirement
Logical AND requirement. Implements a collection of requirements combining the included requirements using logical AND operation.
| Constructor Summary | |
Theme.AndRequirement()
|
|
Theme.AndRequirement(java.util.Collection requirements)
|
|
Theme.AndRequirement(Theme.Requirement req1,
Theme.Requirement req2)
|
|
| Method Summary | |
void |
addRequirement(Theme.Requirement requirement)
Add new requirement to this collection. |
boolean |
isMet(WebBrowser terminal)
Checks that all os the requirements in this collection are met. |
void |
removeRequirement(Theme.Requirement requirement)
Remove a requirement from this collection. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Theme.AndRequirement()
public Theme.AndRequirement(java.util.Collection requirements)
public Theme.AndRequirement(Theme.Requirement req1,
Theme.Requirement req2)
| Method Detail |
public void addRequirement(Theme.Requirement requirement)
Theme.RequirementCollection
addRequirement in interface Theme.RequirementCollectionrequirement - Requirement to be added.public void removeRequirement(Theme.Requirement requirement)
Theme.RequirementCollection
removeRequirement in interface Theme.RequirementCollectionrequirement - Requirement to be removed.public boolean isMet(WebBrowser terminal)
isMet in interface Theme.Requirementterminal - type of the web browser.
Theme.Requirement.isMet(WebBrowser)public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||