org.xngr
Interface XDecorator
- public interface XDecorator
Describes the presentation of a XElement. It can return a name, a description
and an icon for an element. The default service for an element-type has to
provide the decorator, there is only one active decorator for an element-type.
- Version:
- $Revision: 1.1.1.1 $, $Date: 2002/02/16 16:12:44 $
- Author:
- Edwin Dankert
getIcon
public ImageIcon getIcon(XElement element)
- Returns the icon for the specific element.
- Parameters:
element
- the element to return the icon for.- Returns:
- the icon for the element.
getName
public String getName(XElement element)
- Returns the name for the specific element...
- Parameters:
element
- the element to get the name for.- Returns:
- the name for the element.
getDescription
public String getDescription(XElement element)
- Returns the description for the specific element...
- Parameters:
element
- the element to get the description for.- Returns:
- the description for the element.
Copyright © 2002, Cladonia Ltd., All Rights Reserved