Package overit.geocall.ui
Class SortableMenu.Item
java.lang.Object
overit.geocall.ui.Menu.Item
overit.geocall.ui.SortableMenu.Item
- All Implemented Interfaces:
Serializable
- Enclosing class:
SortableMenu
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInfo()Gets some additional item's infos that will be used into the draw method.Gets the value that will identify the item during the drag and drop event.Sets some additional item's infos that will be used into the draw method.Sets the value that will identify the item during the drag and drop event.
-
Field Details
-
itemIdentifierValue
-
info
-
-
Constructor Details
-
Item
-
Item
Creates an active sortable menu voice- Parameters:
label- The label that appears on the menuicon- The icon that appears on the left of the voiceevent- The event triggered when the user clicks on the voice; if null, the item is a title
-
Item
Creates an active Sortable menu voice with a specified css class- Parameters:
label- The label that appears on the menuicon- The icon that appears on the left of the voiceevent- The event triggered when the user clicks on the voice; if null, the item is a titlecssClass- the css class that will be associatd to this item
-
-
Method Details
-
setItemIdentifierValue
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
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
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
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.
-