|
|||||||||
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.JScrollPane | +--com.ibm.dse.gui.SpErrorList
The SpErrorList class (JScrollPane subclass with a JList) is a Bean that provides a error text list. It can be located in a DSECoordinatedPanel (Operation Panel or DSEPanel) or in an Embedded Panel. When an error happens, the error messages are automatically displayed in this list.
Inner classes inherited from class javax.swing.JScrollPane |
javax.swing.JScrollPane.AccessibleJScrollPane,
javax.swing.JScrollPane.ScrollBar |
Inner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Fields inherited from class javax.swing.JScrollPane |
columnHeader,
horizontalScrollBar,
horizontalScrollBarPolicy,
lowerLeft,
lowerRight,
rowHeader,
upperLeft,
upperRight,
verticalScrollBar,
verticalScrollBarPolicy,
viewport |
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 |
Constructor Summary | |
SpErrorList()
This constructor creates a SpErrorList object. |
|
SpErrorList(java.awt.Component view)
This constructor creates a SpErrorList object. |
|
SpErrorList(java.awt.Component view,
int vsbPolicy,
int hsbPolicy)
This constructor creates a SpErrorList object. |
|
SpErrorList(int vsbPolicy,
int hsbPolicy)
This constructor creates a SpErrorList object. |
Method Summary | |
java.awt.Color |
getBackgroundColorList()
Gets the backgroundColorList property (java.awt.Color) value. |
java.awt.Color |
getForegroundColorList()
Gets the foregroundColorList property (java.awt.Color) value. |
java.lang.String[] |
getListText()
Returns the list of errors text string that the Visual Bean is Showing. |
java.awt.Color |
getSelectionBackgroundList()
Gets the selectionBackgroundList property (java.awt.Color) value. |
java.awt.Color |
getSelectionForegroundList()
Gets the selectionForegroundList property (java.awt.Color) value. |
java.lang.String |
getText()
Returns the first error text string that the Visual Bean is Showing. |
static void |
main(java.lang.String[] args)
main entrypoint - starts the part when it is run as an application |
void |
setBackgroundColorList(java.awt.Color backgroundColorList)
Sets the backgroundColorList property (java.awt.Color) value. |
void |
setComponentOrientation(java.awt.ComponentOrientation o)
Set the language-sensitive orientation that is to be used to order the elements or text within this component. |
void |
setForegroundColorList(java.awt.Color foregroundColorList)
Sets the foregroundColorList property (java.awt.Color) value. |
void |
setListText(java.lang.String[] listText)
Defines the several lines (errors) of text this component will display. |
void |
setSelectionBackgroundList(java.awt.Color selectionBackgroundList)
Sets the selectionBackgroundList property (java.awt.Color) value. |
void |
setSelectionForegroundList(java.awt.Color selectionForegroundList)
Sets the selectionForegroundList property (java.awt.Color) value. |
void |
setText(java.lang.String text)
Defines the single line (error) of text this component will display. |
Methods inherited from class javax.swing.JScrollPane |
createHorizontalScrollBar,
createVerticalScrollBar,
createViewport,
getAccessibleContext,
getColumnHeader,
getCorner,
getHorizontalScrollBar,
getHorizontalScrollBarPolicy,
getRowHeader,
getUI,
getUIClassID,
getVerticalScrollBar,
getVerticalScrollBarPolicy,
getViewport,
getViewportBorder,
getViewportBorderBounds,
isOpaque,
isValidateRoot,
paramString,
setColumnHeader,
setColumnHeaderView,
setCorner,
setHorizontalScrollBar,
setHorizontalScrollBarPolicy,
setLayout,
setRowHeader,
setRowHeaderView,
setUI,
setVerticalScrollBar,
setVerticalScrollBarPolicy,
setViewport,
setViewportBorder,
setViewportView,
updateUI |
Methods inherited from class javax.swing.JComponent |
addAncestorListener,
addNotify,
addPropertyChangeListener,
addPropertyChangeListener,
addVetoableChangeListener,
computeVisibleRect,
contains,
createToolTip,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
fireVetoableChange,
getActionForKeyStroke,
getAlignmentX,
getAlignmentY,
getAutoscrolls,
getBorder,
getBounds,
getClientProperty,
getComponentGraphics,
getConditionForKeyStroke,
getDebugGraphicsOptions,
getGraphics,
getHeight,
getInsets,
getInsets,
getLocation,
getMaximumSize,
getMinimumSize,
getNextFocusableComponent,
getPreferredSize,
getRegisteredKeyStrokes,
getRootPane,
getSize,
getToolTipLocation,
getToolTipText,
getToolTipText,
getTopLevelAncestor,
getVisibleRect,
getWidth,
getX,
getY,
grabFocus,
hasFocus,
isDoubleBuffered,
isFocusCycleRoot,
isFocusTraversable,
isLightweightComponent,
isManagingFocus,
isOptimizedDrawingEnabled,
isPaintingTile,
isRequestFocusEnabled,
paint,
paintBorder,
paintChildren,
paintComponent,
paintImmediately,
paintImmediately,
processComponentKeyEvent,
processFocusEvent,
processKeyEvent,
processMouseMotionEvent,
putClientProperty,
registerKeyboardAction,
registerKeyboardAction,
removeAncestorListener,
removeNotify,
removePropertyChangeListener,
removePropertyChangeListener,
removeVetoableChangeListener,
repaint,
repaint,
requestDefaultFocus,
requestFocus,
resetKeyboardActions,
reshape,
revalidate,
scrollRectToVisible,
setAlignmentX,
setAlignmentY,
setAutoscrolls,
setBackground,
setBorder,
setDebugGraphicsOptions,
setDoubleBuffered,
setEnabled,
setFont,
setForeground,
setMaximumSize,
setMinimumSize,
setNextFocusableComponent,
setOpaque,
setPreferredSize,
setRequestFocusEnabled,
setToolTipText,
setUI,
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,
print,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
setCursor,
validate,
validateTree |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
getBackground,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getSize,
getToolkit,
getTreeLock,
gotFocus,
handleEvent,
hide,
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,
printAll,
processComponentEvent,
processInputMethodEvent,
processMouseEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
repaint,
repaint,
repaint,
resize,
resize,
setBounds,
setBounds,
setDropTarget,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
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 SpErrorList()
public SpErrorList(int vsbPolicy, int hsbPolicy)
vsbPolicy
- inthsbPolicy
- intpublic SpErrorList(java.awt.Component view)
view
- java.awt.Componentpublic SpErrorList(java.awt.Component view, int vsbPolicy, int hsbPolicy)
view
- java.awt.ComponentvsbPolicy
- inthsbPolicy
- intMethod Detail |
public java.awt.Color getBackgroundColorList()
setBackgroundColorList(java.awt.Color)
public java.awt.Color getForegroundColorList()
setForegroundColorList(java.awt.Color)
public java.lang.String[] getListText()
public java.awt.Color getSelectionBackgroundList()
setSelectionBackgroundList(java.awt.Color)
public java.awt.Color getSelectionForegroundList()
setSelectionForegroundList(java.awt.Color)
public java.lang.String getText()
public static void main(java.lang.String[] args)
args
- java.lang.String[]public void setBackgroundColorList(java.awt.Color backgroundColorList)
backgroundColorList
- The new value for the property.getBackgroundColorList()
public void setComponentOrientation(java.awt.ComponentOrientation o)
At construction time, a component's orientation is set to ComponentOrientation.UNKNOWN, indicating that it has not been specified explicitly. The UNKNOWN orientation behaves the same as ComponentOrientation.LEFT_TO_RIGHT.
To set the orientation of a single component, use this method. To apply a ResourceBundle's orientation to an entire component hierarchy, use java.awt.Window.applyResourceBundle.
public void setForegroundColorList(java.awt.Color foregroundColorList)
foregroundColorList
- The new value for the property.getForegroundColorList()
public void setListText(java.lang.String[] listText)
text
- String[], the new value for the several lines (errors) of textpublic void setSelectionBackgroundList(java.awt.Color selectionBackgroundList)
selectionBackgroundList
- The new value for the property.getSelectionBackgroundList()
public void setSelectionForegroundList(java.awt.Color selectionForegroundList)
selectionForegroundList
- The new value for the property.getSelectionForegroundList()
public void setText(java.lang.String text)
text
- String, the new value for the single line (error) of text
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |