org.ceryle.wiki.visualizer.core.ui
Interface NodeDecorator

All Known Implementing Classes:
BackgroundDecorator, BorderDecorator, HiddenLinkDecorator, HiddenPageDecorator, IconDecorator, LabelDecorator, PinnedDecorator, SubtextDecorator

public interface NodeDecorator

A NodeDecorator accepts WikiNode and adjusts it's PainterParameters to reflect the desired/needed decorations.


Field Summary
static int BASIC_PAD_SIZE
           
 
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.
 

Field Detail

BASIC_PAD_SIZE

static final int BASIC_PAD_SIZE
See Also:
Constant Field Values
Method Detail

decorate

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.

Parameters:
node -
decoratorData -


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