|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.tivoli.uif.controls.UFStatusField
A recessed label pane used to insert into a status panel. The class supports both fixed and variable length pane sizes and can be customized. Used for populating a UFStatusPanel.
TWGTaskFrame
,
UFStatusPanel
,
Serialized FormNested Class Summary |
---|
Nested classes inherited from class javax.swing.JPanel |
---|
javax.swing.JPanel.AccessibleJPanel |
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 |
---|
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 java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
protected |
UFStatusField()
Deprecated. Protected constructor for use in the transition to use of TWGStatusField. |
|
UFStatusField(int width)
Deprecated. Constructs an empty, fixed length status field with the width passed. |
|
UFStatusField(int width,
int alignment)
Deprecated. Constructs an empty, fixed length status field sized to the width passed. |
|
UFStatusField(java.lang.String text)
Deprecated. Constructs a variable length status field using the text passed. |
|
UFStatusField(java.lang.String text,
int width)
Deprecated. Constructs a fixed (or variable) status field using the text passed. |
|
UFStatusField(java.lang.String text,
int width,
int halign)
Deprecated. Constructs the recessed label field, using the string provided as the text, the alignment value for alignment and the width value for the recessed area size. |
Method Summary | |
---|---|
void |
enableShrinkage(boolean es)
Deprecated. Enable (or disable) the ability of the field to shrink when requested. |
int |
getAlignment()
Deprecated. Retrieve the alignment of the text in the status field. |
int |
getFieldWidth()
Deprecated. Retrieve the width of the recessed pane. |
java.awt.Font |
getFont()
Deprecated. Get the font of the JLabel inside the field. |
java.awt.Color |
getForeground()
Deprecated. Get the foreground color of the JLabel inside the field. |
java.awt.Dimension |
getMaximumSize()
Deprecated. Override the maximum size method to always supply the value passed in. |
java.awt.Dimension |
getMinimumSize()
Deprecated. Override the minimum size method to always supply the value passed in. |
java.awt.Dimension |
getPreferredSize()
Deprecated. Override the preferred size method to always supply the value passed in. |
java.lang.String |
getText()
Deprecated. Retrieve the text of the status field. |
void |
setAlignment(int alignment)
Deprecated. Set the alignment of the text in the status field. |
void |
setFieldWidth(int newWidth)
Deprecated. Change the width of the recessed pane to the new value passed. |
void |
setFont(java.awt.Font font)
Deprecated. Set the font of the JLabel inside the field. |
void |
setForeground(java.awt.Color color)
Deprecated. Set the foreground color of the JLabel inside the field. |
void |
setText(java.lang.String text)
Deprecated. Set the text of the status field to the specified string. |
void |
setVariableMinWidth(int width)
Deprecated. Set a minimum width value to use on a variable width field. |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, 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, getNextFocusableComponent, 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, paintBorder, 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, 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, addImpl, 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, 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, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFontMetrics, 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 |
Constructor Detail |
protected UFStatusField()
public UFStatusField(int width)
width
- The width value to fix the field size at. If
0, the field is a variable length field.public UFStatusField(int width, int alignment)
width
- The width value to fix the field size at. If
0, the field is a variable length field.alignment
- The alignment for positioning the text in the field.public UFStatusField(java.lang.String text)
text
- The initial text to place in the status field.public UFStatusField(java.lang.String text, int width)
text
- The initial text to place in the status field.width
- The width value to fix the field size at. If
0, the field is a variable length field.public UFStatusField(java.lang.String text, int width, int halign)
text
- The initial text to place in the status field.width
- The width value to fix the field size at. If
0, the field is a variable length field.halign
- The alignment for positioning the text in the field.Method Detail |
public void setFieldWidth(int newWidth)
newWidth
- The width value to fix the field size at. If
0, the field is a variable length field.public int getFieldWidth()
public void setText(java.lang.String text)
text
- The new string to display in the status field.public java.lang.String getText()
public void setForeground(java.awt.Color color)
color
- The new color value for the text in the field.public java.awt.Color getForeground()
public void setFont(java.awt.Font font)
font
- The new font to use for displaying the text in the field.public java.awt.Font getFont()
public void setAlignment(int alignment)
alignment
- The alignment for positioning the text in the field.public int getAlignment()
public void setVariableMinWidth(int width)
width
- The minimum width to use for a variable width field.public void enableShrinkage(boolean es)
es
- If false, the field will stay at its fixed size (or variable min value)
when requested to shrink during sizing operations.
If true, overrides the fixed width value and allows the control to
shrink as small as possible during sizing operations.public java.awt.Dimension getPreferredSize()
public java.awt.Dimension getMinimumSize()
public java.awt.Dimension getMaximumSize()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |