|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.view.decorator.AbstractGUIViewDecorator
net.sf.doolin.gui.view.decorator.ChainedGUIViewDecorator
public class ChainedGUIViewDecorator
Chain of view decorators.
| Constructor Summary | |
|---|---|
ChainedGUIViewDecorator()
Default constructor with an empty chain of decorators |
|
ChainedGUIViewDecorator(GUIViewDecorator... decorators)
Constructor from a list of decorators |
|
| Method Summary | ||
|---|---|---|
|
decorate(GUIView<V> view,
JComponent component,
DecorationStyle decorationStyle)
Creates a decorated component for the view. |
|
List<GUIViewDecorator> |
getDecorators()
Gets the decorators. |
|
void |
setDecorators(List<GUIViewDecorator> decorators)
Sets the decorators. |
|
| Methods inherited from class net.sf.doolin.gui.view.decorator.AbstractGUIViewDecorator |
|---|
getActionFactory, getIconService, setActionFactory, setIconService |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChainedGUIViewDecorator()
public ChainedGUIViewDecorator(GUIViewDecorator... decorators)
decorators - List of decorators to apply| Method Detail |
|---|
public <V> JComponent decorate(GUIView<V> view,
JComponent component,
DecorationStyle decorationStyle)
V - Type of the object for the viewview - View to decoratecomponent - Component to decoratedecorationStyle - Decoration style
public List<GUIViewDecorator> getDecorators()
public void setDecorators(List<GUIViewDecorator> decorators)
decorators - the new decorators
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||