Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.jbo.uicli.controls
Class JUNavigationBar

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JToolBar
                  extended byoracle.jbo.uicli.controls.JUNavigationBar
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, DCTransactionStateListener, java.util.EventListener, java.awt.image.ImageObserver, JUNavigationBarInterface, JUTransactionStateListener, java.awt.MenuContainer, RowNavigationListener, RowSetListener, java.io.Serializable, javax.swing.SwingConstants

public class JUNavigationBar
extends javax.swing.JToolBar
implements java.awt.event.ActionListener, RowSetListener, JUNavigationBarInterface, JUTransactionStateListener

Implements a data-aware toolbar. Can be bound to a RowSetIterator and can be used: to:

Version:
PUBLIC
See Also:
#setHasNavigationButtons(), #setHasInsertButton(), #setHasDeleteButton(), #setHasTransactionButtons(), Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.JToolBar
javax.swing.JToolBar.AccessibleJToolBar, javax.swing.JToolBar.Separator
 
Nested classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
static int BUTTON_COMMIT
           
static int BUTTON_DELETE
           
static int BUTTON_DISABLED
           
static int BUTTON_EXECUTE
           
static int BUTTON_FIND
           
static int BUTTON_FIRST
           
static int BUTTON_INSERT
           
static int BUTTON_LAST
           
static int BUTTON_NEXT
           
static int BUTTON_NORMAL
           
static int BUTTON_PRESSED
           
static int BUTTON_PREV
           
static int BUTTON_ROLLBACK
           
static int BUTTON_ROLLOVER
           
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
JUNavigationBar()
          Creates a default instance.
JUNavigationBar(boolean navigation, boolean modify, boolean txn, boolean find)
           
JUNavigationBar(boolean navigation, boolean modify, boolean txn, boolean find, boolean execute)
          This constructor takes flags to indicate which buttons to show or hide in the navigationbar.
 
Method Summary
protected  void _updateButtonStates()
           
protected  void _updateButtonStatesLater()
           
 void actionPerformed(java.awt.event.ActionEvent ev)
          Applications should override this method to perform custom Action based on a button click/press.
static JUIteratorBinding createPanelBinding(JUPanelBinding formBinding, JUNavigationBar control)
           
static JUIteratorBinding createViewBinding(JUPanelBinding formBinding, JUNavigationBar control, java.lang.String voInstanceName, java.lang.String voRSIName, java.lang.String voRSIBindingName)
           
 void doAction(int action)
          public method to call the NavigationBar button actions programmatically expected values are BUTTON_FIRST, BUTTON_PREV, BUTTON_NEXT, BUTTON_LAST, BUTTON_INSERT, BUTTON_DELETE, BUTTON_COMMIT, BUTTON_ROLLBACK, BUTTON_FIND, BUTTON_EXECUTE
 void doExecuteButtonAction()
          Override this method to perform any application logic before or after the ViewObjects referenced in this panel are executed.
 void doFindButtonAction()
          Override this method to perform any application logic before or after the panel is set to Find Mode or cancelling out of find mode.
 java.awt.Cursor getBusyCursor()
          Gets the cursor currently used to indicate busy status.
 javax.swing.JButton getButton(int button)
          Gets the button object used in the toolbar.
 JUActionBinding getButtonActionBinding(int button)
          Get the button binding for a given button.
 javax.swing.Icon getButtonIcon(int button)
          Deprecated.  
 javax.swing.Icon getButtonIcons(int button, int type)
          Gets the icon being used for a button.
 javax.swing.Icon getButtonPressedIcon(int button)
          Deprecated.  
 java.awt.event.FocusListener getDefaultFocusListener()
           
 boolean getHasDeleteButton()
          Determines if the toolbar has the button that can be used to delete an existing row from the bound ViewObject.
 boolean getHasExecuteButton()
          Determines if the toolbar has the button that can be used to execute the viewobject query on the bound ViewObject.
 boolean getHasFindButton()
          Determines if the toolbar has the button that can be used to run a restricted query (using ViewCriteria) on the bound ViewObject.
 boolean getHasInsertButton()
          Determines if the toolbar has the button that can be used to insert a new row in the bound ViewObject.
 boolean getHasNavigationButtons()
          Determines if the toolbar has the buttons that are used to change the current row of the bound ViewObject.
 boolean getHasTransactionButtons()
          Determines if the toolbar has the buttons that can be used to commit/rollback the changes made to the bound Transaction.
 JUIteratorBinding getModel()
           
