public final class SimpleRenderCondition extends java.lang.Object implements RenderCondition
| Modifier and Type | Field and Description |
|---|---|
static RenderCondition |
FALSE
The condition that is always return
false. |
static RenderCondition |
TRUE
The condition that is always return
true. |
| Constructor and Description |
|---|
SimpleRenderCondition(boolean decision)
Creates an instance based on the given decision.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
check()
Returns
true if the component should be rendered. |
public static final RenderCondition TRUE
true.public static final RenderCondition FALSE
false.public SimpleRenderCondition(boolean decision)
decision - the decisionpublic boolean check()
RenderConditiontrue if the component should be rendered.
false otherwise.check in interface RenderConditiontrue if the component should be rendered,
false otherwise"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"