Interface TethysUIControl.TethysUIIconMapSet<T>
- Type Parameters:
T- the object type
- All Known Implementing Classes:
TethysUICoreIconButtonManager.TethysUICoreIconMapSet
- Enclosing interface:
TethysUIControl
public static interface TethysUIControl.TethysUIIconMapSet<T>
MapSet.
-
Method Summary
Modifier and TypeMethodDescriptionvoidClear the mapSet.getIconForValue(T pValue) Obtain Icon for value.getNextValueForValue(T pValue) Obtain Next value for value.intgetSize()Obtain the iconSize.getTooltipForValue(T pValue) Obtain ToolTip for value.default voidsetMappingsForValue(T pValue, T pNext, TethysUIIconId pId) Set mappings for value with no toolTip.voidsetMappingsForValue(T pValue, T pNext, TethysUIIconId pId, String pTooltip) Set mappings for value.default voidsetMappingsForValue(T pValue, T pNext, String pTooltip) Set mappings for value with no icon.
-
Method Details
-
getSize
int getSize()Obtain the iconSize.- Returns:
- the iconSize
-
clearMaps
void clearMaps()Clear the mapSet. -
setMappingsForValue
Set mappings for value with no icon.- Parameters:
pValue- the valuepNext- the next value for valuepTooltip- the toolTip
-
setMappingsForValue
Set mappings for value with no toolTip.- Parameters:
pValue- the valuepNext- the next value for valuepId- the mapped IconId
-
setMappingsForValue
Set mappings for value.- Parameters:
pValue- the valuepNext- the next value for valuepId- the mapped IconIdpTooltip- the toolTip
-
getIconForValue
Obtain Icon for value.- Parameters:
pValue- the value- Returns:
- the value
-
getTooltipForValue
Obtain ToolTip for value.- Parameters:
pValue- the value- Returns:
- the value
-
getNextValueForValue
Obtain Next value for value.- Parameters:
pValue- the value- Returns:
- the value
-