de.intarsys.tools.tree.NodeHandlerAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of isrt Show documentation
Show all versions of isrt Show documentation
The basic runtime tools and interfaces for intarsys components.
package de.intarsys.tools.tree;
public class NodeHandlerAdapter implements INodeHandler {
@Override
public CommonNode[] createChildren(CommonNode node) {
return node.basicCreateChildren();
}
@Override
public String getDescription(Object object) {
return ((CommonNode) object).basicGetObjectDescription();
}
@Override
public String getIconName(Object object) {
return ((CommonNode) object).basicGetObjectIconName();
}
@Override
public String getLabel(Object object) {
return ((CommonNode) object).basicGetObjectLabel();
}
@Override
public String getTip(Object object) {
return ((CommonNode) object).basicGetObjectTip();
}
@Override
public boolean hasChildren(CommonNode node) {
return node.hasChildren();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy