intarsys runtime library

de.intarsys.tools.tree
Class NodeHandlerAdapter

java.lang.Object
  extended by de.intarsys.tools.tree.NodeHandlerAdapter
All Implemented Interfaces:
IPresentationHandler, INodeHandler

public class NodeHandlerAdapter
extends Object
implements INodeHandler


Constructor Summary
NodeHandlerAdapter()
           
 
Method Summary
 CommonNode[] createChildren(CommonNode node)
           
 String getDescription(Object object)
          A long, descriptive string representation.
 String getIconName(Object object)
          A name for an icon.
 String getLabel(Object object)
          A short string representation (suitable for example for use with an icon or menu item).
 String getTip(Object object)
          An "intermediate" length description (suitable for example with a tooltip).
 boolean hasChildren(CommonNode node)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeHandlerAdapter

public NodeHandlerAdapter()
Method Detail

createChildren

public CommonNode[] createChildren(CommonNode node)
Specified by:
createChildren in interface INodeHandler

getDescription

public String getDescription(Object object)
Description copied from interface: IPresentationHandler
A long, descriptive string representation.

Specified by:
getDescription in interface IPresentationHandler
Returns:
A long, descriptive string representation.

getIconName

public String getIconName(Object object)
Description copied from interface: IPresentationHandler
A name for an icon.

Specified by:
getIconName in interface IPresentationHandler
Returns:
A name for an icon.

getLabel

public String getLabel(Object object)
Description copied from interface: IPresentationHandler
A short string representation (suitable for example for use with an icon or menu item).

Specified by:
getLabel in interface IPresentationHandler
Returns:
A short string representation (suitable for example for use with an icon or menu item).

getTip

public String getTip(Object object)
Description copied from interface: IPresentationHandler
An "intermediate" length description (suitable for example with a tooltip).

Specified by:
getTip in interface IPresentationHandler
Returns:
An "intermediate" length description (suitable for example with a tooltip).

hasChildren

public boolean hasChildren(CommonNode node)
Specified by:
hasChildren in interface INodeHandler

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.