| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  
oracle.javatools.ui.builders.BasicBuilder<T>
public abstract class BasicBuilder<T>
| Nested Class Summary | |
|---|---|
protected  class | 
BasicBuilder.InstructionsInstructions on exactly what to build  | 
| Field Summary | |
|---|---|
protected  BasicBuilder.Instructions | 
instructions | 
| Constructor Summary | |
|---|---|
protected | 
BasicBuilder() | 
| Method Summary | |
|---|---|
protected  void | 
buildToolbar(oracle.javatools.ui.builders.BuiltBasic builtBasic) | 
protected abstract  BasicBuilder.Instructions | 
createInstructions() | 
 void | 
setActions(javax.swing.Action... actions)Add action(s) to the toolbar.  | 
 void | 
setActionsSecondary(javax.swing.Action... actions)Add additional (less important) action(s) to the component toolbar.  | 
 void | 
setActionsSecondary(java.lang.String moreActionsText, javax.swing.Action... actions)Add additional (less important) action(s) to the component toolbar.  | 
 void | 
setCheckable(java.util.Collection<T> checkedItems)Make the items in the component checkable.  | 
 void | 
setDoubleClickListener(java.awt.event.ActionListener actionListener)The given actionListener will be called when an item in the component is double clicked  | 
 void | 
setLabel(java.lang.String labelText)Add a label (and a titlebar to contain it). The label text can optionally contain an '&' to mark the next character as a mnemonic which will be used as the shortcut for the component.  | 
 void | 
setRollover(boolean rollover)Add rollover highlighting to the items  | 
 void | 
setSelection(T... selection)Set the item(s) that will be initially selected.  | 
 void | 
setSelectionEnabledAction(javax.swing.Action action)Disable the action when there is no selection, enable it when there is selection  | 
 void | 
setSelectionEnabledComponent(javax.swing.JComponent component)Components added to the builder with this method will be enabled and disabled as selection is gained or lost.  | 
 void | 
setTitlebar(boolean titlebar)Create a titlebar for the component, the titlebar can contain a label and toolbar There is no need to call this method in addition to label() or other builder methods that require a titlebar/toolbar.  | 
 void | 
setToolbarComponents(javax.swing.JComponent... components)Add components(s) to the toolbar.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected BasicBuilder.Instructions instructions
| Constructor Detail | 
|---|
protected BasicBuilder()
| Method Detail | 
|---|
protected abstract BasicBuilder.Instructions createInstructions()
protected void buildToolbar(oracle.javatools.ui.builders.BuiltBasic builtBasic)
public void setDoubleClickListener(java.awt.event.ActionListener actionListener)
actionListener -public void setLabel(java.lang.String labelText)
labelText -public void setTitlebar(boolean titlebar)
titlebar -public void setActions(javax.swing.Action... actions)
actions -public void setToolbarComponents(javax.swing.JComponent... components)
actions -public void setActionsSecondary(javax.swing.Action... actions)
actions -
public void setActionsSecondary(java.lang.String moreActionsText,
                                javax.swing.Action... actions)
moreActionsText - the name (including mnemonic) for the drop list button, or null to accept the defaultactions -public void setSelection(T... selection)
selection -public void setCheckable(java.util.Collection<T> checkedItems)
checkedItems - the collection of checked items, initially it contains the starting items that should be checked.public void setRollover(boolean rollover)
rollover -public void setSelectionEnabledComponent(javax.swing.JComponent component)
component - a component to enable only when there is a selectionpublic void setSelectionEnabledAction(javax.swing.Action action)
action - an action to enable only when there is a selection
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||