public class Look extends Object
TableFilterHeader
appearance.Constructor and Description |
---|
Look() |
Modifier and Type | Method and Description |
---|---|
Color |
getBackground()
Returns the background color used by the editors.
|
CustomChoiceDecorator |
getCustomChoiceDecorator()
Returns the registered
CustomChoiceDecorator . |
Color |
getDisabledBackground()
Returns the background color used for disabled editors.
|
Color |
getDisabledForeground()
Returns the foreground color used for disabled editors.
|
Color |
getErrorForeground()
Returns the color set by default as foreground on each text editor
when the user commits any error on the filter expression.
|
Font |
getFont()
Returns the font used on editors.
|
Color |
getForeground()
Returns the foreground color used by the editors.
|
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.
|
Color |
getSelectionBackground()
Returns the background color on focused editors.
|
Color |
getSelectionForeground()
Returns the foreground color on focused editors.
|
Color |
getTextSelection()
Returns the color set by default as text selection on filters.
|
Color |
getWarningForeground()
Returns the color set by default as foreground on each text editor
when the filter would produce no visible rows
|
void |
setupComponent(Component c,
boolean isSelected,
boolean isEnabled)
Prepares the provided component to have the expected appearance
Only the background, foreground and font are updated. |
public Color getBackground()
public CustomChoiceDecorator getCustomChoiceDecorator()
CustomChoiceDecorator
.public Color getDisabledBackground()
public Color getDisabledForeground()
public Color getErrorForeground()
public Font getFont()
public Color getForeground()
public Color getGridColor()
public int getMaxVisiblePopupRows()
public Color getSelectionBackground()
public Color getSelectionForeground()
public Color getTextSelection()
public 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(Component c, boolean isSelected, boolean isEnabled)