Package org.jppf.ui.monitoring
Class LocalizedListItem
java.lang.Object
org.jppf.ui.monitoring.LocalizedListItem
- All Implemented Interfaces:
Tooltipped
Instances of this class are the items displayed in the pick list.
- Author:
- Laurent Cohen
-
Constructor Summary
ConstructorsConstructorDescriptionLocalizedListItem(String name, int index, String label, String tooltip) Initialize this item.LocalizedListItem(String name, int index, String base, Locale locale) Initialize this item. -
Method Summary
-
Constructor Details
-
LocalizedListItem
Initialize this item.- Parameters:
name- the non-localized name of this item.index- unique index for this item.base- base name for localization bundle lookups.locale- the locale to localize in.
-
LocalizedListItem
Initialize this item.- Parameters:
name- the non-localized name of this item.index- unique index for this item.label- a displayable short label describing the field.tooltip- a tooltip associated with the field.
-
-
Method Details
-
toString
-
getIndex
public int getIndex()- Returns:
- the unique index for this item.
-
getName
- Returns:
- the non-localized name of this item.
-
getLabel
- Returns:
- the localized name of this item.
-
getTooltip
- Specified by:
getTooltipin interfaceTooltipped- Returns:
- the localized tooltip of this item.
-