Class InlineMenuItem

java.lang.Object
com.evolveum.midpoint.web.component.menu.cog.InlineMenuItem
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ButtonInlineMenuItem, CheckboxMenuItem

public abstract class InlineMenuItem extends Object implements Serializable
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:
  • Constructor Details

    • InlineMenuItem

      public InlineMenuItem(org.apache.wicket.model.IModel<String> label)
    • InlineMenuItem

      public InlineMenuItem(org.apache.wicket.model.IModel<String> label, boolean isSubmit)
  • Method Details

    • initAction

      public abstract InlineMenuItemAction initAction()
    • getEnabled

      public org.apache.wicket.model.IModel<Boolean> getEnabled()
    • setEnabled

      public void setEnabled(org.apache.wicket.model.IModel<Boolean> enabled)
    • getLabel

      public org.apache.wicket.model.IModel<String> getLabel()
    • isSubmit

      public boolean isSubmit()
      if true, link must be rendered as submit link button, otherwise normal ajax link
    • getVisible

      public org.apache.wicket.model.IModel<Boolean> getVisible()
    • setVisible

      public void setVisible(org.apache.wicket.model.IModel<Boolean> visible)
    • 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

      public InlineMenuItemAction getAction()
    • setAction

      public void setAction(InlineMenuItemAction action)
    • getConfirmationMessageModel

      public org.apache.wicket.model.IModel<String> getConfirmationMessageModel()
    • showConfirmationDialog

      public boolean showConfirmationDialog()
    • getVisibilityChecker

      public InlineMenuItem.VisibilityChecker getVisibilityChecker()
    • setVisibilityChecker

      public void setVisibilityChecker(InlineMenuItem.VisibilityChecker visibilityChecker)