static JUIteratorBinding getModelInstance(JUPanelBinding formBinding, JUNavigationBar control)
           
static JUIteratorBinding getModelInstance(JUPanelBinding formBinding, java.lang.String voInstanceName, java.lang.String voRSIName, java.lang.String voRSIBindingName)
           
 boolean isButtonActive(int buttonid)
          Checks if the button both exists and is enabled.
 void iteratorBindingChanged(JUIteratorBinding bind)
          This event is generated by PanelBinding when there is a change in the iterator binding which currently has keyboard focus.
 void navigated(NavigationEvent event)
          Invoked when the current-row designation changes.
 void rangeRefreshed(RangeRefreshEvent event)
          Invoked when the range changes.
 void rangeScrolled(ScrollEvent event)
          Invoked when the range is scrolled.
 void release()
          Framework calls this method when it needs to indicate that the connection to is being released.
 void restoreDefaultCursor()
          Shows default cursor.
 void rowDeleted(DeleteEvent event)
          Invoked when a row has been deleted.
 void rowInserted(InsertEvent event)
          Invoked when a row has been inserted.
 void rowUpdated(UpdateEvent event)
          Invoked when an attribute of the row has been changed.
 void setBusyCursor(java.awt.Cursor busyCursor)
          Changes the cursor used to indicate busy status.
 void setButtonIcon(int button, javax.swing.Icon icon)
          Deprecated.  
 void setButtonIcons(int button, javax.swing.Icon icon, javax.swing.Icon pressedIcon, javax.swing.Icon disabledIcon, javax.swing.Icon rolloverIcon)
          Sets the icon to be used for a button.
 void setButtonPressedIcon(int button, javax.swing.Icon icon)
          Deprecated.  
 void setHasDeleteButton(boolean b)
          Tells the toolbar whether to include the delete button or not.
 void setHasExecuteButton(boolean b)
          Tells the toolbar whether to include the 'Execute' button or not.
 void setHasFindButton(boolean b)
          Tells the toolbar whether to include the 'Find' button or not.
 void setHasInsertButton(boolean b)
          Tells the toolbar whether to include the insert button or not.
 void setHasNavigationButtons(boolean b)
          Tells the toolbar whether to include the navigation buttons or not.
 void setHasTransactionButtons(boolean b)
          Tells the toolbar whether to include the commit/rollback buttons or not.
 void setModel(JUIteratorBinding bind)
           
 void showBusyCursor()
          displays a busy cursor
 void transactionStateChanged(boolean state)
          Invoked when the transaction is either marked dirty or clean.
 
Methods inherited from class javax.swing.JToolBar
add, addImpl, addSeparator, addSeparator, createActionChangeListener, createActionComponent, getAccessibleContext, getComponentAtIndex, getComponentIndex, getMargin, getOrientation, getUI, getUIClassID, isBorderPainted, isFloatable, isRollover, paintBorder, paramString, setBorderPainted, setFloatable, setLayout, setMargin, setOrientation, setRollover, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BUTTON_FIRST

public static final int BUTTON_FIRST
See Also:
Constant Field Values

BUTTON_PREV

public static final int BUTTON_PREV
See Also:
Constant Field Values

BUTTON_NEXT

public static final int BUTTON_NEXT
See Also:
Constant Field Values

BUTTON_LAST

public static final int BUTTON_LAST
See Also:
Constant Field Values

BUTTON_INSERT

public static final int BUTTON_INSERT
See Also:
Constant Field Values

BUTTON_DELETE

public static final int BUTTON_DELETE
See Also:
Constant Field Values

BUTTON_COMMIT

public static final int BUTTON_COMMIT
See Also:
Constant Field Values

BUTTON_ROLLBACK

public static final int BUTTON_ROLLBACK
See Also:
Constant Field Values

BUTTON_FIND

public static final int BUTTON_FIND
See Also:
Constant Field Values

BUTTON_EXECUTE

public static final int BUTTON_EXECUTE
See Also:
Constant Field Values

BUTTON_NORMAL

public static final int BUTTON_NORMAL
See Also:
Constant Field Values

BUTTON_PRESSED

public static final int BUTTON_PRESSED
See Also:
Constant Field Values

BUTTON_DISABLED

public static final int BUTTON_DISABLED
See Also:
Constant Field Values

BUTTON_ROLLOVER

public static final int BUTTON_ROLLOVER
See Also:
Constant Field Values
Constructor Detail

JUNavigationBar

public JUNavigationBar()
Creates a default instance.


JUNavigationBar

public JUNavigationBar(boolean navigation,
                       boolean modify,
                       boolean txn,
                       boolean find)

JUNavigationBar

public JUNavigationBar(boolean navigation,
                       boolean modify,
                       boolean txn,
                       boolean find,
                       boolean execute)
This constructor takes flags to indicate which buttons to show or hide in the navigationbar.

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ev)
Applications should override this method to perform custom Action based on a button click/press. Calling super will perform the default button actions.

For example, if an application needs to override commit and rollback operations so that they can hold on to some application state before commit/rollback occurs, this method could be overriden to cache the application state, call the super.actionPerformed() to do the button action and then restore the application state.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

doAction

public void doAction(int action)
public method to call the NavigationBar button actions programmatically expected values are BUTTON_FIRST, BUTTON_PREV, BUTTON_NEXT, BUTTON_LAST, BUTTON_INSERT, BUTTON_DELETE, BUTTON_COMMIT, BUTTON_ROLLBACK, BUTTON_FIND, BUTTON_EXECUTE


doFindButtonAction

public void doFindButtonAction()
Override this method to perform any application logic before or after the panel is set to Find Mode or cancelling out of find mode.


doExecuteButtonAction

public void doExecuteButtonAction()
Override this method to perform any application logic before or after the ViewObjects referenced in this panel are executed.


createViewBinding

public static JUIteratorBinding createViewBinding(JUPanelBinding formBinding,
                                                  JUNavigationBar control,
                                                  java.lang.String voInstanceName,
                                                  java.lang.String voRSIName,
                                                  java.lang.String voRSIBindingName)

getModelInstance

public static JUIteratorBinding getModelInstance(JUPanelBinding formBinding,
                                                 java.lang.String voInstanceName,
                                                 java.lang.String voRSIName,
                                                 java.lang.String voRSIBindingName)

createPanelBinding

public static JUIteratorBinding createPanelBinding(JUPanelBinding formBinding,
                                                   JUNavigationBar control)

getModelInstance

public static JUIteratorBinding getModelInstance(JUPanelBinding formBinding,
                                                 JUNavigationBar control)

setModel

public void setModel(JUIteratorBinding bind)

transactionStateChanged

public void transactionStateChanged(boolean state)
Description copied from interface: DCTransactionStateListener
Invoked when the transaction is either marked dirty or clean.

Specified by:
transactionStateChanged in interface DCTransactionStateListener
Parameters:
state - Indicates if the transaction was marked clean (true) or dirty (false). Controls like NavigationBar then disables/enables the Save button to indicate there are changes that need to be saved/committed to the database.

iteratorBindingChanged

public void iteratorBindingChanged(JUIteratorBinding bind)
Description copied from interface: JUNavigationBarInterface
This event is generated by PanelBinding when there is a change in the iterator binding which currently has keyboard focus. This allows controls like NavigationBar, which are displaying the current iterator state in a Panel, to update their display with the new iterator's settings.

