mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 22:10:54 +03:00
ComboBox, Spinner and SplitPaneDivider: support "pressed" feedback on arrow buttons
This commit is contained in:
@@ -1,6 +1,14 @@
|
|||||||
FlatLaf Change Log
|
FlatLaf Change Log
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
## 0.47-SNAPSHOT
|
||||||
|
|
||||||
|
#### New features and improvements
|
||||||
|
|
||||||
|
- ComboBox, Spinner and SplitPaneDivider: Added pressed feedback to arrow
|
||||||
|
buttons.
|
||||||
|
|
||||||
|
|
||||||
## 0.46
|
## 0.46
|
||||||
|
|
||||||
#### New features and improvements
|
#### New features and improvements
|
||||||
|
|||||||
@@ -57,18 +57,6 @@ public class FlatArrowButton
|
|||||||
private boolean hover;
|
private boolean hover;
|
||||||
private boolean pressed;
|
private boolean pressed;
|
||||||
|
|
||||||
public FlatArrowButton( int direction, String type, Color foreground, Color disabledForeground,
|
|
||||||
Color hoverForeground, Color hoverBackground )
|
|
||||||
{
|
|
||||||
this( direction, type, foreground, disabledForeground, hoverForeground, hoverBackground, null );
|
|
||||||
}
|
|
||||||
|
|
||||||
public FlatArrowButton( int direction, String type, Color foreground, Color disabledForeground,
|
|
||||||
Color hoverForeground, Color hoverBackground, Color pressedBackground )
|
|
||||||
{
|
|
||||||
this( direction, type, foreground, disabledForeground, hoverForeground, hoverBackground, null, pressedBackground );
|
|
||||||
}
|
|
||||||
|
|
||||||
public FlatArrowButton( int direction, String type, Color foreground, Color disabledForeground,
|
public FlatArrowButton( int direction, String type, Color foreground, Color disabledForeground,
|
||||||
Color hoverForeground, Color hoverBackground, Color pressedForeground, Color pressedBackground )
|
Color hoverForeground, Color hoverBackground, Color pressedForeground, Color pressedBackground )
|
||||||
{
|
{
|
||||||
@@ -85,7 +73,9 @@ public class FlatArrowButton
|
|||||||
setOpaque( false );
|
setOpaque( false );
|
||||||
setBorder( null );
|
setBorder( null );
|
||||||
|
|
||||||
if( hoverForeground != null || hoverBackground != null || pressedBackground != null ) {
|
if( hoverForeground != null || hoverBackground != null ||
|
||||||
|
pressedForeground != null || pressedBackground != null )
|
||||||
|
{
|
||||||
addMouseListener( new MouseAdapter() {
|
addMouseListener( new MouseAdapter() {
|
||||||
@Override
|
@Override
|
||||||
public void mouseEntered( MouseEvent e ) {
|
public void mouseEntered( MouseEvent e ) {
|
||||||
@@ -151,7 +141,7 @@ public class FlatArrowButton
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected Color deriveForeground( Color foreground ) {
|
protected Color deriveForeground( Color foreground ) {
|
||||||
return foreground;
|
return FlatUIUtils.deriveColor( foreground, this.foreground );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -34,6 +34,8 @@ import java.awt.event.ActionEvent;
|
|||||||
import java.awt.event.ActionListener;
|
import java.awt.event.ActionListener;
|
||||||
import java.awt.event.FocusEvent;
|
import java.awt.event.FocusEvent;
|
||||||
import java.awt.event.FocusListener;
|
import java.awt.event.FocusListener;
|
||||||
|
import java.awt.event.MouseAdapter;
|
||||||
|
import java.awt.event.MouseEvent;
|
||||||
import java.awt.event.MouseListener;
|
import java.awt.event.MouseListener;
|
||||||
import java.awt.geom.Rectangle2D;
|
import java.awt.geom.Rectangle2D;
|
||||||
import java.beans.PropertyChangeEvent;
|
import java.beans.PropertyChangeEvent;
|
||||||
@@ -97,6 +99,7 @@ import com.formdev.flatlaf.util.UIScale;
|
|||||||
* @uiDefault ComboBox.buttonArrowColor Color
|
* @uiDefault ComboBox.buttonArrowColor Color
|
||||||
* @uiDefault ComboBox.buttonDisabledArrowColor Color
|
* @uiDefault ComboBox.buttonDisabledArrowColor Color
|
||||||
* @uiDefault ComboBox.buttonHoverArrowColor Color
|
* @uiDefault ComboBox.buttonHoverArrowColor Color
|
||||||
|
* @uiDefault ComboBox.buttonPressedArrowColor Color
|
||||||
*
|
*
|
||||||
* @author Karl Tauber
|
* @author Karl Tauber
|
||||||
*/
|
*/
|
||||||
@@ -120,9 +123,11 @@ public class FlatComboBoxUI
|
|||||||
protected Color buttonArrowColor;
|
protected Color buttonArrowColor;
|
||||||
protected Color buttonDisabledArrowColor;
|
protected Color buttonDisabledArrowColor;
|
||||||
protected Color buttonHoverArrowColor;
|
protected Color buttonHoverArrowColor;
|
||||||
|
protected Color buttonPressedArrowColor;
|
||||||
|
|
||||||
private MouseListener hoverListener;
|
private MouseListener hoverListener;
|
||||||
protected boolean hover;
|
protected boolean hover;
|
||||||
|
protected boolean pressed;
|
||||||
|
|
||||||
private WeakReference<Component> lastRendererComponent;
|
private WeakReference<Component> lastRendererComponent;
|
||||||
|
|
||||||
@@ -134,13 +139,36 @@ public class FlatComboBoxUI
|
|||||||
protected void installListeners() {
|
protected void installListeners() {
|
||||||
super.installListeners();
|
super.installListeners();
|
||||||
|
|
||||||
hoverListener = new FlatUIUtils.HoverListener( null, h -> {
|
hoverListener = new MouseAdapter() {
|
||||||
if( !comboBox.isEditable() ) {
|
@Override
|
||||||
hover = h;
|
public void mouseEntered( MouseEvent e ) {
|
||||||
if( arrowButton != null )
|
hover = true;
|
||||||
|
repaintArrowButton();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void mouseExited( MouseEvent e ) {
|
||||||
|
hover = false;
|
||||||
|
repaintArrowButton();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void mousePressed( MouseEvent e ) {
|
||||||
|
pressed = true;
|
||||||
|
repaintArrowButton();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void mouseReleased( MouseEvent e ) {
|
||||||
|
pressed = false;
|
||||||
|
repaintArrowButton();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void repaintArrowButton() {
|
||||||
|
if( arrowButton != null && !comboBox.isEditable() )
|
||||||
arrowButton.repaint();
|
arrowButton.repaint();
|
||||||
}
|
}
|
||||||
} );
|
};
|
||||||
comboBox.addMouseListener( hoverListener );
|
comboBox.addMouseListener( hoverListener );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -175,6 +203,7 @@ public class FlatComboBoxUI
|
|||||||
buttonArrowColor = UIManager.getColor( "ComboBox.buttonArrowColor" );
|
buttonArrowColor = UIManager.getColor( "ComboBox.buttonArrowColor" );
|
||||||
buttonDisabledArrowColor = UIManager.getColor( "ComboBox.buttonDisabledArrowColor" );
|
buttonDisabledArrowColor = UIManager.getColor( "ComboBox.buttonDisabledArrowColor" );
|
||||||
buttonHoverArrowColor = UIManager.getColor( "ComboBox.buttonHoverArrowColor" );
|
buttonHoverArrowColor = UIManager.getColor( "ComboBox.buttonHoverArrowColor" );
|
||||||
|
buttonPressedArrowColor = UIManager.getColor( "ComboBox.buttonPressedArrowColor" );
|
||||||
|
|
||||||
// set maximumRowCount
|
// set maximumRowCount
|
||||||
int maximumRowCount = UIManager.getInt( "ComboBox.maximumRowCount" );
|
int maximumRowCount = UIManager.getInt( "ComboBox.maximumRowCount" );
|
||||||
@@ -203,6 +232,7 @@ public class FlatComboBoxUI
|
|||||||
buttonArrowColor = null;
|
buttonArrowColor = null;
|
||||||
buttonDisabledArrowColor = null;
|
buttonDisabledArrowColor = null;
|
||||||
buttonHoverArrowColor = null;
|
buttonHoverArrowColor = null;
|
||||||
|
buttonPressedArrowColor = null;
|
||||||
|
|
||||||
MigLayoutVisualPadding.uninstall( comboBox );
|
MigLayoutVisualPadding.uninstall( comboBox );
|
||||||
}
|
}
|
||||||
@@ -516,19 +546,26 @@ public class FlatComboBoxUI
|
|||||||
extends FlatArrowButton
|
extends FlatArrowButton
|
||||||
{
|
{
|
||||||
protected FlatComboBoxButton() {
|
protected FlatComboBoxButton() {
|
||||||
this( SwingConstants.SOUTH, arrowType, buttonArrowColor, buttonDisabledArrowColor, buttonHoverArrowColor, null, null );
|
this( SwingConstants.SOUTH, arrowType, buttonArrowColor, buttonDisabledArrowColor,
|
||||||
|
buttonHoverArrowColor, null, buttonPressedArrowColor, null );
|
||||||
}
|
}
|
||||||
|
|
||||||
protected FlatComboBoxButton( int direction, String type, Color foreground, Color disabledForeground,
|
protected FlatComboBoxButton( int direction, String type, Color foreground, Color disabledForeground,
|
||||||
Color hoverForeground, Color hoverBackground, Color pressedBackground )
|
Color hoverForeground, Color hoverBackground, Color pressedForeground, Color pressedBackground )
|
||||||
{
|
{
|
||||||
super( direction, type, foreground, disabledForeground, hoverForeground, hoverBackground, pressedBackground );
|
super( direction, type, foreground, disabledForeground,
|
||||||
|
hoverForeground, hoverBackground, pressedForeground, pressedBackground );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean isHover() {
|
protected boolean isHover() {
|
||||||
return super.isHover() || (!comboBox.isEditable() ? hover : false);
|
return super.isHover() || (!comboBox.isEditable() ? hover : false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected boolean isPressed() {
|
||||||
|
return super.isPressed() || (!comboBox.isEditable() ? pressed : false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//---- class FlatComboPopup -----------------------------------------------
|
//---- class FlatComboPopup -----------------------------------------------
|
||||||
|
|||||||
@@ -357,13 +357,14 @@ public class FlatScrollBarUI
|
|||||||
{
|
{
|
||||||
protected FlatScrollBarButton( int direction ) {
|
protected FlatScrollBarButton( int direction ) {
|
||||||
this( direction, arrowType, buttonArrowColor, buttonDisabledArrowColor,
|
this( direction, arrowType, buttonArrowColor, buttonDisabledArrowColor,
|
||||||
null, hoverButtonBackground, pressedButtonBackground );
|
null, hoverButtonBackground, null, pressedButtonBackground );
|
||||||
}
|
}
|
||||||
|
|
||||||
protected FlatScrollBarButton( int direction, String type, Color foreground, Color disabledForeground,
|
protected FlatScrollBarButton( int direction, String type, Color foreground, Color disabledForeground,
|
||||||
Color hoverForeground, Color hoverBackground, Color pressedBackground )
|
Color hoverForeground, Color hoverBackground, Color pressedForeground, Color pressedBackground )
|
||||||
{
|
{
|
||||||
super( direction, type, foreground, disabledForeground, hoverForeground, hoverBackground, pressedBackground );
|
super( direction, type, foreground, disabledForeground,
|
||||||
|
hoverForeground, hoverBackground, pressedForeground, pressedBackground );
|
||||||
|
|
||||||
setArrowWidth( FlatArrowButton.DEFAULT_ARROW_WIDTH - 2 );
|
setArrowWidth( FlatArrowButton.DEFAULT_ARROW_WIDTH - 2 );
|
||||||
setFocusable( false );
|
setFocusable( false );
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ import com.formdev.flatlaf.FlatClientProperties;
|
|||||||
* @uiDefault Spinner.buttonArrowColor Color
|
* @uiDefault Spinner.buttonArrowColor Color
|
||||||
* @uiDefault Spinner.buttonDisabledArrowColor Color
|
* @uiDefault Spinner.buttonDisabledArrowColor Color
|
||||||
* @uiDefault Spinner.buttonHoverArrowColor Color
|
* @uiDefault Spinner.buttonHoverArrowColor Color
|
||||||
|
* @uiDefault Spinner.buttonPressedArrowColor Color
|
||||||
* @uiDefault Spinner.padding Insets
|
* @uiDefault Spinner.padding Insets
|
||||||
*
|
*
|
||||||
* @author Karl Tauber
|
* @author Karl Tauber
|
||||||
@@ -90,6 +91,7 @@ public class FlatSpinnerUI
|
|||||||
protected Color buttonArrowColor;
|
protected Color buttonArrowColor;
|
||||||
protected Color buttonDisabledArrowColor;
|
protected Color buttonDisabledArrowColor;
|
||||||
protected Color buttonHoverArrowColor;
|
protected Color buttonHoverArrowColor;
|
||||||
|
protected Color buttonPressedArrowColor;
|
||||||
protected Insets padding;
|
protected Insets padding;
|
||||||
|
|
||||||
public static ComponentUI createUI( JComponent c ) {
|
public static ComponentUI createUI( JComponent c ) {
|
||||||
@@ -114,6 +116,7 @@ public class FlatSpinnerUI
|
|||||||
buttonArrowColor = UIManager.getColor( "Spinner.buttonArrowColor" );
|
buttonArrowColor = UIManager.getColor( "Spinner.buttonArrowColor" );
|
||||||
buttonDisabledArrowColor = UIManager.getColor( "Spinner.buttonDisabledArrowColor" );
|
buttonDisabledArrowColor = UIManager.getColor( "Spinner.buttonDisabledArrowColor" );
|
||||||
buttonHoverArrowColor = UIManager.getColor( "Spinner.buttonHoverArrowColor" );
|
buttonHoverArrowColor = UIManager.getColor( "Spinner.buttonHoverArrowColor" );
|
||||||
|
buttonPressedArrowColor = UIManager.getColor( "Spinner.buttonPressedArrowColor" );
|
||||||
padding = UIManager.getInsets( "Spinner.padding" );
|
padding = UIManager.getInsets( "Spinner.padding" );
|
||||||
|
|
||||||
// scale
|
// scale
|
||||||
@@ -134,6 +137,7 @@ public class FlatSpinnerUI
|
|||||||
buttonArrowColor = null;
|
buttonArrowColor = null;
|
||||||
buttonDisabledArrowColor = null;
|
buttonDisabledArrowColor = null;
|
||||||
buttonHoverArrowColor = null;
|
buttonHoverArrowColor = null;
|
||||||
|
buttonPressedArrowColor = null;
|
||||||
padding = null;
|
padding = null;
|
||||||
|
|
||||||
MigLayoutVisualPadding.uninstall( spinner );
|
MigLayoutVisualPadding.uninstall( spinner );
|
||||||
@@ -244,7 +248,7 @@ public class FlatSpinnerUI
|
|||||||
|
|
||||||
private Component createArrowButton( int direction, String name ) {
|
private Component createArrowButton( int direction, String name ) {
|
||||||
FlatArrowButton button = new FlatArrowButton( direction, arrowType, buttonArrowColor,
|
FlatArrowButton button = new FlatArrowButton( direction, arrowType, buttonArrowColor,
|
||||||
buttonDisabledArrowColor, buttonHoverArrowColor, null );
|
buttonDisabledArrowColor, buttonHoverArrowColor, null, buttonPressedArrowColor, null );
|
||||||
button.setName( name );
|
button.setName( name );
|
||||||
button.setYOffset( (direction == SwingConstants.NORTH) ? 1 : -1 );
|
button.setYOffset( (direction == SwingConstants.NORTH) ? 1 : -1 );
|
||||||
if( direction == SwingConstants.NORTH )
|
if( direction == SwingConstants.NORTH )
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ import com.formdev.flatlaf.util.UIScale;
|
|||||||
* @uiDefault SplitPane.continuousLayout boolean
|
* @uiDefault SplitPane.continuousLayout boolean
|
||||||
* @uiDefault SplitPaneDivider.oneTouchArrowColor Color
|
* @uiDefault SplitPaneDivider.oneTouchArrowColor Color
|
||||||
* @uiDefault SplitPaneDivider.oneTouchHoverArrowColor Color
|
* @uiDefault SplitPaneDivider.oneTouchHoverArrowColor Color
|
||||||
|
* @uiDefault SplitPaneDivider.oneTouchPressedArrowColor Color
|
||||||
* @uiDefault SplitPaneDivider.style String grip (default) or plain
|
* @uiDefault SplitPaneDivider.style String grip (default) or plain
|
||||||
* @uiDefault SplitPaneDivider.gripColor Color
|
* @uiDefault SplitPaneDivider.gripColor Color
|
||||||
* @uiDefault SplitPaneDivider.gripDotCount int
|
* @uiDefault SplitPaneDivider.gripDotCount int
|
||||||
@@ -67,6 +68,7 @@ public class FlatSplitPaneUI
|
|||||||
private Boolean continuousLayout;
|
private Boolean continuousLayout;
|
||||||
protected Color oneTouchArrowColor;
|
protected Color oneTouchArrowColor;
|
||||||
protected Color oneTouchHoverArrowColor;
|
protected Color oneTouchHoverArrowColor;
|
||||||
|
protected Color oneTouchPressedArrowColor;
|
||||||
|
|
||||||
public static ComponentUI createUI( JComponent c ) {
|
public static ComponentUI createUI( JComponent c ) {
|
||||||
return new FlatSplitPaneUI();
|
return new FlatSplitPaneUI();
|
||||||
@@ -80,12 +82,22 @@ public class FlatSplitPaneUI
|
|||||||
// used in there on LaF switching
|
// used in there on LaF switching
|
||||||
oneTouchArrowColor = UIManager.getColor( "SplitPaneDivider.oneTouchArrowColor" );
|
oneTouchArrowColor = UIManager.getColor( "SplitPaneDivider.oneTouchArrowColor" );
|
||||||
oneTouchHoverArrowColor = UIManager.getColor( "SplitPaneDivider.oneTouchHoverArrowColor" );
|
oneTouchHoverArrowColor = UIManager.getColor( "SplitPaneDivider.oneTouchHoverArrowColor" );
|
||||||
|
oneTouchPressedArrowColor = UIManager.getColor( "SplitPaneDivider.oneTouchPressedArrowColor" );
|
||||||
|
|
||||||
super.installDefaults();
|
super.installDefaults();
|
||||||
|
|
||||||
continuousLayout = (Boolean) UIManager.get( "SplitPane.continuousLayout" );
|
continuousLayout = (Boolean) UIManager.get( "SplitPane.continuousLayout" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void uninstallDefaults() {
|
||||||
|
super.uninstallDefaults();
|
||||||
|
|
||||||
|
oneTouchArrowColor = null;
|
||||||
|
oneTouchHoverArrowColor = null;
|
||||||
|
oneTouchPressedArrowColor = null;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isContinuousLayout() {
|
public boolean isContinuousLayout() {
|
||||||
return super.isContinuousLayout() || (continuousLayout != null && Boolean.TRUE.equals( continuousLayout ));
|
return super.isContinuousLayout() || (continuousLayout != null && Boolean.TRUE.equals( continuousLayout ));
|
||||||
@@ -185,7 +197,8 @@ public class FlatSplitPaneUI
|
|||||||
protected final boolean left;
|
protected final boolean left;
|
||||||
|
|
||||||
protected FlatOneTouchButton( boolean left ) {
|
protected FlatOneTouchButton( boolean left ) {
|
||||||
super( SwingConstants.NORTH, arrowType, oneTouchArrowColor, null, oneTouchHoverArrowColor, null );
|
super( SwingConstants.NORTH, arrowType, oneTouchArrowColor, null,
|
||||||
|
oneTouchHoverArrowColor, null, oneTouchPressedArrowColor, null );
|
||||||
setCursor( Cursor.getPredefinedCursor( Cursor.DEFAULT_CURSOR ) );
|
setCursor( Cursor.getPredefinedCursor( Cursor.DEFAULT_CURSOR ) );
|
||||||
ToolTipManager.sharedInstance().registerComponent( this );
|
ToolTipManager.sharedInstance().registerComponent( this );
|
||||||
|
|
||||||
|
|||||||
@@ -33,15 +33,12 @@ import java.awt.Shape;
|
|||||||
import java.awt.Window;
|
import java.awt.Window;
|
||||||
import java.awt.event.FocusEvent;
|
import java.awt.event.FocusEvent;
|
||||||
import java.awt.event.FocusListener;
|
import java.awt.event.FocusListener;
|
||||||
import java.awt.event.MouseAdapter;
|
|
||||||
import java.awt.event.MouseEvent;
|
|
||||||
import java.awt.geom.Ellipse2D;
|
import java.awt.geom.Ellipse2D;
|
||||||
import java.awt.geom.Path2D;
|
import java.awt.geom.Path2D;
|
||||||
import java.awt.geom.Rectangle2D;
|
import java.awt.geom.Rectangle2D;
|
||||||
import java.awt.geom.RoundRectangle2D;
|
import java.awt.geom.RoundRectangle2D;
|
||||||
import java.util.IdentityHashMap;
|
import java.util.IdentityHashMap;
|
||||||
import java.util.WeakHashMap;
|
import java.util.WeakHashMap;
|
||||||
import java.util.function.Consumer;
|
|
||||||
import java.util.function.Supplier;
|
import java.util.function.Supplier;
|
||||||
import javax.swing.JComponent;
|
import javax.swing.JComponent;
|
||||||
import javax.swing.JTable;
|
import javax.swing.JTable;
|
||||||
@@ -680,37 +677,6 @@ public class FlatUIUtils
|
|||||||
.computeIfAbsent( key, k -> newInstanceSupplier.get() );
|
.computeIfAbsent( key, k -> newInstanceSupplier.get() );
|
||||||
}
|
}
|
||||||
|
|
||||||
//---- class HoverListener ------------------------------------------------
|
|
||||||
|
|
||||||
public static class HoverListener
|
|
||||||
extends MouseAdapter
|
|
||||||
{
|
|
||||||
private final Component repaintComponent;
|
|
||||||
private final Consumer<Boolean> hoverChanged;
|
|
||||||
|
|
||||||
public HoverListener( Component repaintComponent, Consumer<Boolean> hoverChanged ) {
|
|
||||||
this.repaintComponent = repaintComponent;
|
|
||||||
this.hoverChanged = hoverChanged;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void mouseEntered( MouseEvent e ) {
|
|
||||||
hoverChanged.accept( true );
|
|
||||||
repaint();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void mouseExited( MouseEvent e ) {
|
|
||||||
hoverChanged.accept( false );
|
|
||||||
repaint();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void repaint() {
|
|
||||||
if( repaintComponent != null && repaintComponent.isEnabled() )
|
|
||||||
repaintComponent.repaint();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//---- class RepaintFocusListener -----------------------------------------
|
//---- class RepaintFocusListener -----------------------------------------
|
||||||
|
|
||||||
public static class RepaintFocusListener
|
public static class RepaintFocusListener
|
||||||
|
|||||||
@@ -121,8 +121,9 @@ CheckBox.icon[filled].selectedPressedBackground=darken($CheckBox.icon[filled].se
|
|||||||
|
|
||||||
ComboBox.buttonEditableBackground=#404445
|
ComboBox.buttonEditableBackground=#404445
|
||||||
ComboBox.buttonArrowColor=#9A9DA1
|
ComboBox.buttonArrowColor=#9A9DA1
|
||||||
ComboBox.buttonDisabledArrowColor=#585858
|
ComboBox.buttonDisabledArrowColor=darken($ComboBox.buttonArrowColor,25%)
|
||||||
ComboBox.buttonHoverArrowColor=#bbb
|
ComboBox.buttonHoverArrowColor=lighten($ComboBox.buttonArrowColor,10%,derived noAutoInverse)
|
||||||
|
ComboBox.buttonPressedArrowColor=lighten($ComboBox.buttonArrowColor,20%,derived noAutoInverse)
|
||||||
|
|
||||||
|
|
||||||
#---- Component ----
|
#---- Component ----
|
||||||
@@ -251,7 +252,6 @@ Slider.disabledThumbColor=$Slider.disabledTrackColor
|
|||||||
#---- SplitPane ----
|
#---- SplitPane ----
|
||||||
|
|
||||||
SplitPaneDivider.draggingColor=#646464
|
SplitPaneDivider.draggingColor=#646464
|
||||||
SplitPaneDivider.oneTouchHoverArrowColor=#7A7D81
|
|
||||||
|
|
||||||
|
|
||||||
#---- TabbedPane ----
|
#---- TabbedPane ----
|
||||||
|
|||||||
@@ -519,6 +519,7 @@ Spinner.buttonBackground=$ComboBox.buttonEditableBackground
|
|||||||
Spinner.buttonArrowColor=$ComboBox.buttonArrowColor
|
Spinner.buttonArrowColor=$ComboBox.buttonArrowColor
|
||||||
Spinner.buttonDisabledArrowColor=$ComboBox.buttonDisabledArrowColor
|
Spinner.buttonDisabledArrowColor=$ComboBox.buttonDisabledArrowColor
|
||||||
Spinner.buttonHoverArrowColor=$ComboBox.buttonHoverArrowColor
|
Spinner.buttonHoverArrowColor=$ComboBox.buttonHoverArrowColor
|
||||||
|
Spinner.buttonPressedArrowColor=$ComboBox.buttonPressedArrowColor
|
||||||
Spinner.padding=@textComponentMargin
|
Spinner.padding=@textComponentMargin
|
||||||
Spinner.editorBorderPainted=false
|
Spinner.editorBorderPainted=false
|
||||||
# allowed values: button or none
|
# allowed values: button or none
|
||||||
@@ -536,6 +537,8 @@ SplitPane.oneTouchButtonOffset={scaledInteger}2
|
|||||||
|
|
||||||
SplitPaneDivider.border=null
|
SplitPaneDivider.border=null
|
||||||
SplitPaneDivider.oneTouchArrowColor=$ComboBox.buttonArrowColor
|
SplitPaneDivider.oneTouchArrowColor=$ComboBox.buttonArrowColor
|
||||||
|
SplitPaneDivider.oneTouchHoverArrowColor=$ComboBox.buttonHoverArrowColor
|
||||||
|
SplitPaneDivider.oneTouchPressedArrowColor=$ComboBox.buttonPressedArrowColor
|
||||||
# allowed values: grip or plain
|
# allowed values: grip or plain
|
||||||
SplitPaneDivider.style=grip
|
SplitPaneDivider.style=grip
|
||||||
SplitPaneDivider.gripColor=@icon
|
SplitPaneDivider.gripColor=@icon
|
||||||
|
|||||||
@@ -128,8 +128,9 @@ CheckBox.icon[filled].selectedPressedBackground=darken($CheckBox.icon[filled].se
|
|||||||
|
|
||||||
ComboBox.buttonEditableBackground=#fafafa
|
ComboBox.buttonEditableBackground=#fafafa
|
||||||
ComboBox.buttonArrowColor=#666
|
ComboBox.buttonArrowColor=#666
|
||||||
ComboBox.buttonDisabledArrowColor=#ABABAB
|
ComboBox.buttonDisabledArrowColor=lighten($ComboBox.buttonArrowColor,25%)
|
||||||
ComboBox.buttonHoverArrowColor=#999
|
ComboBox.buttonHoverArrowColor=lighten($ComboBox.buttonArrowColor,20%,derived noAutoInverse)
|
||||||
|
ComboBox.buttonPressedArrowColor=lighten($ComboBox.buttonArrowColor,30%,derived noAutoInverse)
|
||||||
|
|
||||||
|
|
||||||
#---- Component ----
|
#---- Component ----
|
||||||
@@ -263,7 +264,6 @@ Slider.disabledThumbColor=$Slider.disabledTrackColor
|
|||||||
#---- SplitPane ----
|
#---- SplitPane ----
|
||||||
|
|
||||||
SplitPaneDivider.draggingColor=#c4c4c4
|
SplitPaneDivider.draggingColor=#c4c4c4
|
||||||
SplitPaneDivider.oneTouchHoverArrowColor=#333
|
|
||||||
|
|
||||||
|
|
||||||
#---- TabbedPane ----
|
#---- TabbedPane ----
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ public class FlatDatePickerUI
|
|||||||
protected Color buttonArrowColor;
|
protected Color buttonArrowColor;
|
||||||
protected Color buttonDisabledArrowColor;
|
protected Color buttonDisabledArrowColor;
|
||||||
protected Color buttonHoverArrowColor;
|
protected Color buttonHoverArrowColor;
|
||||||
|
protected Color buttonPressedArrowColor;
|
||||||
|
|
||||||
private JButton popupButton;
|
private JButton popupButton;
|
||||||
|
|
||||||
@@ -94,6 +95,7 @@ public class FlatDatePickerUI
|
|||||||
buttonArrowColor = UIManager.getColor( "ComboBox.buttonArrowColor" );
|
buttonArrowColor = UIManager.getColor( "ComboBox.buttonArrowColor" );
|
||||||
buttonDisabledArrowColor = UIManager.getColor( "ComboBox.buttonDisabledArrowColor" );
|
buttonDisabledArrowColor = UIManager.getColor( "ComboBox.buttonDisabledArrowColor" );
|
||||||
buttonHoverArrowColor = UIManager.getColor( "ComboBox.buttonHoverArrowColor" );
|
buttonHoverArrowColor = UIManager.getColor( "ComboBox.buttonHoverArrowColor" );
|
||||||
|
buttonPressedArrowColor = UIManager.getColor( "ComboBox.buttonPressedArrowColor" );
|
||||||
|
|
||||||
super.installUI( c );
|
super.installUI( c );
|
||||||
|
|
||||||
@@ -140,6 +142,7 @@ public class FlatDatePickerUI
|
|||||||
buttonArrowColor = null;
|
buttonArrowColor = null;
|
||||||
buttonDisabledArrowColor = null;
|
buttonDisabledArrowColor = null;
|
||||||
buttonHoverArrowColor = null;
|
buttonHoverArrowColor = null;
|
||||||
|
buttonPressedArrowColor = null;
|
||||||
|
|
||||||
if( datePicker.getBorder() instanceof UIResource )
|
if( datePicker.getBorder() instanceof UIResource )
|
||||||
datePicker.setBorder( null );
|
datePicker.setBorder( null );
|
||||||
@@ -160,7 +163,7 @@ public class FlatDatePickerUI
|
|||||||
@Override
|
@Override
|
||||||
protected JButton createPopupButton() {
|
protected JButton createPopupButton() {
|
||||||
popupButton = new FlatArrowButton( SwingConstants.SOUTH, arrowType, buttonArrowColor,
|
popupButton = new FlatArrowButton( SwingConstants.SOUTH, arrowType, buttonArrowColor,
|
||||||
buttonDisabledArrowColor, buttonHoverArrowColor, null );
|
buttonDisabledArrowColor, buttonHoverArrowColor, null, buttonPressedArrowColor, null );
|
||||||
popupButton.setName( "popupButton" );
|
popupButton.setName( "popupButton" );
|
||||||
return popupButton;
|
return popupButton;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -189,10 +189,11 @@ ComboBox.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.F
|
|||||||
ComboBox.buttonArrowColor #9a9da1 javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.buttonArrowColor #9a9da1 javax.swing.plaf.ColorUIResource [UI]
|
||||||
ComboBox.buttonBackground #45494a javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.buttonBackground #45494a javax.swing.plaf.ColorUIResource [UI]
|
||||||
ComboBox.buttonDarkShadow #7e7e7e javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.buttonDarkShadow #7e7e7e javax.swing.plaf.ColorUIResource [UI]
|
||||||
ComboBox.buttonDisabledArrowColor #585858 javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.buttonDisabledArrowColor #5a5d61 javax.swing.plaf.ColorUIResource [UI]
|
||||||
ComboBox.buttonEditableBackground #404445 javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.buttonEditableBackground #404445 javax.swing.plaf.ColorUIResource [UI]
|
||||||
ComboBox.buttonHighlight #242424 javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.buttonHighlight #242424 javax.swing.plaf.ColorUIResource [UI]
|
||||||
ComboBox.buttonHoverArrowColor #bbbbbb javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.buttonHoverArrowColor #b4b7ba com.formdev.flatlaf.util.DerivedColor [UI] lighten(10%)
|
||||||
|
ComboBox.buttonPressedArrowColor #cfd0d2 com.formdev.flatlaf.util.DerivedColor [UI] lighten(20%)
|
||||||
ComboBox.buttonShadow #646464 javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.buttonShadow #646464 javax.swing.plaf.ColorUIResource [UI]
|
||||||
ComboBox.buttonStyle auto
|
ComboBox.buttonStyle auto
|
||||||
ComboBox.disabledBackground #3c3f41 javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.disabledBackground #3c3f41 javax.swing.plaf.ColorUIResource [UI]
|
||||||
@@ -788,7 +789,7 @@ RootPaneUI com.formdev.flatlaf.ui.FlatRootPaneUI
|
|||||||
ScrollBar.allowsAbsolutePositioning true
|
ScrollBar.allowsAbsolutePositioning true
|
||||||
ScrollBar.background #3c3f41 javax.swing.plaf.ColorUIResource [UI]
|
ScrollBar.background #3c3f41 javax.swing.plaf.ColorUIResource [UI]
|
||||||
ScrollBar.buttonArrowColor #9a9da1 javax.swing.plaf.ColorUIResource [UI]
|
ScrollBar.buttonArrowColor #9a9da1 javax.swing.plaf.ColorUIResource [UI]
|
||||||
ScrollBar.buttonDisabledArrowColor #585858 javax.swing.plaf.ColorUIResource [UI]
|
ScrollBar.buttonDisabledArrowColor #5a5d61 javax.swing.plaf.ColorUIResource [UI]
|
||||||
ScrollBar.foreground #bbbbbb javax.swing.plaf.ColorUIResource [UI]
|
ScrollBar.foreground #bbbbbb javax.swing.plaf.ColorUIResource [UI]
|
||||||
ScrollBar.hoverButtonBackground #484c4e com.formdev.flatlaf.util.DerivedColor [UI] lighten(5%)
|
ScrollBar.hoverButtonBackground #484c4e com.formdev.flatlaf.util.DerivedColor [UI] lighten(5%)
|
||||||
ScrollBar.hoverThumbColor #6e767a com.formdev.flatlaf.util.DerivedColor [UI] lighten(10%)
|
ScrollBar.hoverThumbColor #6e767a com.formdev.flatlaf.util.DerivedColor [UI] lighten(10%)
|
||||||
@@ -874,8 +875,9 @@ Spinner.background #45494a javax.swing.plaf.ColorUIResource [UI]
|
|||||||
Spinner.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatRoundBorder [UI]
|
Spinner.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatRoundBorder [UI]
|
||||||
Spinner.buttonArrowColor #9a9da1 javax.swing.plaf.ColorUIResource [UI]
|
Spinner.buttonArrowColor #9a9da1 javax.swing.plaf.ColorUIResource [UI]
|
||||||
Spinner.buttonBackground #404445 javax.swing.plaf.ColorUIResource [UI]
|
Spinner.buttonBackground #404445 javax.swing.plaf.ColorUIResource [UI]
|
||||||
Spinner.buttonDisabledArrowColor #585858 javax.swing.plaf.ColorUIResource [UI]
|
Spinner.buttonDisabledArrowColor #5a5d61 javax.swing.plaf.ColorUIResource [UI]
|
||||||
Spinner.buttonHoverArrowColor #bbbbbb javax.swing.plaf.ColorUIResource [UI]
|
Spinner.buttonHoverArrowColor #b4b7ba com.formdev.flatlaf.util.DerivedColor [UI] lighten(10%)
|
||||||
|
Spinner.buttonPressedArrowColor #cfd0d2 com.formdev.flatlaf.util.DerivedColor [UI] lighten(20%)
|
||||||
Spinner.buttonStyle button
|
Spinner.buttonStyle button
|
||||||
Spinner.disabledBackground #3c3f41 javax.swing.plaf.ColorUIResource [UI]
|
Spinner.disabledBackground #3c3f41 javax.swing.plaf.ColorUIResource [UI]
|
||||||
Spinner.disabledForeground #888888 javax.swing.plaf.ColorUIResource [UI]
|
Spinner.disabledForeground #888888 javax.swing.plaf.ColorUIResource [UI]
|
||||||
@@ -908,7 +910,8 @@ SplitPaneDivider.gripDotCount 3
|
|||||||
SplitPaneDivider.gripDotSize 3
|
SplitPaneDivider.gripDotSize 3
|
||||||
SplitPaneDivider.gripGap 2
|
SplitPaneDivider.gripGap 2
|
||||||
SplitPaneDivider.oneTouchArrowColor #9a9da1 javax.swing.plaf.ColorUIResource [UI]
|
SplitPaneDivider.oneTouchArrowColor #9a9da1 javax.swing.plaf.ColorUIResource [UI]
|
||||||
SplitPaneDivider.oneTouchHoverArrowColor #7a7d81 javax.swing.plaf.ColorUIResource [UI]
|
SplitPaneDivider.oneTouchHoverArrowColor #b4b7ba com.formdev.flatlaf.util.DerivedColor [UI] lighten(10%)
|
||||||
|
SplitPaneDivider.oneTouchPressedArrowColor #cfd0d2 com.formdev.flatlaf.util.DerivedColor [UI] lighten(20%)
|
||||||
SplitPaneDivider.style grip
|
SplitPaneDivider.style grip
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -193,10 +193,11 @@ ComboBox.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.F
|
|||||||
ComboBox.buttonArrowColor #666666 javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.buttonArrowColor #666666 javax.swing.plaf.ColorUIResource [UI]
|
||||||
ComboBox.buttonBackground #ffffff javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.buttonBackground #ffffff javax.swing.plaf.ColorUIResource [UI]
|
||||||
ComboBox.buttonDarkShadow #9e9e9e javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.buttonDarkShadow #9e9e9e javax.swing.plaf.ColorUIResource [UI]
|
||||||
ComboBox.buttonDisabledArrowColor #ababab javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.buttonDisabledArrowColor #a6a6a6 javax.swing.plaf.ColorUIResource [UI]
|
||||||
ComboBox.buttonEditableBackground #fafafa javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.buttonEditableBackground #fafafa javax.swing.plaf.ColorUIResource [UI]
|
||||||
ComboBox.buttonHighlight #ffffff javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.buttonHighlight #ffffff javax.swing.plaf.ColorUIResource [UI]
|
||||||
ComboBox.buttonHoverArrowColor #999999 javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.buttonHoverArrowColor #999999 com.formdev.flatlaf.util.DerivedColor [UI] lighten(20%)
|
||||||
|
ComboBox.buttonPressedArrowColor #b3b3b3 com.formdev.flatlaf.util.DerivedColor [UI] lighten(30%)
|
||||||
ComboBox.buttonShadow #c4c4c4 javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.buttonShadow #c4c4c4 javax.swing.plaf.ColorUIResource [UI]
|
||||||
ComboBox.buttonStyle auto
|
ComboBox.buttonStyle auto
|
||||||
ComboBox.disabledBackground #f2f2f2 javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.disabledBackground #f2f2f2 javax.swing.plaf.ColorUIResource [UI]
|
||||||
@@ -793,7 +794,7 @@ RootPaneUI com.formdev.flatlaf.ui.FlatRootPaneUI
|
|||||||
ScrollBar.allowsAbsolutePositioning true
|
ScrollBar.allowsAbsolutePositioning true
|
||||||
ScrollBar.background #f2f2f2 javax.swing.plaf.ColorUIResource [UI]
|
ScrollBar.background #f2f2f2 javax.swing.plaf.ColorUIResource [UI]
|
||||||
ScrollBar.buttonArrowColor #666666 javax.swing.plaf.ColorUIResource [UI]
|
ScrollBar.buttonArrowColor #666666 javax.swing.plaf.ColorUIResource [UI]
|
||||||
ScrollBar.buttonDisabledArrowColor #ababab javax.swing.plaf.ColorUIResource [UI]
|
ScrollBar.buttonDisabledArrowColor #a6a6a6 javax.swing.plaf.ColorUIResource [UI]
|
||||||
ScrollBar.foreground #000000 javax.swing.plaf.ColorUIResource [UI]
|
ScrollBar.foreground #000000 javax.swing.plaf.ColorUIResource [UI]
|
||||||
ScrollBar.hoverButtonBackground #e5e5e5 com.formdev.flatlaf.util.DerivedColor [UI] darken(5%)
|
ScrollBar.hoverButtonBackground #e5e5e5 com.formdev.flatlaf.util.DerivedColor [UI] darken(5%)
|
||||||
ScrollBar.hoverThumbColor #c3c3c3 com.formdev.flatlaf.util.DerivedColor [UI] darken(10%)
|
ScrollBar.hoverThumbColor #c3c3c3 com.formdev.flatlaf.util.DerivedColor [UI] darken(10%)
|
||||||
@@ -879,8 +880,9 @@ Spinner.background #ffffff javax.swing.plaf.ColorUIResource [UI]
|
|||||||
Spinner.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatRoundBorder [UI]
|
Spinner.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatRoundBorder [UI]
|
||||||
Spinner.buttonArrowColor #666666 javax.swing.plaf.ColorUIResource [UI]
|
Spinner.buttonArrowColor #666666 javax.swing.plaf.ColorUIResource [UI]
|
||||||
Spinner.buttonBackground #fafafa javax.swing.plaf.ColorUIResource [UI]
|
Spinner.buttonBackground #fafafa javax.swing.plaf.ColorUIResource [UI]
|
||||||
Spinner.buttonDisabledArrowColor #ababab javax.swing.plaf.ColorUIResource [UI]
|
Spinner.buttonDisabledArrowColor #a6a6a6 javax.swing.plaf.ColorUIResource [UI]
|
||||||
Spinner.buttonHoverArrowColor #999999 javax.swing.plaf.ColorUIResource [UI]
|
Spinner.buttonHoverArrowColor #999999 com.formdev.flatlaf.util.DerivedColor [UI] lighten(20%)
|
||||||
|
Spinner.buttonPressedArrowColor #b3b3b3 com.formdev.flatlaf.util.DerivedColor [UI] lighten(30%)
|
||||||
Spinner.buttonStyle button
|
Spinner.buttonStyle button
|
||||||
Spinner.disabledBackground #f2f2f2 javax.swing.plaf.ColorUIResource [UI]
|
Spinner.disabledBackground #f2f2f2 javax.swing.plaf.ColorUIResource [UI]
|
||||||
Spinner.disabledForeground #8c8c8c javax.swing.plaf.ColorUIResource [UI]
|
Spinner.disabledForeground #8c8c8c javax.swing.plaf.ColorUIResource [UI]
|
||||||
@@ -913,7 +915,8 @@ SplitPaneDivider.gripDotCount 3
|
|||||||
SplitPaneDivider.gripDotSize 3
|
SplitPaneDivider.gripDotSize 3
|
||||||
SplitPaneDivider.gripGap 2
|
SplitPaneDivider.gripGap 2
|
||||||
SplitPaneDivider.oneTouchArrowColor #666666 javax.swing.plaf.ColorUIResource [UI]
|
SplitPaneDivider.oneTouchArrowColor #666666 javax.swing.plaf.ColorUIResource [UI]
|
||||||
SplitPaneDivider.oneTouchHoverArrowColor #333333 javax.swing.plaf.ColorUIResource [UI]
|
SplitPaneDivider.oneTouchHoverArrowColor #999999 com.formdev.flatlaf.util.DerivedColor [UI] lighten(20%)
|
||||||
|
SplitPaneDivider.oneTouchPressedArrowColor #b3b3b3 com.formdev.flatlaf.util.DerivedColor [UI] lighten(30%)
|
||||||
SplitPaneDivider.style grip
|
SplitPaneDivider.style grip
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -191,6 +191,7 @@ ComboBox.buttonDisabledArrowColor #ababab javax.swing.plaf.ColorUIResource [U
|
|||||||
ComboBox.buttonEditableBackground #cccccc javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.buttonEditableBackground #cccccc javax.swing.plaf.ColorUIResource [UI]
|
||||||
ComboBox.buttonHighlight #ffffff javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.buttonHighlight #ffffff javax.swing.plaf.ColorUIResource [UI]
|
||||||
ComboBox.buttonHoverArrowColor #ff0000 javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.buttonHoverArrowColor #ff0000 javax.swing.plaf.ColorUIResource [UI]
|
||||||
|
ComboBox.buttonPressedArrowColor #0000ff javax.swing.plaf.ColorUIResource [UI]
|
||||||
ComboBox.buttonShadow #a0a0a0 javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.buttonShadow #a0a0a0 javax.swing.plaf.ColorUIResource [UI]
|
||||||
ComboBox.buttonStyle auto
|
ComboBox.buttonStyle auto
|
||||||
ComboBox.disabledBackground #e0e0e0 javax.swing.plaf.ColorUIResource [UI]
|
ComboBox.disabledBackground #e0e0e0 javax.swing.plaf.ColorUIResource [UI]
|
||||||
@@ -873,6 +874,7 @@ Spinner.buttonArrowColor #666666 javax.swing.plaf.ColorUIResource [UI]
|
|||||||
Spinner.buttonBackground #cccccc javax.swing.plaf.ColorUIResource [UI]
|
Spinner.buttonBackground #cccccc javax.swing.plaf.ColorUIResource [UI]
|
||||||
Spinner.buttonDisabledArrowColor #ababab javax.swing.plaf.ColorUIResource [UI]
|
Spinner.buttonDisabledArrowColor #ababab javax.swing.plaf.ColorUIResource [UI]
|
||||||
Spinner.buttonHoverArrowColor #ff0000 javax.swing.plaf.ColorUIResource [UI]
|
Spinner.buttonHoverArrowColor #ff0000 javax.swing.plaf.ColorUIResource [UI]
|
||||||
|
Spinner.buttonPressedArrowColor #0000ff javax.swing.plaf.ColorUIResource [UI]
|
||||||
Spinner.buttonStyle button
|
Spinner.buttonStyle button
|
||||||
Spinner.disabledBackground #e0e0e0 javax.swing.plaf.ColorUIResource [UI]
|
Spinner.disabledBackground #e0e0e0 javax.swing.plaf.ColorUIResource [UI]
|
||||||
Spinner.disabledForeground #000088 javax.swing.plaf.ColorUIResource [UI]
|
Spinner.disabledForeground #000088 javax.swing.plaf.ColorUIResource [UI]
|
||||||
@@ -906,6 +908,7 @@ SplitPaneDivider.gripDotSize 3
|
|||||||
SplitPaneDivider.gripGap 2
|
SplitPaneDivider.gripGap 2
|
||||||
SplitPaneDivider.oneTouchArrowColor #00ff00 javax.swing.plaf.ColorUIResource [UI]
|
SplitPaneDivider.oneTouchArrowColor #00ff00 javax.swing.plaf.ColorUIResource [UI]
|
||||||
SplitPaneDivider.oneTouchHoverArrowColor #ff0000 javax.swing.plaf.ColorUIResource [UI]
|
SplitPaneDivider.oneTouchHoverArrowColor #ff0000 javax.swing.plaf.ColorUIResource [UI]
|
||||||
|
SplitPaneDivider.oneTouchPressedArrowColor #0000ff javax.swing.plaf.ColorUIResource [UI]
|
||||||
SplitPaneDivider.style grip
|
SplitPaneDivider.style grip
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -121,6 +121,7 @@ ComboBox.buttonEditableBackground=#ccc
|
|||||||
ComboBox.buttonArrowColor=#666
|
ComboBox.buttonArrowColor=#666
|
||||||
ComboBox.buttonDisabledArrowColor=#ABABAB
|
ComboBox.buttonDisabledArrowColor=#ABABAB
|
||||||
ComboBox.buttonHoverArrowColor=#f00
|
ComboBox.buttonHoverArrowColor=#f00
|
||||||
|
ComboBox.buttonPressedArrowColor=#00f
|
||||||
|
|
||||||
|
|
||||||
#---- Component ----
|
#---- Component ----
|
||||||
@@ -276,6 +277,7 @@ Slider.disabledThumbColor=#880
|
|||||||
SplitPaneDivider.draggingColor=#800
|
SplitPaneDivider.draggingColor=#800
|
||||||
SplitPaneDivider.oneTouchArrowColor=#0f0
|
SplitPaneDivider.oneTouchArrowColor=#0f0
|
||||||
SplitPaneDivider.oneTouchHoverArrowColor=#f00
|
SplitPaneDivider.oneTouchHoverArrowColor=#f00
|
||||||
|
SplitPaneDivider.oneTouchPressedArrowColor=#00f
|
||||||
|
|
||||||
|
|
||||||
#---- TabbedPane ----
|
#---- TabbedPane ----
|
||||||
|
|||||||
@@ -126,6 +126,7 @@ ComboBox.buttonDisabledArrowColor
|
|||||||
ComboBox.buttonEditableBackground
|
ComboBox.buttonEditableBackground
|
||||||
ComboBox.buttonHighlight
|
ComboBox.buttonHighlight
|
||||||
ComboBox.buttonHoverArrowColor
|
ComboBox.buttonHoverArrowColor
|
||||||
|
ComboBox.buttonPressedArrowColor
|
||||||
ComboBox.buttonShadow
|
ComboBox.buttonShadow
|
||||||
ComboBox.buttonStyle
|
ComboBox.buttonStyle
|
||||||
ComboBox.disabledBackground
|
ComboBox.disabledBackground
|
||||||
@@ -615,6 +616,7 @@ Spinner.buttonArrowColor
|
|||||||
Spinner.buttonBackground
|
Spinner.buttonBackground
|
||||||
Spinner.buttonDisabledArrowColor
|
Spinner.buttonDisabledArrowColor
|
||||||
Spinner.buttonHoverArrowColor
|
Spinner.buttonHoverArrowColor
|
||||||
|
Spinner.buttonPressedArrowColor
|
||||||
Spinner.buttonStyle
|
Spinner.buttonStyle
|
||||||
Spinner.disabledBackground
|
Spinner.disabledBackground
|
||||||
Spinner.disabledForeground
|
Spinner.disabledForeground
|
||||||
@@ -641,6 +643,7 @@ SplitPaneDivider.gripDotSize
|
|||||||
SplitPaneDivider.gripGap
|
SplitPaneDivider.gripGap
|
||||||
SplitPaneDivider.oneTouchArrowColor
|
SplitPaneDivider.oneTouchArrowColor
|
||||||
SplitPaneDivider.oneTouchHoverArrowColor
|
SplitPaneDivider.oneTouchHoverArrowColor
|
||||||
|
SplitPaneDivider.oneTouchPressedArrowColor
|
||||||
SplitPaneDivider.style
|
SplitPaneDivider.style
|
||||||
SplitPaneUI
|
SplitPaneUI
|
||||||
TabbedPane.ancestorInputMap
|
TabbedPane.ancestorInputMap
|
||||||
|
|||||||
Reference in New Issue
Block a user