public class Look
extends java.lang.Object
TableFilterHeader appearance.| Constructor and Description |
|---|
Look() |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Color |
getBackground()
Returns the background color used by the editors.
|
CustomChoiceDecorator |
getCustomChoiceDecorator()
Returns the registered
CustomChoiceDecorator. |
java.awt.Color |
getDisabledBackground()
Returns the background color used for disabled editors.
|
java.awt.Color |
getDisabledForeground()
Returns the foreground color used for disabled editors.
|
java.awt.Color |
getErrorForeground()
Returns the color set by default as foreground on each text editor
when the user commits any error on the filter expression.
|
java.awt.Font |
getFont()
Returns the font used on editors.
|
java.awt.Color |
getForeground()
Returns the foreground color used by the editors.
|
java.awt.Color |
getGridColor()
Returns the color set by default for the header's grid.
|
int |
getMaxVisiblePopupRows()
Returns the maximum number of visible rows in the popup menu.
|
java.awt.Color |
getSelectionBackground()
Returns the background color on focused editors.
|
java.awt.Color |
getSelectionForeground()
Returns the foreground color on focused editors.
|
java.awt.Color |
getTextSelection()
Returns the color set by default as text selection on filters.
|
java.awt.Color |
getWarningForeground()
Returns the color set by default as foreground on each text editor
when the filter would produce no visible rows
|
void |
setupComponent(java.awt.Component c,
boolean isSelected,
boolean isEnabled)
Prepares the provided component to have the expected appearance
Only the background, foreground and font are updated. |
public java.awt.Color getBackground()
public CustomChoiceDecorator getCustomChoiceDecorator()
CustomChoiceDecorator.public java.awt.Color getDisabledBackground()
public java.awt.Color getDisabledForeground()
public java.awt.Color getErrorForeground()
public java.awt.Font getFont()
public java.awt.Color getForeground()
public java.awt.Color getGridColor()
public int getMaxVisiblePopupRows()
public java.awt.Color getSelectionBackground()
public java.awt.Color getSelectionForeground()
public java.awt.Color getTextSelection()
public java.awt.Color getWarningForeground()
Returns the color set by default as foreground on each text editor when the filter would produce no visible rows
public void setupComponent(java.awt.Component c,
boolean isSelected,
boolean isEnabled)
Copyright © 2019 coderazzi. All Rights Reserved.