Specified by:
iteratorBindingChanged in interface JUNavigationBarInterface

getModel

public JUIteratorBinding getModel()

setButtonIcon

public void setButtonIcon(int button,
                          javax.swing.Icon icon)
Deprecated.  

Sets the icon to be used for a button.

Parameters:
button - The button whose icon should be changed. Allowed values should be one of defined by the BUTTON_XXX constants.
icon - The new icon.

getButtonIcon

public javax.swing.Icon getButtonIcon(int button)
Deprecated.  

Gets the icon being used for a button.

Parameters:
button - The button whose icon is being requested. Allowed values should be one of defined by the BUTTON_XXX constants.
Returns:
The icon being used by button.

setButtonIcons

public void setButtonIcons(int button,
                           javax.swing.Icon icon,
                           javax.swing.Icon pressedIcon,
                           javax.swing.Icon disabledIcon,
                           javax.swing.Icon rolloverIcon)
Sets the icon to be used for a button.

Parameters:
button - The button whose icon should be changed. Allowed values should be one of defined by the BUTTON_XXX constants.
icon - The new button icon.
pressedIcon - The new button pressed icon.
disabledIcon - The new button disabled icon.
rolloverIcon - The new button rollover icon.

getButtonIcons

public javax.swing.Icon getButtonIcons(int button,
                                       int type)
Gets the icon being used for a button.

Parameters:
button - The button whose icon is being requested. Allowed values should be one of defined by the BUTTON_XXX constants.
type - The icon type. Allowed values are BUTTON_NORMAL, BUTTON_PRESSED, BUTTON_DISABLED, and BUTTON_ROLLOVER.
Returns:
The icon being used by button.

setButtonPressedIcon

public void setButtonPressedIcon(int button,
                                 javax.swing.Icon icon)
Deprecated.  

Sets the icon to be used when a button is pressed.

Parameters:
button - The button whose icon should be changed. Allowed values should be one of defined by the BUTTON_XXX constants.
icon - The new icon.

getButtonPressedIcon

public javax.swing.Icon getButtonPressedIcon(int button)
Deprecated.  

Gets the icon displayed when a navigation bar button is pressed.

Parameters:
button - The button whose icon is being requested. Allowed values should be one of defined by the BUTTON_XXX constants.
Returns:
The icon being used by the button in the pressed button.

showBusyCursor

public void showBusyCursor()
displays a busy cursor


restoreDefaultCursor

public void restoreDefaultCursor()
Shows default cursor.


setBusyCursor

public void setBusyCursor(java.awt.Cursor busyCursor)
Changes the cursor used to indicate busy status.

Parameters:
busyCursor - Cursor used to indicate busy status.

getBusyCursor

public java.awt.Cursor getBusyCursor()
Gets the cursor currently used to indicate busy status.

Returns:
get The busy cursor.

getButton

public javax.swing.JButton getButton(int button)
Gets the button object used in the toolbar.

Returns:
The button object.

isButtonActive

public boolean isButtonActive(int buttonid)
Checks if the button both exists and is enabled. if it does not existe, because the appropriate setHas... method is set to false, or if the button is disabled, this method returns false, otherwise it returns true.

Parameters:
buttonid - A constant indicating which button is requested. Allowed values should be one of defined by the BUTTON_XXX constants.
Returns:
true or false to indicate if this button can be used

getHasNavigationButtons

public boolean getHasNavigationButtons()
Determines if the toolbar has the buttons that are used to change the current row of the bound ViewObject.

Returns:
True if the currency can be changed, otherwise returns false.

setHasNavigationButtons

public void setHasNavigationButtons(boolean b)
Tells the toolbar whether to include the navigation buttons or not.

Parameters:
b - If true, the navigation buttons are included in the bar, else the navigation buttons are not included.

getHasInsertButton

