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
Behaviour class that determines visibility of (configurable) UI feature.
- Author:
- semancik
- See Also:
- 
Field SummaryFields inherited from class com.evolveum.midpoint.web.component.util.VisibleEnableBehaviourALWAYS_INVISIBLE, ALWAYS_VISIBLE_ENABLED
- 
Constructor SummaryConstructorsConstructorDescriptionFeatureVisibleEnableBehaviour(GuiFeature feature, CompiledGuiProfile userProfile) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbooleanMethod to be overridden in subclasses, determines automatic visibility of the feature.Methods inherited from class com.evolveum.midpoint.web.component.util.VisibleEnableBehaviourisEnabled, onConfigureMethods inherited from class org.apache.wicket.behavior.BehaviorafterRender, beforeRender, bind, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onComponentTag, onEvent, onException, onRemove, onTag, renderHead, unbind
- 
Constructor Details- 
FeatureVisibleEnableBehaviour
 
- 
- 
Method Details- 
isVisiblepublic boolean isVisible()- Overrides:
- isVisiblein class- VisibleEnableBehaviour
 
- 
isVisibleAutomaticpublic boolean isVisibleAutomatic()Method to be overridden in subclasses, determines automatic visibility of the feature. It will be called only if needed.
 
-