|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CustomChoiceDecorator
Interface that allows customizing the appearance of CustomChoices in those
IFilterEditor
s without associated ChoiceRenderer
.
Nested Class Summary | |
---|---|
static class |
CustomChoiceDecorator.DefaultDecorator
Default decorator, delegating always to the associated methods on the CustomChoice instances. |
Method Summary | |
---|---|
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. |
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |