|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.millstone.webadapter.Theme.OrRequirement
Logical OR requirement. Implements a collection of requirements combining the included requirements using logical AND operation.
Constructor Summary | |
Theme.OrRequirement()
|
|
Theme.OrRequirement(java.util.Collection requirements)
|
|
Theme.OrRequirement(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 some of the requirements in this collection is 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.OrRequirement()
public Theme.OrRequirement(java.util.Collection requirements)
public Theme.OrRequirement(Theme.Requirement req1, Theme.Requirement req2)
Method Detail |
public void addRequirement(Theme.Requirement requirement)
Theme.RequirementCollection
addRequirement
in interface Theme.RequirementCollection
requirement
- Requirement to be added.public void removeRequirement(Theme.Requirement requirement)
Theme.RequirementCollection
removeRequirement
in interface Theme.RequirementCollection
requirement
- Requirement to be removed.public boolean isMet(WebBrowser terminal)
isMet
in interface Theme.Requirement
terminal
- 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 |