|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JProgressBar | +--oracle.jbo.uicli.controls.JUStatusBar.StatusBarProgressControl
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.
Inner classes inherited from class javax.swing.JProgressBar |
javax.swing.JProgressBar.AccessibleJProgressBar |
Inner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Inner classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent |
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, NORTH, NORTH_EAST, NORTH_WEST, 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 image. |
Method Summary |
Type | Method |
---|---|
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, getMaximum, getMinimum, getModel, getOrientation, getPercentComplete, getString, getUI, getUIClassID, getValue, isBorderPainted, isStringPainted, paintBorder, paramString,
removeChangeListener, setBorderPainted, setMaximum, setMinimum, setModel, setOrientation, setString, setStringPainted, setUI, setValue, 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, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics,
getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getNextFocusableComponent, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation,
getToolTipText, getToolTipText, getTopLevelAncestor, getVerifyInputWhenFocusTarget, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, hide, isDoubleBuffered, isFocusCycleRoot, isFocusTraversable, isLightweightComponent, isManagingFocus, isMaximumSizeSet,
isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent,
processComponentKeyEvent, processFocusEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener,
removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions,
setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setNextFocusableComponent, setOpaque, setRequestFocusEnabled, setToolTipText, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf,
layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setLayout, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage,
createImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getInputContext,
getInputMethodRequests, getLocale, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown,
keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent,
processMouseEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize,
resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setLocale, setLocation, setLocation, setName, show, show, size, toString, transferFocus |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JUStatusBar.StatusBarProgressControl()
public JUStatusBar.StatusBarProgressControl(int orient)
public JUStatusBar.StatusBarProgressControl(int min, int max)
public JUStatusBar.StatusBarProgressControl(java.lang.String formatString, Formatter formatter)
image
- The image to be displayed by the label.public JUStatusBar.StatusBarProgressControl(int orient, int min, int max, java.lang.String formatString, Formatter formatter)
Method Detail |
public java.awt.Dimension getMaximumSize()
getMaximumSize
in class javax.swing.JComponent
public void setMaximumSize(java.awt.Dimension dim)
setMaximumSize
in class javax.swing.JComponent
public java.awt.Dimension getMinimumSize()
getMinimumSize
in class javax.swing.JComponent
public void setMinimumSize(java.awt.Dimension dim)
setMinimumSize
in class javax.swing.JComponent
public java.awt.Dimension getPreferredSize()
getPreferredSize
in class javax.swing.JComponent
public void setPreferredSize(java.awt.Dimension dim)
setPreferredSize
in class javax.swing.JComponent
public void setSize(java.awt.Dimension dim)
setSize
in class java.awt.Component
public void setSize(int width, int height)
setSize
in class java.awt.Component
public void setFormatString(java.lang.String nuFormatString)
The format string should be a format string as supported by the DefaultNumberFormatter.
nuFormatString
- The format string.getFormatString()
,
DefaultNumberFormatter
public java.lang.String getFormatString()
The format string should be a format string as supported by the DefaultNumberFormatter.
setFormatString(String nuFormatString)
,
DefaultNumberFormatter
public void setFormatter(Formatter formatter)
Formatter
- the new formatter for the progress control.public Formatter getFormatter()
|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |