Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.javatools.ui.builders
Interface BuiltTree<T>


public interface BuiltTree<T>

The definition of an object containing a JTree and surrounding support components like a JScrollPane and Toolbar. These components are placed on another component retrieved via getGUI() which can be added a component hierarchy
A BuiltTree is built by a TreeBuilder.


Method Summary
 ComponentWithTitlebar getComponentWithTitlebar()
          The component can be optionally contained in a ComponentWithTitlebar
 TextLayer getEmptyTextLayer()
           
 javax.swing.JComponent getGUI()
           
 javax.swing.JScrollPane getScrollPane()
           
 T getSelectedValue()
           
 java.util.List<T> getSelectedValues()
           
 javax.swing.JTree getTree()
          Return the JTree constructed by the builder.
 

Method Detail

getTree

javax.swing.JTree getTree()
Return the JTree constructed by the builder.


getScrollPane

javax.swing.JScrollPane getScrollPane()
Returns:
the scrollpane used within the BuiltBasic. Do not add the scrollpane directly to a container, instead add the component returned by getGUI()

getGUI

javax.swing.JComponent getGUI()
Returns:
the main component containing all of the ui to add to a container.

getEmptyTextLayer

TextLayer getEmptyTextLayer()
Returns:
the TextLayer sued to display text when the component is empty

getComponentWithTitlebar

ComponentWithTitlebar getComponentWithTitlebar()
The component can be optionally contained in a ComponentWithTitlebar

Returns:
the ComponentWithTitlebar containing the component (or null)

getSelectedValue

T getSelectedValue()
Returns:
the selected item in the component. For multi select it returns the 'lead selection'.

getSelectedValues

java.util.List<T> getSelectedValues()
Returns:
a java.util.List of items selected in the component.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.