Class FeatureVisibleEnableBehaviour
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- com.evolveum.midpoint.web.component.util.VisibleEnableBehaviour
-
- com.evolveum.midpoint.gui.api.util.FeatureVisibleEnableBehaviour
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.IComponentAwareEventSink
,org.apache.wicket.markup.html.IComponentAwareHeaderContributor
,org.apache.wicket.util.io.IClusterable
public class FeatureVisibleEnableBehaviour extends VisibleEnableBehaviour
Behaviour class that determines visibility of (configurable) UI feature.- Author:
- semancik
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.web.component.util.VisibleEnableBehaviour
ALWAYS_INVISIBLE, ALWAYS_VISIBLE_ENABLED
-
-
Constructor Summary
Constructors Constructor Description FeatureVisibleEnableBehaviour(GuiFeature feature, CompiledGuiProfile userProfile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isVisible()
boolean
isVisibleAutomatic()
Method to be overridden in subclasses, determines automatic visibility of the feature.-
Methods inherited from class com.evolveum.midpoint.web.component.util.VisibleEnableBehaviour
isEnabled, onConfigure
-
-
-
-
Constructor Detail
-
FeatureVisibleEnableBehaviour
public FeatureVisibleEnableBehaviour(GuiFeature feature, CompiledGuiProfile userProfile)
-
-
Method Detail
-
isVisible
public boolean isVisible()
- Overrides:
isVisible
in classVisibleEnableBehaviour
-
isVisibleAutomatic
public boolean isVisibleAutomatic()
Method to be overridden in subclasses, determines automatic visibility of the feature. It will be called only if needed.
-
-