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

public class ThemeTableContext<T> extends DefaultActionContext
ActionContext for ThemeDialog tables
  • Constructor Details

  • Method Details

    • getThemeTable

      public ThemeTable getThemeTable()
      Returns the theme table for this context
      Returns:
      the table
    • getCurrentValue

      public ThemeValue<T> getCurrentValue()
      Returns the currentValue of the selected table row
      Returns:
      the currentValue of the selected table row
    • getThemeValue

      public ThemeValue<T> 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