Skip navigation links

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

E17493-03


oracle.javatools.ui.builders
Class BreadcrumbsTableBuilder<T>

java.lang.Object
  extended by oracle.javatools.ui.builders.BasicBuilder<T>
      extended by oracle.javatools.ui.builders.BreadcrumbsTableBuilder<T>


public final class BreadcrumbsTableBuilder<T>
extends BasicBuilder<T>

A builder of a BreadcrumbsTable.

A BreadcrumbsTable is a table of data (each row is of type T), each row can contain children (also of type T). Expanding a row replaces all of the data in the table with the child data of the expanded row. A breadcrumb bar next to the table tracks the expanded rows. Selecting a breadcrumb updates the table with the children of that breadcrumb.


Nested Class Summary
static interface BreadcrumbsTableBuilder.BreadcrumbMaker<T>
          This class will be implemented by clients of the BreadcrumbsTableBuilder and will need to construct a TableBreadcrumb for a given node (T) in the TreeTable.
static interface BreadcrumbsTableBuilder.TableBreadcrumb<T>
          An extension of Breadcrumb to represent nodes (table rows) in the breadcrumb bar.

 

Nested classes/interfaces inherited from class oracle.javatools.ui.builders.BasicBuilder
BasicBuilder.Instructions

 

Constructor Summary
BreadcrumbsTableBuilder()
           

 

Method Summary
 BuiltBreadcrumbsTable<T> build()
           
protected  BasicBuilder.Instructions createInstructions()
           
 void setBreadcrumbMaker(BreadcrumbsTableBuilder.BreadcrumbMaker<T> breadcrumbMaker)
          Set a breadcrumb maker to create instances of Breadcrumbs for the BreadcrumbsTable.
 void setModel(TreeTableModel model)
          Set the TreeTableModel used for this breadcrumbsTable.
 void setModel(TreeTableModel model, T node)
          Set the TreeTableModel used for this breadcrumbsTable.
 void setTrailingComponent(javax.swing.JComponent trailingComponent)
          Set a component that appears in the UI trailing the breadcrumbs at the top of the table.

 

Methods inherited from class oracle.javatools.ui.builders.BasicBuilder
buildToolbar, setActions, setActionsSecondary, setActionsSecondary, setCheckable, setDoubleClickListener, setEmptyText, setEmptyTextLarge, setLabel, setResizable, setRollover, setSelection, setSelectionEnabledAction, setSelectionEnabledComponent, setTitlebar, setToolbarComponents

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

BreadcrumbsTableBuilder

public BreadcrumbsTableBuilder()

Method Detail

createInstructions

protected BasicBuilder.Instructions createInstructions()
Specified by:
createInstructions in class BasicBuilder<T>

build

public BuiltBreadcrumbsTable<T> build()

setModel

public void setModel(TreeTableModel model,
                     T node)
Set the TreeTableModel used for this breadcrumbsTable. The data is rooted on the given node of the model.
Parameters:
model -

setModel

public void setModel(TreeTableModel model)
Set the TreeTableModel used for this breadcrumbsTable. The data is rooted on the root of the model.
Parameters:
model -

setBreadcrumbMaker

public void setBreadcrumbMaker(BreadcrumbsTableBuilder.BreadcrumbMaker<T> breadcrumbMaker)
Set a breadcrumb maker to create instances of Breadcrumbs for the BreadcrumbsTable.
Parameters:
breadcrumbMaker -

setTrailingComponent

public void setTrailingComponent(javax.swing.JComponent trailingComponent)
Set a component that appears in the UI trailing the breadcrumbs at the top of the table. e.g. A label to report status
Parameters:
trailingComponent - the component to add

Skip navigation links

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

E17493-03


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