public interface CustomChoiceDecorator
IFilterEditor
s without associated ChoiceRenderer
.Modifier and Type | Interface and Description |
---|---|
static class |
CustomChoiceDecorator.DefaultDecorator
Default decorator, delegating always to the associated methods on the
CustomChoice instances. |
Modifier and Type | Method and Description |
---|---|
void |
decorateComponent(CustomChoice choice,
IFilterEditor editor,
boolean isSelected,
JComponent c,
Graphics g)
Decorates the choice on the given editor.
|
Color |
getBackground(CustomChoice choice,
IFilterEditor editor,
boolean isSelected)
Returns the background color.
|
Font |
getFont(CustomChoice choice,
IFilterEditor editor,
boolean isSelected)
Returns the font.
|
Color |
getForeground(CustomChoice choice,
IFilterEditor editor,
boolean isSelected)
Returns the foreground color.
|
Color getBackground(CustomChoice choice, IFilterEditor editor, boolean isSelected)
Color getForeground(CustomChoice choice, IFilterEditor editor, boolean isSelected)
Font getFont(CustomChoice choice, IFilterEditor editor, boolean isSelected)
void decorateComponent(CustomChoice choice, IFilterEditor editor, boolean isSelected, JComponent c, Graphics g)