mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 14:37:13 -06:00
documented used UI defaults in most UI delegates
This commit is contained in:
@@ -43,7 +43,16 @@ import com.formdev.flatlaf.FlatLaf;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JButton}.
|
||||
*
|
||||
* TODO document used UI defaults of superclass
|
||||
* <!-- BasicButtonUI -->
|
||||
*
|
||||
* @uiDefault Button.font Font
|
||||
* @uiDefault Button.background Color
|
||||
* @uiDefault Button.foreground Color
|
||||
* @uiDefault Button.border Border
|
||||
* @uiDefault Button.margin Insets
|
||||
* @uiDefault Button.rollover boolean
|
||||
*
|
||||
* <!-- FlatButtonUI -->
|
||||
*
|
||||
* @uiDefault Component.focusWidth int
|
||||
* @uiDefault Button.arc int
|
||||
|
||||
@@ -25,6 +25,26 @@ import javax.swing.plaf.basic.BasicCheckBoxMenuItemUI;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JCheckBoxMenuItem}.
|
||||
*
|
||||
* <!-- BasicCheckBoxMenuItemUI -->
|
||||
*
|
||||
* @uiDefault CheckBoxMenuItem.font Font
|
||||
* @uiDefault CheckBoxMenuItem.background Color
|
||||
* @uiDefault CheckBoxMenuItem.foreground Color
|
||||
* @uiDefault CheckBoxMenuItem.disabledForeground Color
|
||||
* @uiDefault CheckBoxMenuItem.selectionBackground Color
|
||||
* @uiDefault CheckBoxMenuItem.selectionForeground Color
|
||||
* @uiDefault CheckBoxMenuItem.acceleratorForeground Color
|
||||
* @uiDefault CheckBoxMenuItem.acceleratorSelectionForeground Color
|
||||
* @uiDefault MenuItem.acceleratorFont Font defaults to MenuItem.font
|
||||
* @uiDefault MenuItem.acceleratorDelimiter String
|
||||
* @uiDefault CheckBoxMenuItem.border Border
|
||||
* @uiDefault CheckBoxMenuItem.borderPainted boolean
|
||||
* @uiDefault CheckBoxMenuItem.margin Insets
|
||||
* @uiDefault CheckBoxMenuItem.arrowIcon Icon
|
||||
* @uiDefault CheckBoxMenuItem.checkIcon Icon
|
||||
* @uiDefault CheckBoxMenuItem.opaque boolean
|
||||
* @uiDefault CheckBoxMenuItem.evenHeight boolean
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatCheckBoxMenuItemUI
|
||||
|
||||
@@ -22,6 +22,21 @@ import javax.swing.plaf.ComponentUI;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JCheckBox}.
|
||||
*
|
||||
* <!-- BasicRadioButtonUI -->
|
||||
*
|
||||
* @uiDefault CheckBox.font Font
|
||||
* @uiDefault CheckBox.background Color
|
||||
* @uiDefault CheckBox.foreground Color
|
||||
* @uiDefault CheckBox.border Border
|
||||
* @uiDefault CheckBox.margin Insets
|
||||
* @uiDefault CheckBox.rollover boolean
|
||||
* @uiDefault CheckBox.icon Icon
|
||||
*
|
||||
* <!-- FlatRadioButtonUI -->
|
||||
*
|
||||
* @uiDefault CheckBox.iconTextGap int
|
||||
* @uiDefault CheckBox.disabledText Color
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatCheckBoxUI
|
||||
|
||||
@@ -26,6 +26,11 @@ import com.formdev.flatlaf.util.UIScale;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JColorChooser}.
|
||||
*
|
||||
* <!-- BasicColorChooserUI -->
|
||||
*
|
||||
* @uiDefault ColorChooser.font Font
|
||||
* @uiDefault ColorChooser.background Color
|
||||
* @uiDefault ColorChooser.foreground Color
|
||||
* @uiDefault ColorChooser.showPreviewPanelText boolean
|
||||
* @uiDefault ColorChooser.swatchesSwatchSize Dimension
|
||||
* @uiDefault ColorChooser.swatchesRecentSwatchSize Dimension
|
||||
|
||||
@@ -56,7 +56,16 @@ import com.formdev.flatlaf.util.UIScale;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JComboBox}.
|
||||
*
|
||||
* TODO document used UI defaults of superclass
|
||||
* <!-- BasicComboBoxUI -->
|
||||
*
|
||||
* @uiDefault ComboBox.font Font
|
||||
* @uiDefault ComboBox.background Color
|
||||
* @uiDefault ComboBox.foreground Color
|
||||
* @uiDefault ComboBox.border Border
|
||||
* @uiDefault ComboBox.padding Insets
|
||||
* @uiDefault ComboBox.squareButton boolean default is true
|
||||
*
|
||||
* <!-- FlatComboBoxUI -->
|
||||
*
|
||||
* @uiDefault Component.focusWidth int
|
||||
* @uiDefault Component.arc int
|
||||
|
||||
@@ -27,7 +27,22 @@ import javax.swing.plaf.basic.BasicEditorPaneUI;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JEditorPane}.
|
||||
*
|
||||
* TODO document used UI defaults of superclass
|
||||
* <!-- BasicEditorPaneUI -->
|
||||
*
|
||||
* @uiDefault EditorPane.font Font
|
||||
* @uiDefault EditorPane.background Color also used if not editable
|
||||
* @uiDefault EditorPane.foreground Color
|
||||
* @uiDefault EditorPane.caretForeground Color
|
||||
* @uiDefault EditorPane.selectionBackground Color
|
||||
* @uiDefault EditorPane.selectionForeground Color
|
||||
* @uiDefault EditorPane.disabledBackground Color used if not enabled
|
||||
* @uiDefault EditorPane.inactiveBackground Color used if not editable
|
||||
* @uiDefault EditorPane.inactiveForeground Color used if not enabled (yes, this is confusing; this should be named disabledForeground)
|
||||
* @uiDefault EditorPane.border Border
|
||||
* @uiDefault EditorPane.margin Insets
|
||||
* @uiDefault EditorPane.caretBlinkRate int default is 500 milliseconds
|
||||
*
|
||||
* <!-- FlatEditorPaneUI -->
|
||||
*
|
||||
* @uiDefault Component.minimumWidth int
|
||||
*
|
||||
|
||||
@@ -22,6 +22,26 @@ import javax.swing.plaf.ComponentUI;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JFormattedTextField}.
|
||||
*
|
||||
* <!-- BasicTextFieldUI -->
|
||||
*
|
||||
* @uiDefault FormattedTextField.font Font
|
||||
* @uiDefault FormattedTextField.background Color
|
||||
* @uiDefault FormattedTextField.foreground Color also used if not editable
|
||||
* @uiDefault FormattedTextField.caretForeground Color
|
||||
* @uiDefault FormattedTextField.selectionBackground Color
|
||||
* @uiDefault FormattedTextField.selectionForeground Color
|
||||
* @uiDefault FormattedTextField.disabledBackground Color used if not enabled
|
||||
* @uiDefault FormattedTextField.inactiveBackground Color used if not editable
|
||||
* @uiDefault FormattedTextField.inactiveForeground Color used if not enabled (yes, this is confusing; this should be named disabledForeground)
|
||||
* @uiDefault FormattedTextField.border Border
|
||||
* @uiDefault FormattedTextField.margin Insets
|
||||
* @uiDefault FormattedTextField.caretBlinkRate int default is 500 milliseconds
|
||||
*
|
||||
* <!-- FlatTextFieldUI -->
|
||||
*
|
||||
* @uiDefault Component.focusWidth int
|
||||
* @uiDefault Component.minimumWidth int
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatFormattedTextFieldUI
|
||||
|
||||
@@ -33,10 +33,15 @@ import com.formdev.flatlaf.util.UIScale;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JLabel}.
|
||||
*
|
||||
* <!-- BasicLabelUI -->
|
||||
*
|
||||
* @uiDefault Label.font Font
|
||||
* @uiDefault Label.background Color only used if opaque
|
||||
* @uiDefault Label.foreground Color
|
||||
*
|
||||
* <!-- FlatLabelUI -->
|
||||
*
|
||||
* @uiDefault Label.disabledForeground Color
|
||||
* @uiDefault Label.font Font
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
|
||||
@@ -27,7 +27,27 @@ import javax.swing.plaf.basic.BasicListUI;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JList}.
|
||||
*
|
||||
* TODO document used UI defaults of superclass
|
||||
* <!-- BasicListUI -->
|
||||
*
|
||||
* @uiDefault List.font Font
|
||||
* @uiDefault List.background Color
|
||||
* @uiDefault List.foreground Color
|
||||
* @uiDefault List.selectionBackground Color
|
||||
* @uiDefault List.selectionForeground Color
|
||||
* @uiDefault List.dropLineColor Color
|
||||
* @uiDefault List.border Border
|
||||
* @uiDefault List.cellRenderer ListCellRenderer
|
||||
* @uiDefault FileChooser.listFont Font used if client property List.isFileList is true
|
||||
*
|
||||
* <!-- DefaultListCellRenderer -->
|
||||
*
|
||||
* @uiDefault List.cellNoFocusBorder Border
|
||||
* @uiDefault List.focusCellHighlightBorder Border
|
||||
* @uiDefault List.focusSelectedCellHighlightBorder Border
|
||||
* @uiDefault List.dropCellBackground Color
|
||||
* @uiDefault List.dropCellForeground Color
|
||||
*
|
||||
* <!-- FlatListUI -->
|
||||
*
|
||||
* @uiDefault List.selectionInactiveBackground Color
|
||||
* @uiDefault List.selectionInactiveForeground Color
|
||||
|
||||
@@ -23,6 +23,13 @@ import javax.swing.plaf.basic.BasicMenuBarUI;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JMenuBar}.
|
||||
*
|
||||
* <!-- BasicMenuBarUI -->
|
||||
*
|
||||
* @uiDefault MenuBar.font Font
|
||||
* @uiDefault MenuBar.background Color
|
||||
* @uiDefault MenuBar.foreground Color
|
||||
* @uiDefault MenuBar.border Border
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatMenuBarUI
|
||||
|
||||
@@ -25,6 +25,26 @@ import javax.swing.plaf.basic.BasicMenuItemUI;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JMenuItem}.
|
||||
*
|
||||
* <!-- BasicMenuItemUI -->
|
||||
*
|
||||
* @uiDefault MenuItem.font Font
|
||||
* @uiDefault MenuItem.background Color
|
||||
* @uiDefault MenuItem.foreground Color
|
||||
* @uiDefault MenuItem.disabledForeground Color
|
||||
* @uiDefault MenuItem.selectionBackground Color
|
||||
* @uiDefault MenuItem.selectionForeground Color
|
||||
* @uiDefault MenuItem.acceleratorForeground Color
|
||||
* @uiDefault MenuItem.acceleratorSelectionForeground Color
|
||||
* @uiDefault MenuItem.acceleratorFont Font defaults to MenuItem.font
|
||||
* @uiDefault MenuItem.acceleratorDelimiter String
|
||||
* @uiDefault MenuItem.border Border
|
||||
* @uiDefault MenuItem.borderPainted boolean
|
||||
* @uiDefault MenuItem.margin Insets
|
||||
* @uiDefault MenuItem.arrowIcon Icon
|
||||
* @uiDefault MenuItem.checkIcon Icon
|
||||
* @uiDefault MenuItem.opaque boolean
|
||||
* @uiDefault MenuItem.evenHeight boolean
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatMenuItemUI
|
||||
|
||||
@@ -25,6 +25,29 @@ import javax.swing.plaf.basic.BasicMenuUI;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JMenu}.
|
||||
*
|
||||
* <!-- BasicMenuUI -->
|
||||
*
|
||||
* @uiDefault Menu.font Font
|
||||
* @uiDefault Menu.background Color
|
||||
* @uiDefault Menu.foreground Color
|
||||
* @uiDefault Menu.disabledForeground Color
|
||||
* @uiDefault Menu.selectionBackground Color
|
||||
* @uiDefault Menu.selectionForeground Color
|
||||
* @uiDefault Menu.acceleratorForeground Color
|
||||
* @uiDefault Menu.acceleratorSelectionForeground Color
|
||||
* @uiDefault MenuItem.acceleratorFont Font defaults to MenuItem.font
|
||||
* @uiDefault MenuItem.acceleratorDelimiter String
|
||||
* @uiDefault Menu.border Border
|
||||
* @uiDefault Menu.borderPainted boolean
|
||||
* @uiDefault Menu.margin Insets
|
||||
* @uiDefault Menu.arrowIcon Icon
|
||||
* @uiDefault Menu.checkIcon Icon
|
||||
* @uiDefault Menu.opaque boolean
|
||||
* @uiDefault Menu.evenHeight boolean
|
||||
* @uiDefault Menu.crossMenuMnemonic boolean default is false
|
||||
* @uiDefault Menu.useMenuBarBackgroundForTopLevel boolean default is false
|
||||
* @uiDefault MenuBar.background Color used if Menu.useMenuBarBackgroundForTopLevel is true
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatMenuUI
|
||||
|
||||
@@ -30,10 +30,26 @@ import com.formdev.flatlaf.util.SystemInfo;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JPasswordField}.
|
||||
*
|
||||
* TODO document used UI defaults of superclass
|
||||
* <!-- BasicPasswordFieldUI -->
|
||||
*
|
||||
* @uiDefault Component.focusWidth int
|
||||
* @uiDefault Component.minimumWidth int
|
||||
* @uiDefault PasswordField.font Font
|
||||
* @uiDefault PasswordField.background Color
|
||||
* @uiDefault PasswordField.foreground Color also used if not editable
|
||||
* @uiDefault PasswordField.caretForeground Color
|
||||
* @uiDefault PasswordField.selectionBackground Color
|
||||
* @uiDefault PasswordField.selectionForeground Color
|
||||
* @uiDefault PasswordField.disabledBackground Color used if not enabled
|
||||
* @uiDefault PasswordField.inactiveBackground Color used if not editable
|
||||
* @uiDefault PasswordField.inactiveForeground Color used if not enabled (yes, this is confusing; this should be named disabledForeground)
|
||||
* @uiDefault PasswordField.border Border
|
||||
* @uiDefault PasswordField.margin Insets
|
||||
* @uiDefault PasswordField.echoChar character
|
||||
* @uiDefault PasswordField.caretBlinkRate int default is 500 milliseconds
|
||||
*
|
||||
* <!-- FlatPasswordFieldUI -->
|
||||
*
|
||||
* @uiDefault Component.focusWidth int
|
||||
* @uiDefault Component.minimumWidth int
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
|
||||
@@ -22,6 +22,17 @@ import javax.swing.plaf.ComponentUI;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JPopupMenu.Separator}.
|
||||
*
|
||||
* <!-- BasicSeparatorUI -->
|
||||
*
|
||||
* @uiDefault PopupMenuSeparator.background Color unused
|
||||
* @uiDefault PopupMenuSeparator.foreground Color
|
||||
*
|
||||
* <!-- FlatSeparatorUI -->
|
||||
*
|
||||
* @uiDefault PopupMenuSeparator.height int height (or width) of the component; may be larger than stripe
|
||||
* @uiDefault PopupMenuSeparator.stripeWidth int width of the stripe
|
||||
* @uiDefault PopupMenuSeparator.stripeIndent int indent of stripe from top (or left); allows positioning of stripe within component
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatPopupMenuSeparatorUI
|
||||
|
||||
@@ -23,6 +23,13 @@ import javax.swing.plaf.basic.BasicPopupMenuUI;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JPopupMenu}.
|
||||
*
|
||||
* <!-- BasicPopupMenuUI -->
|
||||
*
|
||||
* @uiDefault PopupMenu.font Font
|
||||
* @uiDefault PopupMenu.background Color
|
||||
* @uiDefault PopupMenu.foreground Color
|
||||
* @uiDefault PopupMenu.border Border
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatPopupMenuUI
|
||||
|
||||
@@ -31,6 +31,19 @@ import com.formdev.flatlaf.util.UIScale;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JProgressBar}.
|
||||
*
|
||||
* <!-- BasicProgressBarUI -->
|
||||
*
|
||||
* @uiDefault ProgressBar.font Font
|
||||
* @uiDefault ProgressBar.background Color
|
||||
* @uiDefault ProgressBar.foreground Color
|
||||
* @uiDefault ProgressBar.selectionBackground Color
|
||||
* @uiDefault ProgressBar.selectionForeground Color
|
||||
* @uiDefault ProgressBar.border Border
|
||||
* @uiDefault ProgressBar.horizontalSize Dimension default is 146,12
|
||||
* @uiDefault ProgressBar.verticalSize Dimension default is 12,146
|
||||
* @uiDefault ProgressBar.repaintInterval int default is 50 milliseconds
|
||||
* @uiDefault ProgressBar.cycleTime int default is 3000 milliseconds
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatProgressBarUI
|
||||
|
||||
@@ -25,6 +25,26 @@ import javax.swing.plaf.basic.BasicRadioButtonMenuItemUI;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JRadioButtonMenuItem}.
|
||||
*
|
||||
* <!-- BasicRadioButtonMenuItemUI -->
|
||||
*
|
||||
* @uiDefault RadioButtonMenuItem.font Font
|
||||
* @uiDefault RadioButtonMenuItem.background Color
|
||||
* @uiDefault RadioButtonMenuItem.foreground Color
|
||||
* @uiDefault RadioButtonMenuItem.disabledForeground Color
|
||||
* @uiDefault RadioButtonMenuItem.selectionBackground Color
|
||||
* @uiDefault RadioButtonMenuItem.selectionForeground Color
|
||||
* @uiDefault RadioButtonMenuItem.acceleratorForeground Color
|
||||
* @uiDefault RadioButtonMenuItem.acceleratorSelectionForeground Color
|
||||
* @uiDefault MenuItem.acceleratorFont Font defaults to MenuItem.font
|
||||
* @uiDefault MenuItem.acceleratorDelimiter String
|
||||
* @uiDefault RadioButtonMenuItem.border Border
|
||||
* @uiDefault RadioButtonMenuItem.borderPainted boolean
|
||||
* @uiDefault RadioButtonMenuItem.margin Insets
|
||||
* @uiDefault RadioButtonMenuItem.arrowIcon Icon
|
||||
* @uiDefault RadioButtonMenuItem.checkIcon Icon
|
||||
* @uiDefault RadioButtonMenuItem.opaque boolean
|
||||
* @uiDefault RadioButtonMenuItem.evenHeight boolean
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatRadioButtonMenuItemUI
|
||||
|
||||
@@ -30,10 +30,20 @@ import javax.swing.plaf.basic.BasicRadioButtonUI;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JRadioButton}.
|
||||
*
|
||||
* TODO document used UI defaults of superclass
|
||||
* <!-- BasicRadioButtonUI -->
|
||||
*
|
||||
* @uiDefault Button.iconTextGap int
|
||||
* @uiDefault Button.disabledText Color
|
||||
* @uiDefault RadioButton.font Font
|
||||
* @uiDefault RadioButton.background Color
|
||||
* @uiDefault RadioButton.foreground Color
|
||||
* @uiDefault RadioButton.border Border
|
||||
* @uiDefault RadioButton.margin Insets
|
||||
* @uiDefault RadioButton.rollover boolean
|
||||
* @uiDefault RadioButton.icon Icon
|
||||
*
|
||||
* <!-- FlatRadioButtonUI -->
|
||||
*
|
||||
* @uiDefault RadioButton.iconTextGap int
|
||||
* @uiDefault RadioButton.disabledText Color
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
|
||||
@@ -32,6 +32,8 @@ import com.formdev.flatlaf.util.UIScale;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JScrollBar}.
|
||||
*
|
||||
* <!-- BasicScrollBarUI -->
|
||||
*
|
||||
* @uiDefault ScrollBar.background Color
|
||||
* @uiDefault ScrollBar.foreground Color
|
||||
* @uiDefault ScrollBar.track Color
|
||||
@@ -39,8 +41,8 @@ import com.formdev.flatlaf.util.UIScale;
|
||||
* @uiDefault ScrollBar.hoverTrackColor Color
|
||||
* @uiDefault ScrollBar.hoverThumbColor Color
|
||||
* @uiDefault ScrollBar.width int
|
||||
* @uiDefault ScrollBar.minimumThumbSize Insets
|
||||
* @uiDefault ScrollBar.maximumThumbSize Insets
|
||||
* @uiDefault ScrollBar.minimumThumbSize Dimension
|
||||
* @uiDefault ScrollBar.maximumThumbSize Dimension
|
||||
* @uiDefault ScrollBar.allowsAbsolutePositioning boolean
|
||||
*
|
||||
* @author Karl Tauber
|
||||
|
||||
@@ -35,6 +35,14 @@ import javax.swing.plaf.basic.BasicScrollPaneUI;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JScrollPane}.
|
||||
*
|
||||
* <!-- BasicScrollPaneUI -->
|
||||
*
|
||||
* @uiDefault ScrollPane.font Font unused
|
||||
* @uiDefault ScrollPane.background Color
|
||||
* @uiDefault ScrollPane.foreground Color unused
|
||||
* @uiDefault ScrollPane.border Border
|
||||
* @uiDefault ScrollPane.viewportBorder Border
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatScrollPaneUI
|
||||
|
||||
@@ -30,8 +30,13 @@ import javax.swing.plaf.basic.BasicSeparatorUI;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JSeparator}.
|
||||
*
|
||||
* <!-- BasicSeparatorUI -->
|
||||
*
|
||||
* @uiDefault Separator.background Color unused
|
||||
* @uiDefault Separator.foreground Color
|
||||
*
|
||||
* <!-- FlatSeparatorUI -->
|
||||
*
|
||||
* @uiDefault Separator.height int height (or width) of the component; may be larger than stripe
|
||||
* @uiDefault Separator.stripeWidth int width of the stripe
|
||||
* @uiDefault Separator.stripeIndent int indent of stripe from top (or left); allows positioning of stripe within component
|
||||
|
||||
@@ -34,21 +34,27 @@ import com.formdev.flatlaf.util.UIScale;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JSlider}.
|
||||
*
|
||||
* <!-- BasicSliderUI -->
|
||||
*
|
||||
* @uiDefault Slider.font Font
|
||||
* @uiDefault Slider.background Color
|
||||
* @uiDefault Slider.foreground Color unused
|
||||
* @uiDefault Slider.disabledForeground Color used for track and thumb if disabled
|
||||
* @uiDefault Slider.trackColor Color
|
||||
* @uiDefault Slider.thumbColor Color
|
||||
* @uiDefault Slider.tickColor Color
|
||||
* @uiDefault Slider.focusedColor Color
|
||||
* @uiDefault Slider.hoverColor Color optional; defaults to Slider.focusedColor
|
||||
* @uiDefault Slider.trackWidth int
|
||||
* @uiDefault Slider.thumbWidth int
|
||||
* @uiDefault Slider.horizontalSize Dimension preferred horizontal size; height is ignored; computed slider height is used
|
||||
* @uiDefault Slider.verticalSize Dimension preferred vertical size; width is ignored; computed slider width is used
|
||||
* @uiDefault Slider.minimumHorizontalSize Dimension height is ignored; computed slider height is used
|
||||
* @uiDefault Slider.minimumVerticalSize Dimension width is ignored; computed slider width is used
|
||||
* @uiDefault Slider.border Border
|
||||
*
|
||||
* <!-- FlatSliderUI -->
|
||||
*
|
||||
* @uiDefault Slider.trackWidth int
|
||||
* @uiDefault Slider.thumbWidth int
|
||||
* @uiDefault Slider.trackColor Color
|
||||
* @uiDefault Slider.thumbColor Color
|
||||
* @uiDefault Slider.focusedColor Color
|
||||
* @uiDefault Slider.hoverColor Color optional; defaults to Slider.focusedColor
|
||||
* @uiDefault Slider.disabledForeground Color used for track and thumb is disabled
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
|
||||
@@ -44,7 +44,17 @@ import javax.swing.plaf.basic.BasicSpinnerUI;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JSpinner}.
|
||||
*
|
||||
* TODO document used UI defaults of superclass
|
||||
* <!-- BasicSpinnerUI -->
|
||||
*
|
||||
* @uiDefault Spinner.font Font
|
||||
* @uiDefault Spinner.background Color
|
||||
* @uiDefault Spinner.foreground Color
|
||||
* @uiDefault Spinner.border Border
|
||||
* @uiDefault Spinner.disableOnBoundaryValues boolean default is false
|
||||
* @uiDefault Spinner.editorAlignment int 0=center, 2=left, 4=right, 10=leading, 11=trailing
|
||||
* @uiDefault Spinner.editorBorderPainted boolean paint inner editor border; defaults to false
|
||||
*
|
||||
* <!-- FlatSpinnerUI -->
|
||||
*
|
||||
* @uiDefault Component.focusWidth int
|
||||
* @uiDefault Component.arc int
|
||||
|
||||
@@ -31,14 +31,19 @@ import com.formdev.flatlaf.util.UIScale;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JSplitPane}.
|
||||
*
|
||||
* @uiDefault Component.arrowType String triangle (default) or chevron
|
||||
* <!-- BasicSplitPaneUI -->
|
||||
*
|
||||
* @uiDefault SplitPane.background Color
|
||||
* @uiDefault SplitPane.foreground Color unused
|
||||
* @uiDefault SplitPane.dividerSize int
|
||||
* @uiDefault SplitPane.continuousLayout boolean
|
||||
* @uiDefault SplitPane.border Border
|
||||
* @uiDefault SplitPaneDivider.border Border
|
||||
* @uiDefault SplitPaneDivider.draggingColor Color only used if continuousLayout is false
|
||||
*
|
||||
* <!-- FlatSplitPaneUI -->
|
||||
*
|
||||
* @uiDefault Component.arrowType String triangle (default) or chevron
|
||||
* @uiDefault SplitPane.continuousLayout boolean
|
||||
* @uiDefault SplitPaneDivider.oneTouchArrowColor Color
|
||||
* @uiDefault SplitPaneDivider.oneTouchHoverArrowColor Color
|
||||
*
|
||||
|
||||
@@ -36,7 +36,13 @@ import com.formdev.flatlaf.util.UIScale;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.table.JTableHeader}.
|
||||
*
|
||||
* TODO document used UI defaults of superclass
|
||||
* <!-- BasicTableHeaderUI -->
|
||||
*
|
||||
* @uiDefault TableHeader.font Font
|
||||
* @uiDefault TableHeader.background Color
|
||||
* @uiDefault TableHeader.foreground Color
|
||||
*
|
||||
* <!-- FlatTableHeaderUI -->
|
||||
*
|
||||
* @uiDefault TableHeader.separatorColor Color
|
||||
* @uiDefault TableHeader.bottomSeparatorColor Color
|
||||
|
||||
@@ -29,7 +29,30 @@ import com.formdev.flatlaf.util.UIScale;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JTable}.
|
||||
*
|
||||
* TODO document used UI defaults of superclass
|
||||
* <!-- BasicTableUI -->
|
||||
*
|
||||
* @uiDefault Table.font Font
|
||||
* @uiDefault Table.background Color
|
||||
* @uiDefault Table.foreground Color
|
||||
* @uiDefault Table.selectionBackground Color
|
||||
* @uiDefault Table.selectionForeground Color
|
||||
* @uiDefault Table.gridColor Color
|
||||
* @uiDefault Table.scrollPaneBorder Border
|
||||
* @uiDefault Table.dropLineColor Color
|
||||
* @uiDefault Table.dropLineShortColor Color
|
||||
*
|
||||
* <!-- DefaultTableCellRenderer -->
|
||||
*
|
||||
* @uiDefault Table.cellNoFocusBorder Border
|
||||
* @uiDefault Table.focusCellHighlightBorder Border
|
||||
* @uiDefault Table.focusSelectedCellHighlightBorder Border
|
||||
* @uiDefault Table.dropCellBackground Color
|
||||
* @uiDefault Table.dropCellForeground Color
|
||||
* @uiDefault Table.alternateRowColor Color
|
||||
* @uiDefault Table.focusCellBackground Color
|
||||
* @uiDefault Table.focusCellForeground Color
|
||||
*
|
||||
* <!-- FlatTableUI -->
|
||||
*
|
||||
* @uiDefault Table.rowHeight int
|
||||
* @uiDefault Table.selectionInactiveBackground Color
|
||||
|
||||
@@ -31,11 +31,24 @@ import javax.swing.text.JTextComponent;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JTextArea}.
|
||||
*
|
||||
* TODO document used UI defaults of superclass
|
||||
* <!-- BasicTextAreaUI -->
|
||||
*
|
||||
* @uiDefault TextArea.font Font
|
||||
* @uiDefault TextArea.background Color
|
||||
* @uiDefault TextArea.foreground Color also used if not editable
|
||||
* @uiDefault TextArea.caretForeground Color
|
||||
* @uiDefault TextArea.selectionBackground Color
|
||||
* @uiDefault TextArea.selectionForeground Color
|
||||
* @uiDefault TextArea.inactiveForeground Color used if not enabled (yes, this is confusing; this should be named disabledForeground)
|
||||
* @uiDefault TextArea.border Border
|
||||
* @uiDefault TextArea.margin Insets
|
||||
* @uiDefault TextArea.caretBlinkRate int default is 500 milliseconds
|
||||
*
|
||||
* <!-- FlatTextAreaUI -->
|
||||
*
|
||||
* @uiDefault Component.minimumWidth int
|
||||
* @uiDefault TextArea.disabledBackground Color
|
||||
* @uiDefault TextArea.inactiveBackground Color
|
||||
* @uiDefault TextArea.disabledBackground Color used if not enabled
|
||||
* @uiDefault TextArea.inactiveBackground Color used if not editable
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
|
||||
@@ -35,7 +35,22 @@ import javax.swing.text.JTextComponent;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JTextField}.
|
||||
*
|
||||
* TODO document used UI defaults of superclass
|
||||
* <!-- BasicTextFieldUI -->
|
||||
*
|
||||
* @uiDefault TextField.font Font
|
||||
* @uiDefault TextField.background Color
|
||||
* @uiDefault TextField.foreground Color also used if not editable
|
||||
* @uiDefault TextField.caretForeground Color
|
||||
* @uiDefault TextField.selectionBackground Color
|
||||
* @uiDefault TextField.selectionForeground Color
|
||||
* @uiDefault TextField.disabledBackground Color used if not enabled
|
||||
* @uiDefault TextField.inactiveBackground Color used if not editable
|
||||
* @uiDefault TextField.inactiveForeground Color used if not enabled (yes, this is confusing; this should be named disabledForeground)
|
||||
* @uiDefault TextField.border Border
|
||||
* @uiDefault TextField.margin Insets
|
||||
* @uiDefault TextField.caretBlinkRate int default is 500 milliseconds
|
||||
*
|
||||
* <!-- FlatTextFieldUI -->
|
||||
*
|
||||
* @uiDefault Component.focusWidth int
|
||||
* @uiDefault Component.minimumWidth int
|
||||
|
||||
@@ -27,7 +27,22 @@ import javax.swing.plaf.basic.BasicTextPaneUI;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JTextPane}.
|
||||
*
|
||||
* TODO document used UI defaults of superclass
|
||||
* <!-- BasicTextPaneUI -->
|
||||
*
|
||||
* @uiDefault TextPane.font Font
|
||||
* @uiDefault TextPane.background Color
|
||||
* @uiDefault TextPane.foreground Color also used if not editable
|
||||
* @uiDefault TextPane.caretForeground Color
|
||||
* @uiDefault TextPane.selectionBackground Color
|
||||
* @uiDefault TextPane.selectionForeground Color
|
||||
* @uiDefault TextPane.disabledBackground Color used if not enabled
|
||||
* @uiDefault TextPane.inactiveBackground Color used if not editable
|
||||
* @uiDefault TextPane.inactiveForeground Color used if not enabled (yes, this is confusing; this should be named disabledForeground)
|
||||
* @uiDefault TextPane.border Border
|
||||
* @uiDefault TextPane.margin Insets
|
||||
* @uiDefault TextPane.caretBlinkRate int default is 500 milliseconds
|
||||
*
|
||||
* <!-- FlatTextPaneUI -->
|
||||
*
|
||||
* @uiDefault Component.minimumWidth int
|
||||
*
|
||||
|
||||
@@ -26,17 +26,31 @@ import javax.swing.plaf.ComponentUI;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JToggleButton}.
|
||||
*
|
||||
* TODO document used UI defaults of superclass
|
||||
* <!-- BasicButtonUI -->
|
||||
*
|
||||
* @uiDefault ToggleButton.font Font
|
||||
* @uiDefault ToggleButton.background Color
|
||||
* @uiDefault ToggleButton.foreground Color
|
||||
* @uiDefault ToggleButton.border Border
|
||||
* @uiDefault ToggleButton.margin Insets
|
||||
* @uiDefault ToggleButton.rollover boolean
|
||||
*
|
||||
* <!-- FlatButtonUI -->
|
||||
*
|
||||
* @uiDefault Component.focusWidth int
|
||||
* @uiDefault ToggleButton.arc int
|
||||
* @uiDefault ToggleButton.minimumWidth int
|
||||
* @uiDefault ToggleButton.iconTextGap int
|
||||
* @uiDefault ToggleButton.pressedBackground Color
|
||||
* @uiDefault ToggleButton.disabledText Color
|
||||
* @uiDefault ToggleButton.toolbar.hoverBackground Color
|
||||
* @uiDefault ToggleButton.toolbar.pressedBackground Color
|
||||
*
|
||||
* <!-- FlatToggleButtonUI -->
|
||||
*
|
||||
* @uiDefault ToggleButton.selectedBackground Color
|
||||
* @uiDefault ToggleButton.selectedForeground Color
|
||||
* @uiDefault ToggleButton.disabledSelectedBackground Color
|
||||
* @uiDefault ToggleButton.toolbar.hoverBackground Color
|
||||
* @uiDefault ToggleButton.toolbar.pressedBackground Color
|
||||
* @uiDefault ToggleButton.toolbar.selectedBackground Color
|
||||
*
|
||||
*
|
||||
|
||||
@@ -33,6 +33,8 @@ import javax.swing.plaf.basic.BasicToolBarSeparatorUI;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JToolBar.Separator}.
|
||||
*
|
||||
* <!-- FlatToolBarSeparatorUI -->
|
||||
*
|
||||
* @uiDefault ToolBar.separatorWidth int
|
||||
* @uiDefault ToolBar.separatorColor Color
|
||||
*
|
||||
|
||||
@@ -33,7 +33,19 @@ import javax.swing.plaf.basic.BasicToolBarUI;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JToolBar}.
|
||||
*
|
||||
* TODO document used UI defaults of superclass
|
||||
* <!-- BasicToolBarUI -->
|
||||
*
|
||||
* @uiDefault ToolBar.font Font
|
||||
* @uiDefault ToolBar.background Color
|
||||
* @uiDefault ToolBar.foreground Color
|
||||
* @uiDefault ToolBar.border Border
|
||||
* @uiDefault ToolBar.dockingBackground Color
|
||||
* @uiDefault ToolBar.dockingForeground Color
|
||||
* @uiDefault ToolBar.floatingBackground Color
|
||||
* @uiDefault ToolBar.floatingForeground Color
|
||||
* @uiDefault ToolBar.isRollover boolean
|
||||
*
|
||||
* <!-- FlatToolBarUI -->
|
||||
*
|
||||
* @uiDefault ToolBar.buttonMargins Insets
|
||||
*
|
||||
|
||||
@@ -32,6 +32,16 @@ import com.formdev.flatlaf.FlatLaf;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JToolTip}.
|
||||
*
|
||||
* <!-- BasicToolTipUI -->
|
||||
*
|
||||
* @uiDefault ToolTip.font Font
|
||||
* @uiDefault ToolTip.background Color
|
||||
* @uiDefault ToolTip.foreground Color
|
||||
* @uiDefault ToolTip.backgroundInactive Color
|
||||
* @uiDefault ToolTip.foregroundInactive Color
|
||||
* @uiDefault ToolTip.border Border
|
||||
* @uiDefault ToolTip.borderInactive Border
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatToolTipUI
|
||||
|
||||
@@ -27,6 +27,12 @@ import javax.swing.plaf.basic.BasicViewportUI;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JViewport}.
|
||||
*
|
||||
* <!-- BasicViewportUI -->
|
||||
*
|
||||
* @uiDefault Viewport.font Font unused
|
||||
* @uiDefault Viewport.background Color
|
||||
* @uiDefault Viewport.foreground Color unused
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatViewportUI
|
||||
|
||||
Reference in New Issue
Block a user