public boolean getHasInsertButton()
Determines if the toolbar has the button that can be used to insert a new row in the bound ViewObject.

Returns:
True if the button is included, otherwise returns false.

setHasInsertButton

public void setHasInsertButton(boolean b)
Tells the toolbar whether to include the insert button or not.

Parameters:
b - If true, the insert button is be included, else the button is removed.

getHasDeleteButton

public boolean getHasDeleteButton()
Determines if the toolbar has the button that can be used to delete an existing row from the bound ViewObject.

Returns:
True if the button is included, otherwise returns false.

setHasDeleteButton

public void setHasDeleteButton(boolean b)
Tells the toolbar whether to include the delete button or not.

Parameters:
b - If true, the delete button is be included, otherwise the button is removed.

getHasTransactionButtons

public boolean getHasTransactionButtons()
Determines if the toolbar has the buttons that can be used to commit/rollback the changes made to the bound Transaction.

Returns:
True if the buttons are included, otherwise returns false.

setHasTransactionButtons

public void setHasTransactionButtons(boolean b)
Tells the toolbar whether to include the commit/rollback buttons or not.

Parameters:
b - If true the buttons are included, otherwise the buttons are removed.

getHasFindButton

public boolean getHasFindButton()
Determines if the toolbar has the button that can be used to run a restricted query (using ViewCriteria) on the bound ViewObject.

Returns:
True if the button is included, otherwise returns false.

setHasFindButton

public void setHasFindButton(boolean b)
Tells the toolbar whether to include the 'Find' button or not.

Parameters:
b - If true, the 'Find' button is included, otherwise the button is removed.

getHasExecuteButton

public boolean getHasExecuteButton()
Determines if the toolbar has the button that can be used to execute the viewobject query on the bound ViewObject.

Returns:
True if the button is included, otherwise returns false.

setHasExecuteButton

public void setHasExecuteButton(boolean b)
Tells the toolbar whether to include the 'Execute' button or not.

Parameters:
b - If true, the 'Execute' button is included, otherwise the button is removed.

_updateButtonStatesLater

protected void _updateButtonStatesLater()

_updateButtonStates

protected void _updateButtonStates()

navigated

public void navigated(NavigationEvent event)
Description copied from interface: RowSetListener
Invoked when the current-row designation changes.

Specified by:
navigated in interface RowSetListener
Parameters:
event - a description of the new and previous current rows.

rangeRefreshed

public void rangeRefreshed(RangeRefreshEvent event)
Description copied from interface: RowSetListener
Invoked when the range changes.

Specified by:
rangeRefreshed in interface RowSetListener
Parameters:
event - a description of the new ranges.

rangeScrolled

public void rangeScrolled(ScrollEvent event)
Description copied from interface: RowSetListener
Invoked when the range is scrolled.

Specified by:
rangeScrolled in interface RowSetListener
Parameters:
event - a description of the new range.

rowDeleted

public void rowDeleted(DeleteEvent event)
Description copied from interface: RowSetListener
Invoked when a row has been deleted.

Specified by:
rowDeleted in interface RowSetListener
Parameters:
event - a description of the deleted Row object.

rowInserted

public void rowInserted(InsertEvent event)
Description copied from interface: RowSetListener
Invoked when a row has been inserted.

Specified by:
rowInserted in interface RowSetListener
Parameters:
event - a description of the new Row object.

rowUpdated

public void rowUpdated(UpdateEvent event)
Description copied from interface: RowSetListener
Invoked when an attribute of the row has been changed.

Specified by:
rowUpdated in interface RowSetListener
Parameters:
event - a description of the modified Row object.

getDefaultFocusListener

public java.awt.event.FocusListener getDefaultFocusListener()

getButtonActionBinding

public JUActionBinding getButtonActionBinding(int button)
Get the button binding for a given button.


release

public void release()
Description copied from interface: DCTransactionStateListener
Framework calls this method when it needs to indicate that the connection to is being released.

Specified by:
release in interface DCTransactionStateListener

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

 

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