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

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

public class BackgroundDecorator
extends Object
implements NodeDecorator, DecorationPainter

BackgroundDecorator


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

BackgroundDecorator

public BackgroundDecorator()
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

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.