|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.List
com.ibm.btt.base.TraceList
public class TraceList
This class displays the lines of a trace. This class is a descendant of List.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.List |
---|
java.awt.List.AccessibleAWTList |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected boolean |
anyItemSelected
|
protected boolean |
autoScroll
|
(package private) static int |
MAX_LINES
|
protected int |
maximum
|
protected int |
maxNumberOfLines
|
protected int |
minimum
|
protected int |
nextLine
|
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 | |
---|---|
TraceList()
This is the default constructor used to create a TraceList object. |
|
TraceList(int maxLines)
This constructor creates a TraceList object that has a specified number of lines before wrapping occurs. |
Method Summary | |
---|---|
void |
addLine(java.lang.String line)
Adds or inserts the line into the list. |
boolean |
anyItemSelected()
Returns true if there is at least one item selected in the list. |
void |
clearAll()
Clears the list. |
void |
deselectAll()
Deselects all the items selected by the user. |
void |
enableAutoScroll(boolean b)
Enables the vertical scrolling of items whenever a new item is inserted in the list if the parameter is true. |
boolean |
getAutoScroll()
Returns the value of the autoScroll attribute. |
int |
getMaximum()
Returns the maximum size of the TraceList. |
int |
getMinimum()
Returns the minimum size of the TraceList. |
void |
getRange()
Computes the value of the range attribute. |
protected void |
initialize(int lines)
Initializes the attributes of the object with the appropriate value. |
void |
saveAll(java.io.OutputStream out)
Writes all the items of the list to out. |
void |
saveSelected(java.io.OutputStream out)
Writes the selected items of the list to out. |
void |
saveVisible(java.io.OutputStream out,
int from,
int to)
Writes the visible items in the list out. |
Methods inherited from class java.awt.List |
---|
add, add, addActionListener, addItem, addItem, addItemListener, addNotify, allowsMultipleSelections, clear, countItems, delItem, delItems, deselect, getAccessibleContext, getActionListeners, getItem, getItemCount, getItemListeners, getItems, getListeners, getMinimumSize, getMinimumSize, getPreferredSize, getPreferredSize, getRows, getSelectedIndex, getSelectedIndexes, getSelectedItem, getSelectedItems, getSelectedObjects, getVisibleIndex, isIndexSelected, isMultipleMode, isSelected, makeVisible, minimumSize, minimumSize, paramString, preferredSize, preferredSize, processActionEvent, processEvent, processItemEvent, remove, remove, removeActionListener, removeAll, removeItemListener, removeNotify, replaceItem, select, setMultipleMode, setMultipleSelections |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, postEvent, prepareImage, prepareImage, print, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, update, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
static final int MAX_LINES
protected int nextLine
protected int maxNumberOfLines
protected boolean anyItemSelected
protected boolean autoScroll
protected int minimum
protected int maximum
Constructor Detail |
---|
public TraceList()
public TraceList(int maxLines)
maxLines
- intMethod Detail |
---|
public void addLine(java.lang.String line)
line
- java.lang.Stringpublic boolean anyItemSelected()
public void clearAll()
public void deselectAll()
public void enableAutoScroll(boolean b)
b
- booleanpublic boolean getAutoScroll()
public int getMaximum()
public int getMinimum()
public void getRange()
protected void initialize(int lines)
public void saveAll(java.io.OutputStream out) throws java.io.IOException
out
- java.io.OutputStream
java.io.IOException
public void saveSelected(java.io.OutputStream out) throws java.io.IOException
out
- java.io.OutputStream
java.io.IOException
public void saveVisible(java.io.OutputStream out, int from, int to) throws java.io.IOException
out
- java.io.OutputStreamfrom
- intto
- int
java.io.IOException
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |