com.itmill.toolkit.terminal.web
Class Theme.NotRequirement
java.lang.Object
com.itmill.toolkit.terminal.web.Theme.NotRequirement
- All Implemented Interfaces:
- Theme.Requirement
- Enclosing class:
- Theme
public class Theme.NotRequirement
- extends Object
- implements Theme.Requirement
Logical NOT requirement. Requirement implementing logical NOT operation.
Wraps an another requirement and negates the meaning of it.
- Since:
- 3.0
- Version:
- 4.1.4
- Author:
- IT Mill Ltd.
Theme.NotRequirement
public Theme.NotRequirement(Theme.Requirement requirement)
- Create a new NOT requirement based on another requirement.
- Parameters:
requirement - the requirement to be negated.
isMet
public boolean isMet(WebBrowser terminal)
- Check that this requirement is met by given type of browser.
- Specified by:
isMet in interface Theme.Requirement
- Parameters:
terminal - the type of the web browser.
- Returns:
true if terminal is compatible with this
rule,otherwise false.
toString
public String toString()
- Overrides:
toString in class Object
- See Also:
Object.toString()
Copyright © 2000-2008 IT Mill Ltd. All Rights Reserved.