Class InlineMenuItem
java.lang.Object
com.evolveum.midpoint.web.component.menu.cog.InlineMenuItem
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ButtonInlineMenuItem
,CheckboxMenuItem
TODO: update to better use with DropdownButtonPanel. Move away from depreated com.evolveum.midpoint.web.component.menu.cog.
TODO: Create a builder for this.
- Author:
- lazyman
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionInlineMenuItem
(org.apache.wicket.model.IModel<String> label) InlineMenuItem
(org.apache.wicket.model.IModel<String> label, boolean isSubmit) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.wicket.model.IModel<String>
org.apache.wicket.model.IModel<Boolean>
int
getId()
org.apache.wicket.model.IModel<String>
getLabel()
org.apache.wicket.model.IModel<Boolean>
abstract InlineMenuItemAction
boolean
boolean
visible behavior for menu item in the headerboolean
boolean
isSubmit()
if true, link must be rendered as submit link button, otherwise normal ajax linkvoid
setAction
(InlineMenuItemAction action) void
setEnabled
(org.apache.wicket.model.IModel<Boolean> enabled) void
setId
(int id) void
setVisibilityChecker
(InlineMenuItem.VisibilityChecker visibilityChecker) void
setVisible
(org.apache.wicket.model.IModel<Boolean> visible) boolean
-
Constructor Details
-
InlineMenuItem
-
InlineMenuItem
-
-
Method Details
-
initAction
-
getEnabled
-
setEnabled
-
getLabel
-
isSubmit
public boolean isSubmit()if true, link must be rendered as submit link button, otherwise normal ajax link -
getVisible
-
setVisible
-
isDivider
public boolean isDivider() -
isMenuHeader
public boolean isMenuHeader() -
isHeaderMenuItem
public boolean isHeaderMenuItem()visible behavior for menu item in the header -
getId
public int getId() -
setId
public void setId(int id) -
getAction
-
getConfirmationMessageModel
-
showConfirmationDialog
public boolean showConfirmationDialog() -
getVisibilityChecker
-