Class ThemeTableContext<T>
java.lang.Object
docking.DefaultActionContext
docking.theme.gui.ThemeTableContext<T>
- Type Parameters:
T- the resource type (Color, Font, or Icon)
- All Implemented Interfaces:
ActionContext
ActionContext for ThemeDialog tables
-
Constructor Summary
ConstructorsConstructorDescriptionThemeTableContext(ThemeValue<T> currentValue, ThemeValue<T> themeValue, ThemeTable themeTable) -
Method Summary
Modifier and TypeMethodDescriptionReturns the currentValue of the selected table rowReturns the theme table for this contextReturns the original theme value of the selected table rowbooleanReturns true if the current value is not the same as the original theme value for the selected table row
-
Constructor Details
-
ThemeTableContext
public ThemeTableContext(ThemeValue<T> currentValue, ThemeValue<T> themeValue, ThemeTable themeTable)
-
-
Method Details
-
getThemeTable
-
getCurrentValue
Returns the currentValue of the selected table row- Returns:
- the currentValue of the selected table row
-
getThemeValue
Returns the original theme value of the selected table row- Returns:
- the original theme value of the selected table row
-
isChanged
public boolean isChanged()Returns true if the current value is not the same as the original theme value for the selected table row- Returns:
- true if the current value is not the same as the original theme value for the selected table row
-