Interface FlatComponentExtension

All Known Implementing Classes:
FlatButton, FlatComboBox, FlatEditorPane, FlatFormattedTextField, FlatLabel, FlatPasswordField, FlatProgressBar, FlatScrollBar, FlatScrollPane, FlatSpinner, FlatSplitPane, FlatTabbedPane, FlatTextArea, FlatTextField, FlatTextPane, FlatToggleButton, FlatTree

public interface FlatComponentExtension
Base interface for all FlatLaf component extensions. Extensions use client properties to store property values in components.
  • Method Details

    • getClientProperty

      Object getClientProperty(Object key)
    • putClientProperty

      void putClientProperty(Object key, Object value)
    • getClientPropertyBoolean

      default boolean getClientPropertyBoolean(Object key, String defaultValueKey)
    • getClientPropertyBoolean

      default boolean getClientPropertyBoolean(Object key, boolean defaultValue)
    • putClientPropertyBoolean

      default void putClientPropertyBoolean(Object key, boolean value, boolean defaultValue)
    • getClientPropertyInt

      default int getClientPropertyInt(Object key, String defaultValueKey)
    • getClientPropertyInt

      default int getClientPropertyInt(Object key, int defaultValue)
    • getClientPropertyColor

      default Color getClientPropertyColor(Object key, String defaultValueKey)
    • getClientPropertyInsets

      default Insets getClientPropertyInsets(Object key, String defaultValueKey)
    • getClientPropertyEnumString

      default <T extends Enum<T>> T getClientPropertyEnumString(Object key, Class<T> enumType, String defaultValueKey, T defaultValue)
    • putClientPropertyEnumString

      default <T extends Enum<T>> void putClientPropertyEnumString(Object key, Enum<T> value)