Class SortableMenu.Item

java.lang.Object
overit.geocall.ui.Menu.Item
overit.geocall.ui.SortableMenu.Item
All Implemented Interfaces:
Serializable
Enclosing class:
SortableMenu

public static class SortableMenu.Item extends Menu.Item
See Also:
  • Field Details

    • itemIdentifierValue

      protected String itemIdentifierValue
    • info

      protected String info
  • Constructor Details

    • Item

      public Item(String title)
    • Item

      public Item(String label, String icon, String event)
      Creates an active sortable menu voice
      Parameters:
      label - The label that appears on the menu
      icon - The icon that appears on the left of the voice
      event - The event triggered when the user clicks on the voice; if null, the item is a title
    • Item

      public Item(String label, String icon, String event, String cssClass)
      Creates an active Sortable menu voice with a specified css class
      Parameters:
      label - The label that appears on the menu
      icon - The icon that appears on the left of the voice
      event - The event triggered when the user clicks on the voice; if null, the item is a title
      cssClass - the css class that will be associatd to this item
  • Method Details

    • setItemIdentifierValue

      public SortableMenu.Item setItemIdentifierValue(String val)
      Sets the value that will identify the item during the drag and drop event.
      Parameters:
      val - the value that will identify the item during the drag and drop event.
      Returns:
      The item with the given attribute
    • getItemIdentifierValue

      public String getItemIdentifierValue()
      Gets the value that will identify the item during the drag and drop event.
      Returns:
      The value that will identify the item during the drag and drop event.
    • setInfo

      public SortableMenu.Item setInfo(String info)
      Sets some additional item's infos that will be used into the draw method.
      Parameters:
      info - the item's info.
      Returns:
      The item with the given attribute
    • getInfo

      public String getInfo()
      Gets some additional item's infos that will be used into the draw method.
      Returns:
      some additional infos that will be used into the draw method.