|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.coderazzi.filters.gui.CustomChoiceDecorator.DefaultDecorator
public static class CustomChoiceDecorator.DefaultDecorator
Default decorator, delegating always to the associated methods on the
CustomChoice instances. The font, by default, will be cursive
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface net.coderazzi.filters.gui.CustomChoiceDecorator |
|---|
CustomChoiceDecorator.DefaultDecorator |
| Constructor Summary | |
|---|---|
CustomChoiceDecorator.DefaultDecorator()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomChoiceDecorator.DefaultDecorator()
| Method Detail |
|---|
public void decorateComponent(CustomChoice choice, IFilterEditor editor, boolean isSelected, JComponent c, Graphics g)
CustomChoiceDecorator
decorateComponent in interface CustomChoiceDecoratorpublic Font getFont(CustomChoice choice, IFilterEditor editor, boolean isSelected)
CustomChoiceDecorator
getFont in interface CustomChoiceDecoratorpublic Color getBackground(CustomChoice choice, IFilterEditor editor, boolean isSelected)
CustomChoiceDecorator
getBackground in interface CustomChoiceDecoratorpublic Color getForeground(CustomChoice choice, IFilterEditor editor, boolean isSelected)
CustomChoiceDecorator
getForeground in interface CustomChoiceDecorator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||