Class VisibleEnableBehaviour
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- com.evolveum.midpoint.web.component.util.VisibleEnableBehaviour
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.IComponentAwareEventSink
,org.apache.wicket.markup.html.IComponentAwareHeaderContributor
,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
EnableBehaviour
,FeatureVisibleEnableBehaviour
,ObjectTabVisibleBehavior
,PageDisabledVisibleBehaviour
,PageVisibleDisabledBehaviour
,VisibleBehaviour
public class VisibleEnableBehaviour extends org.apache.wicket.behavior.Behavior
TODO: move to com.evolveum.midpoint.gui.api.util- Author:
- lazyman
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static VisibleEnableBehaviour
ALWAYS_INVISIBLE
static VisibleEnableBehaviour
ALWAYS_VISIBLE_ENABLED
-
Constructor Summary
Constructors Constructor Description VisibleEnableBehaviour()
VisibleEnableBehaviour(@NotNull SerializableSupplier<Boolean> visible)
VisibleEnableBehaviour(@NotNull SerializableSupplier<Boolean> visible, @NotNull SerializableSupplier<Boolean> enabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEnabled()
boolean
isVisible()
void
onConfigure(org.apache.wicket.Component component)
-
-
-
Field Detail
-
ALWAYS_VISIBLE_ENABLED
public static final VisibleEnableBehaviour ALWAYS_VISIBLE_ENABLED
-
ALWAYS_INVISIBLE
public static final VisibleEnableBehaviour ALWAYS_INVISIBLE
-
-
Constructor Detail
-
VisibleEnableBehaviour
public VisibleEnableBehaviour()
-
VisibleEnableBehaviour
public VisibleEnableBehaviour(@NotNull @NotNull SerializableSupplier<Boolean> visible)
-
VisibleEnableBehaviour
public VisibleEnableBehaviour(@NotNull @NotNull SerializableSupplier<Boolean> visible, @NotNull @NotNull SerializableSupplier<Boolean> enabled)
-
-