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

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

public class LabelDecorator
extends Object
implements NodeDecorator, DecorationPainter

LabelDecorator


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
LabelDecorator()
           
 
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

LabelDecorator

public LabelDecorator()
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.