javax.rad.ui.control
Interface ITree

All Superinterfaces:
ICellFormatable, IComponent, IControl, INamedObject, IResource, ITranslatable, ITreeControl
All Known Implementing Classes:
SwingTree, UITree

public interface ITree
extends IComponent, ITreeControl, ICellFormatable

Platform and technology independent tree definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .


Method Summary
 INodeFormatter getNodeFormatter()
          Gets the node formatter.
 boolean isDetectEndNode()
          Gets if a node should be detected to be an end node or not.
 boolean isEditable()
          Gets if editable or not.
 void setDetectEndNode(boolean pDetectEndNode)
          Sets if a node should be detected to be an end node or not.
 void setEditable(boolean pEditable)
          Sets if editable or not.
 void setNodeFormatter(INodeFormatter pNodeFormatter)
          Sets the node formatter.
 
Methods inherited from interface javax.rad.ui.IComponent
capture, eventComponentMoved, eventComponentResized, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getCursor, getEventSource, getFactory, getFont, getForeground, getLocation, getLocationRelativeTo, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getToolTipText, isBackgroundSet, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isVisible, requestFocus, setBackground, setBounds, setCursor, setEnabled, setEventSource, setFocusable, setFont, setForeground, setLocation, setLocationRelativeTo, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setSize, setToolTipText, setVisible
 
Methods inherited from interface javax.rad.ui.IResource
getResource
 
Methods inherited from interface javax.rad.model.ui.ITreeControl
getDataBooks, setDataBooks, startEditing
 
Methods inherited from interface javax.rad.model.ui.IControl
cancelEditing, notifyRepaint, saveEditing
 
Methods inherited from interface javax.rad.model.ui.ITranslatable
getTranslation, setTranslation
 
Methods inherited from interface javax.rad.ui.control.ICellFormatable
getCellFormatter, setCellFormatter
 

Method Detail

isDetectEndNode

boolean isDetectEndNode()
Gets if a node should be detected to be an end node or not. Depending on the used model, the detection can cause additional client server communication.

Returns:
true, if end node detection is enabled.

setDetectEndNode

void setDetectEndNode(boolean pDetectEndNode)
Sets if a node should be detected to be an end node or not. Depending on the used model, the detection can cause additional client server communication.

Parameters:
pDetectEndNode - true, if end node detection is enabled.

isEditable

boolean isEditable()
Gets if editable or not.

Returns:
if editable or not.

setEditable

void setEditable(boolean pEditable)
Sets if editable or not.

Parameters:
pEditable - if editable or not.

getNodeFormatter

INodeFormatter getNodeFormatter()
Gets the node formatter.

Returns:
the node formatter.

setNodeFormatter

void setNodeFormatter(INodeFormatter pNodeFormatter)
Sets the node formatter.

Parameters:
pNodeFormatter - the node formatter.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.