javax.rad.ui.control
Interface ITree

All Superinterfaces:
IComponent, IControl, IResource
All Known Implementing Classes:
SwingTree, UITree, WebTree

public interface ITree
extends IComponent, IControl

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


Method Summary
 ICellFormatter getCellFormatter()
          Gets the cell formatter.
 IDataBook[] getDataBooks()
          Returns the DataBooks displayed by this control.
 INodeFormatter getNodeFormatter()
          Gets the node formatter.
 void setCellFormatter(ICellFormatter pCellFormatter)
          Sets the cell formatter.
 void setCellFormatter(Object pCellFormatter, String pMethodName)
          Sets the cell formatter.
 void setDataBooks(IDataBook... pDataBooks)
          Sets the DataBooks displayed by this control.
 void setNodeFormatter(INodeFormatter pNodeFormatter)
          Sets the node formatter.
 void setNodeFormatter(Object pNodeFormatter, String pMethodName)
          Sets the node formatter.
 
Methods inherited from interface javax.rad.ui.IComponent
capture, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getCursor, getFactory, getFont, getForeground, getLocation, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getToolTipText, isBackgroundSet, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isVisible, requestFocus, setBackground, setBounds, setCursor, setEnabled, setFocusable, setFont, setForeground, setLocation, 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.IControl
cancelEditing, getTranslation, notifyRepaint, saveEditing, setTranslation
 

Method Detail

getDataBooks

IDataBook[] getDataBooks()
Returns the DataBooks displayed by this control.

Returns:
the DataBooks.
See Also:
setDataBooks(javax.rad.model.IDataBook...)

setDataBooks

void setDataBooks(IDataBook... pDataBooks)
Sets the DataBooks displayed by this control.

Parameters:
pDataBooks - the DataBooks
See Also:
getDataBooks()

getCellFormatter

ICellFormatter getCellFormatter()
Gets the cell formatter.

Returns:
the cell formatter.

setCellFormatter

void setCellFormatter(ICellFormatter pCellFormatter)
Sets the cell formatter.

Parameters:
pCellFormatter - the cell formatter.

setCellFormatter

void setCellFormatter(Object pCellFormatter,
                      String pMethodName)
Sets the cell formatter.

Parameters:
pCellFormatter - the cell formatter.
pMethodName - the method name.

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.

setNodeFormatter

void setNodeFormatter(Object pNodeFormatter,
                      String pMethodName)
Sets the node formatter.

Parameters:
pNodeFormatter - the node formatter.
pMethodName - the method name.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.