Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-03


oracle.jbo.uicli.controls
Class JUStatusBar.StatusBarProgressControl

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JProgressBar
                  extended by oracle.jbo.uicli.controls.JUStatusBar.StatusBarProgressControl

All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.SwingConstants, JUStatusBar.StatusBarControl
Enclosing class:
JUStatusBar

public class JUStatusBar.StatusBarProgressControl
extends javax.swing.JProgressBar
implements JUStatusBar.StatusBarControl

A derivative of JProgressBar that listens to three DataItems. The first DataItem is the Maximim value, the second DataItem is the current value, and the third DataItem is the minimum value. The third DataItem is optional and if missing, the minimum value is assumed to be 1.

See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from class javax.swing.JProgressBar
javax.swing.JProgressBar.AccessibleJProgressBar

 

Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent

 

Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer

 

Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy

 

Field Summary

 

Fields inherited from class javax.swing.JProgressBar
changeEvent, changeListener, model, orientation, paintBorder, paintString, progressString

 

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
JUStatusBar.StatusBarProgressControl()
          Constructs a StatusBarProgressControl.
JUStatusBar.StatusBarProgressControl(int orient)
           
JUStatusBar.StatusBarProgressControl(int min, int max)
           
JUStatusBar.StatusBarProgressControl(int orient, int min, int max, java.lang.String formatString, Formatter formatter)
           
JUStatusBar.StatusBarProgressControl(java.lang.String formatString, Formatter formatter)
          Creates a LabelControl instance with the specified formatter.

 

Method Summary
 java.lang.String getFormatString()
          Returns the format string to be used when displaying the value.
 Formatter getFormatter()
          Returns the formatter for the ProgressControl.
 java.awt.Dimension getMaximumSize()
          StatusBarProgressControl override.
 java.awt.Dimension getMinimumSize()
          StatusBarProgressControl override.
 java.awt.Dimension getPreferredSize()
          StatusBarProgressControl override.
 void setFormatString(java.lang.String nuFormatString)
          Sets the format string to be used when displaying the value.
 void setFormatter(Formatter formatter)
          Sets the formatter for the ProgressControl
 void setMaximumSize(java.awt.Dimension dim)
           
 void setMinimumSize(java.awt.Dimension dim)
           
 void setPreferredSize(java.awt.Dimension dim)
           
 void setSize(java.awt.Dimension dim)
           
 void setSize(int width, int height)
           

 

Methods inherited from class javax.swing.JProgressBar
addChangeListener, createChangeListener, fireStateChanged, getAccessibleContext, getChangeListeners, getMaximum, getMinimum, getModel, getOrientation, getPercentComplete, getString, getUI, getUIClassID, getValue, isBorderPainted, isIndeterminate, isStringPainted, paintBorder, paramString, removeChangeListener, setBorderPainted, setIndeterminate, setMaximum, setMinimum, setModel, setOrientation, setString, setStringPainted, setUI, setValue, updateUI

 

Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setNextFocusableComponent, setOpaque, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update

 

Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, 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, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, 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, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, show, show, size, toString, transferFocus, transferFocusUpCycle

 

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

 

Constructor Detail

JUStatusBar.StatusBarProgressControl

public JUStatusBar.StatusBarProgressControl()
Constructs a StatusBarProgressControl.

JUStatusBar.StatusBarProgressControl

public JUStatusBar.StatusBarProgressControl(int orient)

JUStatusBar.StatusBarProgressControl

public JUStatusBar.StatusBarProgressControl(int min,
                                            int max)

JUStatusBar.StatusBarProgressControl

public JUStatusBar.StatusBarProgressControl(java.lang.String formatString,
                                            Formatter formatter)
Creates a LabelControl instance with the specified formatter. The label is centered vertically and horizontally in display area.
Parameters:
formatter - The formatter to be used to display the label.

JUStatusBar.StatusBarProgressControl

public JUStatusBar.StatusBarProgressControl(int orient,
                                            int min,
                                            int max,
                                            java.lang.String formatString,
                                            Formatter formatter)

Method Detail

getMaximumSize

public java.awt.Dimension getMaximumSize()
StatusBarProgressControl override.
Overrides:
getMaximumSize in class javax.swing.JComponent
Returns:
the maximum Dimensions of the StatusBarProgressControl

setMaximumSize

public void setMaximumSize(java.awt.Dimension dim)
Overrides:
setMaximumSize in class javax.swing.JComponent

getMinimumSize

public java.awt.Dimension getMinimumSize()
StatusBarProgressControl override.
Overrides:
getMinimumSize in class javax.swing.JComponent
Returns:
The minimum Dimensions of the StatusBarProgressControl.

setMinimumSize

public void setMinimumSize(java.awt.Dimension dim)
Overrides:
setMinimumSize in class javax.swing.JComponent

getPreferredSize

public java.awt.Dimension getPreferredSize()
StatusBarProgressControl override.
Overrides:
getPreferredSize in class javax.swing.JComponent
Returns:
The preferred Dimensions of the StatusBarProgressControl.

setPreferredSize

public void setPreferredSize(java.awt.Dimension dim)
Overrides:
setPreferredSize in class javax.swing.JComponent

setSize

public void setSize(java.awt.Dimension dim)
Overrides:
setSize in class java.awt.Component

setSize

public void setSize(int width,
                    int height)
Overrides:
setSize in class java.awt.Component

setFormatString

public void setFormatString(java.lang.String nuFormatString)
Sets the format string to be used when displaying the value.

The format string should be a format string as supported by the DefaultNumberFormatter.

Specified by:
setFormatString in interface JUStatusBar.StatusBarControl
Parameters:
nuFormatString - The format string.
See Also:
getFormatString(), DefaultNumberFormatter

getFormatString

public java.lang.String getFormatString()
Returns the format string to be used when displaying the value.

The format string should be a format string as supported by the DefaultNumberFormatter.

Returns:
A reference to the format string.
See Also:
setFormatString(String nuFormatString), DefaultNumberFormatter

setFormatter

public void setFormatter(Formatter formatter)
Sets the formatter for the ProgressControl
Specified by:
setFormatter in interface JUStatusBar.StatusBarControl
Parameters:
formatter - the new formatter for the progress control.

getFormatter

public Formatter getFormatter()
Returns the formatter for the ProgressControl.
Returns:
The new formatter for the progress control.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-03


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