org.ceryle.wiki.visualizer.core.ui.decor
Class IconDecorator

java.lang.Object
  extended by org.ceryle.wiki.visualizer.core.ui.decor.IconDecorator
All Implemented Interfaces:
DecorationPainter, NodeDecorator

public class IconDecorator
extends Object
implements NodeDecorator, DecorationPainter

TODO IconDecorator


Field Summary
 
Fields inherited from interface org.ceryle.wiki.visualizer.core.ui.NodeDecorator
BASIC_PAD_SIZE
 
Fields inherited from interface org.ceryle.wiki.visualizer.core.ui.decor.DecorationPainter
NODE_CORNER_RADIUS
 
Constructor Summary
IconDecorator()
           
 
Method Summary
 void decorate(WikiNode node, Object decoratorData)
          Decorate the passed node by updating it's PainterParameters based on the WikiNode's (or associated WikiPage's) attributes.
 void paintDecoration(WikiGraphPanel graphPanel, Graphics2D g, WikiNode node, Object painterData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IconDecorator

public IconDecorator()
Method Detail

decorate

public void decorate(WikiNode node,
                     Object decoratorData)
Description copied from interface: NodeDecorator
Decorate the passed node by updating it's PainterParameters based on the WikiNode's (or associated WikiPage's) attributes.

Specified by:
decorate in interface NodeDecorator
See Also:
NodeDecorator

paintDecoration

public void paintDecoration(WikiGraphPanel graphPanel,
                            Graphics2D g,
                            WikiNode node,
                            Object painterData)
Specified by:
paintDecoration in interface DecorationPainter


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.