KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > prefuse > visual > DecoratorItem


1 package prefuse.visual;
2
3 /**
4  * VisualItem that "decorates" another VisualItem. DecoratorItem instances
5  * allow the decorated item to be retrieved, and used to compute visual
6  * properties for this item. Example decorator items might include attaching
7  * an external label to an item or adding interactive handles to another
8  * item.
9  *
10  * @author <a HREF="http://jheer.org">jeffrey heer</a>
11  */

12 public interface DecoratorItem extends VisualItem {
13
14     /**
15      * Get the VisualItem that this item is decorating.
16      * @return the decorated VisualItem
17      */

18     public VisualItem getDecoratedItem();
19     
20 } // end of interface DecoratorItem
21
Popular Tags