| java.lang.Object java.awt.Component java.awt.Container java.awt.Panel ob.obbase.OBBase ob.listbox.ListBox
All known Subclasses: ob.listbox.SortableListBox, ob.tree.TreeBase,
Constructor Summary | |
public | ListBox() Default ListBox constructor takes no parameters, sets up for no multiple selections
as a default. | public | ListBox(boolean multipleSelections) |
Method Summary | |
public void | actionPerformed(ActionEvent e) | public void | addActionListener(ActionListener l) Adds the specified action listener to receive action events
from this list. | public synchronized void | addItem(String item, boolean bRepaint) addItem adds a new "row" into the ListBox. | public synchronized void | addItem(String item) addItem adds a new "row" into the ListBox. | public synchronized void | addItem(String item, int iImage, boolean bRepaint) addItem adds a new "row" into the ListBox. | public synchronized void | addItem(Object o) adds a new "row" at the end of the ListBox based on the object being passed
in. | public synchronized void | addItem(Object o, boolean bRepaint) adds a new "row" at the end of the ListBox based on the object being passed in. | public synchronized void | addItem(Object o, int iImage, boolean bRepaint) adds a new "row" at the end of the ListBox based on the object being passed in. | public synchronized void | addItem(ListItem item, boolean bRepaint) adds a new "row" at the end of the ListBox based on the object being passed in. | public synchronized void | addItem(ListItem item) adds a new "row" at the end of the ListBox based on the object being passed in. | public synchronized void | addItem(ListItem item, int iImage, boolean bRepaint) adds a new "row" at the end of the ListBox based on the object being passed in. | public synchronized void | addItem(String item, Font font) adds a new item (or row) to the ListBox with the specified string and font type. | public synchronized void | addItem(String item, Font font, int iImage) adds a new item (or row) to the ListBox with the specified string and font type. | public void | addItemListener(ItemListener l) Adds the specified item listener to recieve item events from
this list. | public void | addNotify() | public synchronized void | addSubItem(int item, String subitem) adds a new subitem to the ListItem. | public synchronized void | addSubItem(int item, String subitem, boolean bShowSubItem) adds a new subitem to the ListItem. | public int | calcItemsInRange(int cyRange, int nStartItem, boolean bDown) This is function will tell you how many items will fit in a given height. | public int | calcRangeHeight(int nFirst, int nLast, boolean bInclusive) This is function will tell you how many items will fit in a given height.
Since the list control allows variable height items, we must explicit
sum the heights of items to determine how many will fit within a pixel
range.
Parameters: nFirst - The index of the first item to start the computation with Parameters: nLast - The index of the last item to start the computation with. Parameters: bInclusive - Indicates whether we should include the last item inthe calculation. | protected void | changeItemText() | public synchronized void | clear() clear clears all items in the list. | public int | countItems() | public ListItem | createNewItem() | public synchronized void | delItem(int nItem) deletes a row in the listbox. | public synchronized void | delItems(int start, int end) deletes the items from the starting to ending rows. | public synchronized boolean | deleteItem(int nItem) | public synchronized boolean | deleteItem(int nItem, boolean bUpdate) deleteItem deletes a single item from the listbox and optionally
refreshes the painting of the listbox. | public synchronized boolean | deleteItem(int nItem, int cCount) deleteItem allows you to delete a contiguous set of ListItems (or rows). | public synchronized boolean | deleteItem(int nItem, int cCount, boolean bUpdate) deleteItem allows you to delete a contiguous set of ListItems (or rows).
If you specify too many items to be deleted, only those items which exist
will be deleted. | public synchronized void | deleteItems(int start, int end) deleteItems deletes the items in the given range. | public synchronized void | deselect(int index) deselect reset the specified selected item. | public synchronized void | deselectAll() deselects all items from the ListBox and force a redraw of the ListBox. | public synchronized void | deselectAll(boolean bUpdate) deselectAll resets all selected items and optionally redraw the ListBox
control. | public synchronized void | doLayout() | protected void | doubleClickEvent(int itemHit) | public void | draw(Graphics g) | public void | drawColumnLines(Graphics g) | protected void | drawDottedLine(Graphics g, int x1, int y1, int x2, int y2) | protected void | drawDottedRect(Graphics g, int x1, int y1, int width, int height) | public void | drawFocusRect(Graphics g, int x, int y, int w, int h) | public void | drawInvalidItems(Graphics g) | public void | drawItem(Graphics g) | public void | drawItemLines(Graphics g, Rectangle rcRow) | public void | drawSubItem(Graphics g) | protected void | drawTargetHighLight(Graphics g) | protected void | editItem() | public boolean | getAutoWrap() gets whether the items are autowrapped or not. | public int | getColumnHeaderHeight() | protected int | getColumnHit(int xPos) | public Font | getDefaultFont() | public int | getDottedLineFill() | public int | getDottedLineSpace() retrieves the amount of space between "dots" when dotted line styles are used. | public int | getDropTargetItem() | public Color | getHighlightTextBgColor() | public Color | getHighlightTextColor() | public boolean | getHilightSubItems() retrieves whether the subitems are highlighted or not. | protected int | getImageIndex(int imageID) | public Image | getImageList(int imageID) retrieves an Image from the Image Vectored list of the ListBox based on
the reference ID you pass in. | public int | getIndex(ListItem pItem) | public Rectangle | getInsideRect() retrieves the size of the "inside" rectangle; that is, the size of the viewable
area of the ListBox. | public Object | getItem(int index) getItem returns the item associated with the specified index.
Parameters: index - the item (row) index. | public ListItem | getItemAt(int index) | public int | getItemCount() | public int | getItemImage(ListItem item) | public String[] | getItems() | public int | getLastFullyVisibleItem() | public int | getLastVisibleRow() getLastVisibleRow returns the index of the last visible row. | public int | getLeftIndent() | public int | getLineSpacing() | protected Point | getLogicalSize() | protected int | getMaxLeftCol() | protected int | getMaxTopRow() | public boolean | getMultipleSelections() | protected int | getPosFromCol(int nCol) | public ListItem | getSelected() | protected int | getSelected(int x1, int y1) | public synchronized int | getSelectedIndex() getSelectedIndex returns the currently selected index (row). | public synchronized int[] | getSelectedIndexes() getSelectedIndexes returns the currently selected indexes. | public String | getSelectedItem() | public synchronized Object[] | getSelectedItems() getSelectedItems returns the selected items on the list. | public ListItem | getSelectedListItem() | public Object[] | getSelectedObjects() Returns the selected items on the list in an array of Objects. | protected int | getTarget(int x, int y) | public Color | getTextColor() getTextColor returns the default text color used for this listbox. | public int | getTextIndent() retrieves the default text indentation used in the listbox. | public int | getTopIndent() | public boolean | insertColumn(int nCol, Column pColNew, boolean bUpdate) inserts a new column into the ListBox in the position you indicate. | public boolean | insertColumn(int nCol, String strHeader, int fmt, int widthCol, int iSubItem, boolean bUpdate) inserts a new column into the ListBox in the position you indicate with the
parameters you specify. | public synchronized void | insertItem(int nIndex, ListItem item) inserts a ListItem (or inserts a new row) into the ListBox at the position
you specify. | public boolean | isColumnHeader() determines whether column headers are being displayed or not. | public boolean | isFocusTraversable() | public boolean | isHeaderCtrlEnabled() | public boolean | isOverlapEditMode() determines whether the overlap editing mode is set. | protected boolean | isRoot(int index) | public synchronized boolean | isSelected(int index) isSelected returns true if the index is one of the current selected index.
Parameters: index - the index to be checked. | public boolean | isShowDotRect() | protected int | itemsThisPage(Graphics g) | protected int | measureItem(Graphics g) | public int | measureItem(int nItem, Graphics g) | protected int | measureSubItem(Graphics g) | public void | modifySubItem(int item, int subitem, String newSubitem) modifies the String contents of a given subitem. | protected boolean | mouseDown(MouseEvent e, int x, int y) | protected boolean | mouseDrag(MouseEvent e, int x, int y) | protected boolean | mouseExit(MouseEvent e, int x, int y) | protected boolean | mouseMove(MouseEvent e, int x, int y) | protected boolean | mouseUp(MouseEvent e, int x, int y) | public void | moveItems(Object[] items, int targetIndex) | protected void | onDropAction() | protected void | onEndTracking(int nCol, int x) | protected void | onHitColumnHeader(int nCol) | protected void | onLeftColChanged(int nCol) | protected void | onMoveOverItem(int x, int y) | protected void | onMoveTracking(int nCol, int x) | protected boolean | onStartTracking(int nCol) | protected void | onTopRowChanged(int nRow) | public void | printDragItem(Graphics g) printDragItem draws an image when user is performing the drag&drop operation. | protected void | processActionEvent(ActionEvent e) Processes action events occurring on this component by
dispatching them to any registered ActionListener objects. | protected void | processEvent(AWTEvent e) Processes events on this listbox. | protected void | processFocusEvent(FocusEvent e) | protected void | processItemEvent(ItemEvent e) Processes item events occurring on this list by
dispatching them to any registered ItemListener objects. | protected void | processKeyEvent(KeyEvent e) | public void | reMeasureAllItems() | public void | removeActionListener(ActionListener l) Removes the specified action listener so it no longer receives
action events from this list. | public void | removeItemListener(ItemListener l) Removes the specified item listener so it no longer receives
item events from this list. | public synchronized void | replaceItem(Object newValue, int index) replaceItem replaces the item at the index with a new item. | public void | scrollHorz(int nPixels) | public void | scrollToView(int nRow, int nDirection) scrollToView scrolls the given row to the view. | public void | scrollToView(int nRow) scrollToView scrolls the given row to the view. | public void | scrollVert(int nScrollItems) This function scrolls the list up or down. | public void | scrollVert(int nScrollItems, boolean bFromBottom) This function scrolls the list up or down. | public synchronized void | select(int index, boolean bUpdate) select set the selected index. | protected synchronized void | select(int index, boolean bUpdate, boolean bScroll) | public synchronized void | select(int index) select set the selected index. | public void | setAllowDelete(boolean bAllowDelete) sets whether the end user has the ability to delete items (rows) in the listbox. | public void | setAutoWrap(boolean bWrap) sets whether the items are autowrapped or not. | public void | setColumnHeader(boolean bHeaders) sets whether column headers should be displayed or not. | public void | setColumnHeaderHeight(int nHeight) sets the pixel height of Column headers if they are displayed. | public void | setColumnLines(boolean bDraw) | public void | setColumnText(int nCol, String text) | public void | setColumnWidth(int nCol, int nWidth) | public void | setDefaultFont(Font font) | public void | setDottedLineFill(int nFill) sets dotted line fill space. | public void | setDottedLineSpace(int nSpace) sets the amount of space between "dots" when dotted line styles are used. | public void | setDragDrop(boolean bAllowDrag) sets whether List items can be dragged and dropped
into other areas. | public void | setDragDropImage(Image image) setDragDropImage sets the image to be displayed during drag&drop operation. | public void | setDrawDragImage(boolean bShowImage) sets whether an image is shown during a drag and drop operation. | public void | setEditMode(boolean bAllowEdit) sets whether list items or subitems can have their text edited or not. | public void | setGridLineColor(Color c) sets the color to use for the grid lines if drawn. | public void | setGridLineStyle(int style) | public void | setGridLines(boolean bDraw) | public void | setHighlightTextBgColor(Color c) | public void | setHighlightTextColor(Color c) sets the color to use for highlighted text. | public void | setHilightSubItems(boolean bHighlight) sets whether subitems are highlighted or not. | public int | setImageList(Image image) add a new image to image list. | public void | setImageList(Image image, int imageID) add a new image to image list. | public void | setItemLines(boolean bDraw) | public synchronized void | setItems(String[] its) | public void | setLeftIndent(int nIndent) | public void | setLineSpacing(int nSpace) sets the space between items (or space between rows). | public void | setMultipleSelections(boolean bMultipleSelections) sets whether multiple selections are allowed or not. | public void | setOverlapEditMode(boolean bOverlap) If the ListBox is in edit mode, this determines whether the editing will
extend beyond the boundaries of the edited column. | public void | setShowDotRect(boolean bShowDotRect) | public void | setTextColor(Color color) setTextColor sets the default text color of this listbox. | public void | setTextIndent(int nIndent) sets the default text indentation used in the listbox. | public void | setTopIndent(int nIndent) | public void | updateScrollbar() updates the scrollbars based on the current area of the ListBox being displayed. |
DEFAULT_COL_WIDTH | final public static int DEFAULT_COL_WIDTH(Code) | | Default column width
|
DOTTED | final public static int DOTTED(Code) | | |
DRAGDROP | final public static int DRAGDROP(Code) | | user devined event DRAGDROP for drag/drop action
|
DottedLineFill | protected int DottedLineFill(Code) | | |
DottedLineSpace | protected int DottedLineSpace(Code) | | |
FMT_CENTER | final public static int FMT_CENTER(Code) | | Center formatting style
|
FMT_LEFT | final public static int FMT_LEFT(Code) | | Left formatting style
|
FMT_RIGHT | final public static int FMT_RIGHT(Code) | | Right formatting style
|
LVXC_UNINITIALIZED | final public static int LVXC_UNINITIALIZED(Code) | | |
NONE | final public static int NONE(Code) | | No column resizing style
|
RESIZE | final public static int RESIZE(Code) | | Resizing allowed style
|
SOLID | final public static int SOLID(Code) | | |
commandDoubleClicked | protected String commandDoubleClicked(Code) | | |
commandLeftColChanged | protected String commandLeftColChanged(Code) | | |
commandTopRowChanged | protected String commandTopRowChanged(Code) | | |
m_PCheight | protected int m_PCheight(Code) | | |
m_bAllowDelete | protected boolean m_bAllowDelete(Code) | | |
m_bAutoWrap | protected boolean m_bAutoWrap(Code) | | |
m_bCaptured | boolean m_bCaptured(Code) | | |
m_bColumnHeader | protected boolean m_bColumnHeader(Code) | | |
m_bColumnLines | protected boolean m_bColumnLines(Code) | | |
m_bDragDropDrawn | protected boolean m_bDragDropDrawn(Code) | | |
m_bDragModeAllowed | protected boolean m_bDragModeAllowed(Code) | | |
m_bDragModeEnabled | protected boolean m_bDragModeEnabled(Code) | | |
m_bDrawDragImage | protected boolean m_bDrawDragImage(Code) | | |
m_bEditModeAllowed | protected boolean m_bEditModeAllowed(Code) | | |
m_bEditModeEnabled | protected boolean m_bEditModeEnabled(Code) | | |
m_bHasFocus | protected boolean m_bHasFocus(Code) | | |
m_bHilightSubItems | protected boolean m_bHilightSubItems(Code) | | |
m_bItemLines | protected boolean m_bItemLines(Code) | | |
m_bMouseDrag | protected boolean m_bMouseDrag(Code) | | |
m_bMultipleSelections | protected boolean m_bMultipleSelections(Code) | | |
m_bOverlapEdit | protected boolean m_bOverlapEdit(Code) | | |
m_bSelectedItemChanged | transient boolean m_bSelectedItemChanged(Code) | | |
m_bShowDotRect | protected boolean m_bShowDotRect(Code) | | |
m_colHighlightText | protected Color m_colHighlightText(Code) | | |
m_colHighlightTextBackground | protected Color m_colHighlightTextBackground(Code) | | |
m_cyHeader | protected int m_cyHeader(Code) | | |
m_dropTargetItem | protected int m_dropTargetItem(Code) | | |
m_lvi_iItem | protected int m_lvi_iItem(Code) | | |
m_lvi_iSubItem | protected int m_lvi_iSubItem(Code) | | |
m_nColumnEdit | protected int m_nColumnEdit(Code) | | |
m_nDraggingBegin | int m_nDraggingBegin(Code) | | |
m_nDraggingCurrent | int m_nDraggingCurrent(Code) | | |
m_nDraggingState | int m_nDraggingState(Code) | | |
m_nItemsThisPage | protected int m_nItemsThisPage(Code) | | |
m_nOldTargetIndex | protected int m_nOldTargetIndex(Code) | | |
m_nRowSpace | protected int m_nRowSpace(Code) | | |
m_nStyleGridLines | protected int m_nStyleGridLines(Code) | | |
m_nSubItemCount | protected int m_nSubItemCount(Code) | | |
m_nTopRow | protected int m_nTopRow(Code) | | |
m_nWidthGap | protected int m_nWidthGap(Code) | | |
m_nXMouse | protected int m_nXMouse(Code) | | |
m_nYMouse | protected int m_nYMouse(Code) | | |
selected | protected int selected(Code) | | |
ListBox | public ListBox()(Code) | | Default ListBox constructor takes no parameters, sets up for no multiple selections
as a default.
|
ListBox | public ListBox(boolean multipleSelections)(Code) | | ListBox constructor
Parameters: multipleSelections - whether multiple selections are allowed or not |
addActionListener | public void addActionListener(ActionListener l)(Code) | | Adds the specified action listener to receive action events
from this list. Action events occur when a list item is
double-clicked or the top row has been changed.
Parameters: l - the action listener |
addItem | public synchronized void addItem(String item, boolean bRepaint)(Code) | | addItem adds a new "row" into the ListBox. For a multiple column
listbox, this will create a new item in column 0 of the ListBox with
a string entry you specify. The new row will be added as the last row.
Parameters: item - The string you wish to place in the left-most column. Parameters: bRepaint - whether you wish to force a repaint of the ListBox after youadd the item |
addItem | public synchronized void addItem(String item)(Code) | | addItem adds a new "row" into the ListBox. For a multiple column
listbox, this will create a new item in column 0 of the ListBox with
a string entry you specify. The new row will be added as the last row.
Parameters: item - The string you wish to place in the left-most column. |
addItem | public synchronized void addItem(String item, int iImage, boolean bRepaint)(Code) | | addItem adds a new "row" into the ListBox. For a multiple column
listbox, this will create a new item in column 0 of the ListBox with
a string entry you specify. The new row will be added as the last row.
Parameters: item - The string you wish to place in the left-most column. Parameters: iImage - which image you wish to place with the item. The image isan int offset into the stored array of images that the ListBox references. Parameters: bRepaint - forces a repaint of the ListBox after you add the item |
addItem | public synchronized void addItem(Object o)(Code) | | adds a new "row" at the end of the ListBox based on the object being passed
in.
Parameters: o - the Object being passed in; must either be an instance of String or ListItem See Also: ob.listbox.ListBox.createNewItem |
addItem | public synchronized void addItem(Object o, boolean bRepaint)(Code) | | adds a new "row" at the end of the ListBox based on the object being passed in.
Parameters: o - the Object being passed in; must either be an instance of String or ListItem Parameters: bRepaint - forces a repaint of the ListBox after the item is added See Also: ob.listbox.ListBox.createNewItem |
addItem | public synchronized void addItem(Object o, int iImage, boolean bRepaint)(Code) | | adds a new "row" at the end of the ListBox based on the object being passed in.
Parameters: o - the Object being passed in; must either be an instance of String or ListItem Parameters: iImage - a reference to the image list stored in the ListBox class; specifyinga value will place an image with the new item. Parameters: bRepaint - forces a repaint of the ListBox after the item is added See Also: ob.listbox.ListBox.createNewItem |
addItem | public synchronized void addItem(ListItem item, boolean bRepaint)(Code) | | adds a new "row" at the end of the ListBox based on the object being passed in.
Parameters: item - the ListItem instance you wish to add. Parameters: bRepaint - forces a repaint of the ListBox after the item is added See Also: ob.listbox.ListBox.createNewItem |
addItem | public synchronized void addItem(ListItem item)(Code) | | adds a new "row" at the end of the ListBox based on the object being passed in.
Parameters: item - the ListItem instance you wish to add. See Also: ob.listbox.ListBox.createNewItem |
addItem | public synchronized void addItem(ListItem item, int iImage, boolean bRepaint)(Code) | | adds a new "row" at the end of the ListBox based on the object being passed in.
Parameters: item - the ListItem instance you wish to add. Parameters: iImage - a reference to the image list stored in the ListBox class; specifyinga value will place an image with the new item. Parameters: bRepaint - forces a repaint of the ListBox after the item is added See Also: ob.listbox.ListBox.createNewItem |
addItem | public synchronized void addItem(String item, Font font)(Code) | | adds a new item (or row) to the ListBox with the specified string and font type.
Parameters: item - the String you wish to be placed in the rows header column (usually the leftmost column) Parameters: font - which Font you wish the text to be displayed in. See Also: ob.listbox.ListBox.createNewItem See Also: ob.listbox.ListItem |
addItem | public synchronized void addItem(String item, Font font, int iImage)(Code) | | adds a new item (or row) to the ListBox with the specified string and font type.
Parameters: item - the String you wish to be placed in the rows header column (usually the leftmost column) Parameters: font - which Font you wish the text to be displayed in. Parameters: iImage - a reference to the image list stored in the ListBox class; specifyinga value will place an image with the new item. See Also: ob.listbox.ListBox.createNewItem See Also: ob.listbox.ListItem |
addItemListener | public void addItemListener(ItemListener l)(Code) | | Adds the specified item listener to recieve item events from
this list.
Parameters: l - the item listener |
addNotify | public void addNotify()(Code) | | addNotify is called when the component has been physically added to
a container
|
addSubItem | public synchronized void addSubItem(int item, String subitem)(Code) | | adds a new subitem to the ListItem. A subitem corresponds to the data that is
stored in a column of a row. addSubItem simply attaches a new column of data
to the row you specify. The subitem will be displayed in a visible state.
Parameters: item - which ListItem (or which row) you wish to append to Parameters: subitem - the text you wish to associate with the column See Also: ob.listbox.ListSubItem See Also: ob.listbox.ListItem |
addSubItem | public synchronized void addSubItem(int item, String subitem, boolean bShowSubItem)(Code) | | adds a new subitem to the ListItem. A subitem corresponds to the data that is
stored in a column of a row. addSubItem simply attaches a new column of data
to the row you specify.
Parameters: item - which ListItem (or which row) you wish to append to Parameters: subitem - the text you wish to associate with the column Parameters: bShowSubItem - whether the new subitem is displayed or not. See Also: ob.listbox.ListSubItem See Also: ob.listbox.ListItem |
calcItemsInRange | public int calcItemsInRange(int cyRange, int nStartItem, boolean bDown)(Code) | | This is function will tell you how many items will fit in a given height.
Since the list control allows variable height items, we must explicit
sum the heights of items to determine how many will fit within a pixel
range.
Parameters: cyRange - The pixel height to count the number of items fitting. Parameters: nStartItem - The index of the item to start the computation with. Parameters: bDown - Indicates whether we should scan downward or upward fromthe starting item in computing item count within range. |
calcRangeHeight | public int calcRangeHeight(int nFirst, int nLast, boolean bInclusive)(Code) | | This is function will tell you how many items will fit in a given height.
Since the list control allows variable height items, we must explicit
sum the heights of items to determine how many will fit within a pixel
range.
Parameters: nFirst - The index of the first item to start the computation with Parameters: nLast - The index of the last item to start the computation with. Parameters: bInclusive - Indicates whether we should include the last item inthe calculation. the range height in pixels as type int. |
changeItemText | protected void changeItemText()(Code) | | |
clear | public synchronized void clear()(Code) | | clear clears all items in the list.
|
countItems | public int countItems()(Code) | | retrieves the number of items (rows) in the list
number of items as type int |
createNewItem | public ListItem createNewItem()(Code) | | creates a new ListItem instance
new instance of ListItem |
delItem | public synchronized void delItem(int nItem)(Code) | | deletes a row in the listbox.
Parameters: nItem - offset into the ListItems (or, which row) you want to delete |
delItems | public synchronized void delItems(int start, int end)(Code) | | deletes the items from the starting to ending rows.
Parameters: start - starting row to delete from Parameters: end - ending row to delete from |
deleteItem | public synchronized boolean deleteItem(int nItem)(Code) | | deleteItem deletes a single item from the listbox and forces an update
of the listbox to be drawn
Parameters: nItem - the item (or row) to be deleted true if the item was successfully deleted, otherwise false |
deleteItem | public synchronized boolean deleteItem(int nItem, boolean bUpdate)(Code) | | deleteItem deletes a single item from the listbox and optionally
refreshes the painting of the listbox.
Parameters: nItem - which item (or row) you wish to delete Parameters: bUpdate - whether you wish to update the drawing after it is deleted true if the item was successfully deleted, otherwise false |
deleteItem | public synchronized boolean deleteItem(int nItem, int cCount)(Code) | | deleteItem allows you to delete a contiguous set of ListItems (or rows).
If you specify too many items to be deleted, only those items which exist
will be deleted.
Parameters: nItem - the starting ListItem (or row) you wish to delete. Parameters: nCount - how many ListItems (rows) you wish to delete true if the all items were successfully deleted, otherwise false. |
deleteItem | public synchronized boolean deleteItem(int nItem, int cCount, boolean bUpdate)(Code) | | deleteItem allows you to delete a contiguous set of ListItems (or rows).
If you specify too many items to be deleted, only those items which exist
will be deleted. You can also set a parameter for whether the ListBox will
be automatically updated after the deletion occurs or not.
Parameters: nItem - the starting ListItem (or row) you wish to delete. Parameters: nCount - how many ListItems (rows) you wish to delete Parameters: bUpdate - whether you wish to force an update(true) or not (false) true if the all items were successfully deleted, otherwise false. |
deleteItems | public synchronized void deleteItems(int start, int end)(Code) | | deleteItems deletes the items in the given range.
Parameters: start - the first index of the items to be deleted. Parameters: end - the last index of the items to be deleted. |
deselect | public synchronized void deselect(int index)(Code) | | deselect reset the specified selected item.
Parameters: index - the index to be deselected. |
deselectAll | public synchronized void deselectAll()(Code) | | deselects all items from the ListBox and force a redraw of the ListBox.
|
deselectAll | public synchronized void deselectAll(boolean bUpdate)(Code) | | deselectAll resets all selected items and optionally redraw the ListBox
control.
Parameters: bUpdate - determines whether the ListBox is completely redrawn or not. |
doLayout | public synchronized void doLayout()(Code) | | |
doubleClickEvent | protected void doubleClickEvent(int itemHit)(Code) | | |
draw | public void draw(Graphics g)(Code) | | standard draw routine
Parameters: g - Graphics object |
drawColumnLines | public void drawColumnLines(Graphics g)(Code) | | draws the column lines
Parameters: g - Graphics object |
drawDottedLine | protected void drawDottedLine(Graphics g, int x1, int y1, int x2, int y2)(Code) | | |
drawDottedRect | protected void drawDottedRect(Graphics g, int x1, int y1, int width, int height)(Code) | | |
drawFocusRect | public void drawFocusRect(Graphics g, int x, int y, int w, int h)(Code) | | draws the focus rectangle for the dimensions passed in
Parameters: g - Graphics object Parameters: x - start x position Parameters: y - start y position Parameters: w - width Parameters: h - height |
drawItem | public void drawItem(Graphics g)(Code) | | called when drawing an item (a full row)
Parameters: g - Graphics device |
drawItemLines | public void drawItemLines(Graphics g, Rectangle rcRow)(Code) | | draws the item lines (or the row lines)
Parameters: g - Graphics object Parameters: rcRow - the rectangle covering the region to draw |
drawSubItem | public void drawSubItem(Graphics g)(Code) | | called when drawing a subitem (a single column of a single row)
Parameters: g - Graphics device |
drawTargetHighLight | protected void drawTargetHighLight(Graphics g)(Code) | | |
editItem | protected void editItem()(Code) | | |
getAutoWrap | public boolean getAutoWrap()(Code) | | gets whether the items are autowrapped or not. If there is not enough
space to display the full text of an item or subitem and autowrap mode
is on, the size of the row will dynamically expand or collapse to include
enough space to display the text.
true if autowrap is to be turned on, otherwise false. |
getColumnHeaderHeight | public int getColumnHeaderHeight()(Code) | | returns the height of the column header in pixels
column pixel height as type int |
getColumnHit | protected int getColumnHit(int xPos)(Code) | | |
getDottedLineFill | public int getDottedLineFill()(Code) | | get the fill space for dotted line styles
fill space as type int |
getDottedLineSpace | public int getDottedLineSpace()(Code) | | retrieves the amount of space between "dots" when dotted line styles are used.
space in pixels as type int. See Also: ob.listbox.ListBox.setGridLineStyle |
getDropTargetItem | public int getDropTargetItem()(Code) | | |
getHighlightTextBgColor | public Color getHighlightTextBgColor()(Code) | | gets the default background color of the highlighted text
highlighted background text color as type Color |
getHighlightTextColor | public Color getHighlightTextColor()(Code) | | retrieves the default color of the highlighted text
highlighted text color as type Color |
getHilightSubItems | public boolean getHilightSubItems()(Code) | | retrieves whether the subitems are highlighted or not.
true if subitems are highlighted; otherwise false |
getImageIndex | protected int getImageIndex(int imageID)(Code) | | |
getImageList | public Image getImageList(int imageID)(Code) | | retrieves an Image from the Image Vectored list of the ListBox based on
the reference ID you pass in.
Parameters: imageID - the reference ID of the image you wish to retrieve the matched Image. |
getInsideRect | public Rectangle getInsideRect()(Code) | | retrieves the size of the "inside" rectangle; that is, the size of the viewable
area of the ListBox.
inside rectangle as type Rectangle |
getItem | public Object getItem(int index)(Code) | | getItem returns the item associated with the specified index.
Parameters: index - the item (row) index. item as type Object |
getItemAt | public ListItem getItemAt(int index)(Code) | | retrieves the ListItem at the specified index (or which row)
Parameters: index - which position (row) you wish to retrieve the ListItem for the item associated with the row as type ListItem See Also: ListItem |
getItemCount | public int getItemCount()(Code) | | retrieves the number of items (rows) in the list
number of items as type int |
getItemImage | public int getItemImage(ListItem item)(Code) | | retrieves the reference to the Image stored in the ListItem
Parameters: ListItem - which ListItem you are retrieving from the index of item's image See Also: ob.listbox.ListItem |
getLastFullyVisibleItem | public int getLastFullyVisibleItem()(Code) | | retrieves the item number (row) of the last fully visible item
last visible item (row) as type int |
getLastVisibleRow | public int getLastVisibleRow()(Code) | | getLastVisibleRow returns the index of the last visible row.
Parameters: last - visible row as type int |
getLeftIndent | public int getLeftIndent()(Code) | | |
getLineSpacing | public int getLineSpacing()(Code) | | retrieves the space between lines (rows)
the space between lines as type int. |
getMaxLeftCol | protected int getMaxLeftCol()(Code) | | |
getMaxTopRow | protected int getMaxTopRow()(Code) | | |
getMultipleSelections | public boolean getMultipleSelections()(Code) | | getMultipleSelections returns whether this listbox can select multiple items
simultaneously
multiple selection mode as type boolean |
getPosFromCol | protected int getPosFromCol(int nCol)(Code) | | |
getSelected | public ListItem getSelected()(Code) | | retrieves the currently selected item
currently selected item as type ListItem |
getSelected | protected int getSelected(int x1, int y1)(Code) | | |
getSelectedIndex | public synchronized int getSelectedIndex()(Code) | | getSelectedIndex returns the currently selected index (row).
the current index as type int |
getSelectedIndexes | public synchronized int[] getSelectedIndexes()(Code) | | getSelectedIndexes returns the currently selected indexes.
selected index values as an int array (int []) |
getSelectedItem | public String getSelectedItem()(Code) | | retrieves the text of the currently selected item
text of the currently selected item as type String |
getSelectedItems | public synchronized Object[] getSelectedItems()(Code) | | getSelectedItems returns the selected items on the list.
an array of selected items as an Object[] array. |
getSelectedListItem | public ListItem getSelectedListItem()(Code) | | retrieves the currently selected ListItem (row)
currently selected ListItem, or null if none selected |
getSelectedObjects | public Object[] getSelectedObjects()(Code) | | Returns the selected items on the list in an array of Objects.
See Also: ItemSelectable an array of selected items as an Object[] array. |
getTarget | protected int getTarget(int x, int y)(Code) | | |
getTextColor | public Color getTextColor()(Code) | | getTextColor returns the default text color used for this listbox.
default color as type Color |
getTextIndent | public int getTextIndent()(Code) | | retrieves the default text indentation used in the listbox.
default indentation used for text/images in a ListItem as type int See Also: ob.listbox.ListBox.setTextIndent |
getTopIndent | public int getTopIndent()(Code) | | |
insertColumn | public boolean insertColumn(int nCol, Column pColNew, boolean bUpdate)(Code) | | inserts a new column into the ListBox in the position you indicate.
Parameters: nCol - which column position you wish to insert at Parameters: pColNew - the new Column instance to insert Parameters: bUpdate - true if you wish to refresh the drawing of the listbox after insertion true if successfully inserted, otherwise false See Also: ob.listbox.Column |
insertColumn | public boolean insertColumn(int nCol, String strHeader, int fmt, int widthCol, int iSubItem, boolean bUpdate)(Code) | | inserts a new column into the ListBox in the position you indicate with the
parameters you specify.
Parameters: nCol - which column position you wish to insert at Parameters: strHeader - the String you wish placed in the column header Parameters: fmt - the justification of the column; possible values include FMT_CENTER, FMT_LEFT, FMT_RIGHT Parameters: widthCol - the column width in pixels Parameters: iSubItem - width used for the subitem Parameters: bUpdate - true if you wish to refresh the drawing of the listbox after insertion true if successfully inserted, otherwise false |
insertItem | public synchronized void insertItem(int nIndex, ListItem item)(Code) | | inserts a ListItem (or inserts a new row) into the ListBox at the position
you specify.
Parameters: nIndex - which position (or row) you wish to insert at Parameters: item - an instance of the ListItem to place in. See Also: ob.listbox.ListBox.createNewItem |
isColumnHeader | public boolean isColumnHeader()(Code) | | determines whether column headers are being displayed or not.
true if column headers are being used, otherwise false. |
isFocusTraversable | public boolean isFocusTraversable()(Code) | | |
isHeaderCtrlEnabled | public boolean isHeaderCtrlEnabled()(Code) | | determines whether the header control is enabled or not
true if header control is enabled; otherwise false |
isRoot | protected boolean isRoot(int index)(Code) | | |
isSelected | public synchronized boolean isSelected(int index)(Code) | | isSelected returns true if the index is one of the current selected index.
Parameters: index - the index to be checked. true if index is currently selected, otherwise false. |
isShowDotRect | public boolean isShowDotRect()(Code) | | |
measureItem | public int measureItem(int nItem, Graphics g)(Code) | | measures the height of a specified item in pixels
Parameters: nItem - which item(row) to measure Parameters: g - current Graphics context height of the item (row) in pixels as type int. |
modifySubItem | public void modifySubItem(int item, int subitem, String newSubitem)(Code) | | modifies the String contents of a given subitem.
Parameters: item - which item (row) you are modifying Parameters: subitem - which subitem (column) you wish to modify Parameters: newSubitem - the new String to place in the subitem See Also: ob.listbox.ListSubItem See Also: ob.listbox.ListItem |
moveItems | public void moveItems(Object[] items, int targetIndex)(Code) | | |
onDropAction | protected void onDropAction()(Code) | | |
onEndTracking | protected void onEndTracking(int nCol, int x)(Code) | | |
onHitColumnHeader | protected void onHitColumnHeader(int nCol)(Code) | | |
onLeftColChanged | protected void onLeftColChanged(int nCol)(Code) | | |
onMoveOverItem | protected void onMoveOverItem(int x, int y)(Code) | | |
onMoveTracking | protected void onMoveTracking(int nCol, int x)(Code) | | |
onStartTracking | protected boolean onStartTracking(int nCol)(Code) | | |
onTopRowChanged | protected void onTopRowChanged(int nRow)(Code) | | |
printDragItem | public void printDragItem(Graphics g)(Code) | | printDragItem draws an image when user is performing the drag&drop operation.
overwrite this method to draw your prefered image.
Parameters: g - Graphics object |
processActionEvent | protected void processActionEvent(ActionEvent e)(Code) | | Processes action events occurring on this component by
dispatching them to any registered ActionListener objects.
Parameters: e - the action event |
processEvent | protected void processEvent(AWTEvent e)(Code) | | Processes events on this listbox.
Parameters: e - the event |
processItemEvent | protected void processItemEvent(ItemEvent e)(Code) | | Processes item events occurring on this list by
dispatching them to any registered ItemListener objects.
Parameters: e - the item event |
reMeasureAllItems | public void reMeasureAllItems()(Code) | | forces all items to remeasure themselves
|
removeActionListener | public void removeActionListener(ActionListener l)(Code) | | Removes the specified action listener so it no longer receives
action events from this list.
Parameters: l - the action listener |
removeItemListener | public void removeItemListener(ItemListener l)(Code) | | Removes the specified item listener so it no longer receives
item events from this list.
Parameters: l - the item listener |
replaceItem | public synchronized void replaceItem(Object newValue, int index)(Code) | | replaceItem replaces the item at the index with a new item.
Parameters: newValue - the new item. Parameters: index - the position of the item to be replaced. |
scrollHorz | public void scrollHorz(int nPixels)(Code) | | scrolls the horizontal scrollbar by the number of pixels you specify
Parameters: nPixels - how many pixels you wish to scroll |
scrollToView | public void scrollToView(int nRow, int nDirection)(Code) | | scrollToView scrolls the given row to the view.
Parameters: nRow - the index of the row to be scrolled. Parameters: nDirection - the direction to scroll. |
scrollToView | public void scrollToView(int nRow)(Code) | | scrollToView scrolls the given row to the view.
Parameters: nRow - the index of the row to be scrolled. |
scrollVert | public void scrollVert(int nScrollItems)(Code) | | This function scrolls the list up or down. The nScrollItems
argument indicates how many items to scroll the list by.
There is a complication: each item in the list can have a
different height. Therefore, it becomes ambiguous as to which
item's you mean to scroll. For example, you can scroll three
items off of the top of the list or three items into view from
the bottom of the list. These two cases may scroll the list
by different pixel deltas since the items at the top of the
list may have different heights than the items at the bottom.
This is what the bFromBottom flag is all about. If true, the
height of the items just off the bottom of the display are
summed in computing the total distance to scroll. If false,
the items at the top of the display are summed instead.
Parameters: nScrollItems - how many items you wish to scroll |
scrollVert | public void scrollVert(int nScrollItems, boolean bFromBottom)(Code) | | This function scrolls the list up or down. The nScrollItems
argument indicates how many items to scroll the list by.
There is a complication: each item in the list can have a
different height. Therefore, it becomes ambiguous as to which
item's you mean to scroll. For example, you can scroll three
items off of the top of the list or three items into view from
the bottom of the list. These two cases may scroll the list
by different pixel deltas since the items at the top of the
list may have different heights than the items at the bottom.
This is what the bFromBottom flag is all about. If true, the
height of the items just off the bottom of the display are
summed in computing the total distance to scroll. If false,
the items at the top of the display are summed instead.
Parameters: nScrollItems - how many items you wish to scroll Parameters: bFromBottom - count the items from the bottom |
select | public synchronized void select(int index, boolean bUpdate)(Code) | | select set the selected index.
Parameters: index - the index to be selected. Parameters: bUpdate - if this is true the list will be repainted. |
select | protected synchronized void select(int index, boolean bUpdate, boolean bScroll)(Code) | | |
select | public synchronized void select(int index)(Code) | | select set the selected index.
Parameters: index - the index to be selected. |
setAllowDelete | public void setAllowDelete(boolean bAllowDelete)(Code) | | sets whether the end user has the ability to delete items (rows) in the listbox.
Parameters: bAllowDelete - true if deletions allowed, otherwise false. |
setAutoWrap | public void setAutoWrap(boolean bWrap)(Code) | | sets whether the items are autowrapped or not. If there is not enough
space to display the full text of an item or subitem and autowrap mode
is on, the size of the row will dynamically expand or collapse to include
enough space to display the text.
Parameters: bWrap - true if autowrap is to be turned on, otherwise false. |
setColumnHeader | public void setColumnHeader(boolean bHeaders)(Code) | | sets whether column headers should be displayed or not.
Parameters: bHeaders - true if headers should be displayed , otherwise false |
setColumnHeaderHeight | public void setColumnHeaderHeight(int nHeight)(Code) | | sets the pixel height of Column headers if they are displayed.
Parameters: nHeight - height of the column headers as type int |
setColumnText | public void setColumnText(int nCol, String text)(Code) | | sets the text for the column header
Parameters: nCol - which column you will be modifying Parameters: text - the new text for the column header |
setColumnWidth | public void setColumnWidth(int nCol, int nWidth)(Code) | | sets the width of a specified column in pixels
Parameters: nCol - which column to set Parameters: nWidth - the width in pixels |
setDottedLineFill | public void setDottedLineFill(int nFill)(Code) | | sets dotted line fill space.
Parameters: nFill - amount of fill space used for dotted lines |
setDottedLineSpace | public void setDottedLineSpace(int nSpace)(Code) | | sets the amount of space between "dots" when dotted line styles are used.
Parameters: nSpace - space in pixels between dots. See Also: ob.listbox.ListBox.setGridLineStyle |
setDragDrop | public void setDragDrop(boolean bAllowDrag)(Code) | | sets whether List items can be dragged and dropped
into other areas.
Parameters: bAllowDrag - true if drag and drop allowed, otherwise false |
setDragDropImage | public void setDragDropImage(Image image)(Code) | | setDragDropImage sets the image to be displayed during drag&drop operation.
Parameters: image - the image to be displayed during drag&drop operation. |
setDrawDragImage | public void setDrawDragImage(boolean bShowImage)(Code) | | sets whether an image is shown during a drag and drop operation.
Parameters: bShowImage - true if image should be displayed during drag and drop,otherwise false. |
setEditMode | public void setEditMode(boolean bAllowEdit)(Code) | | sets whether list items or subitems can have their text edited or not.
Parameters: bAllowEdit - true if editing is allowed, otherwise false. |
setGridLineStyle | public void setGridLineStyle(int style)(Code) | | sets the grid line style
Parameters: style - can either be DOTTED for dotted line, or SOLID for solid line. See Also: ob.listbox.ListBox.setGridLineColor |
setHighlightTextBgColor | public void setHighlightTextBgColor(Color c)(Code) | | sets the background color to use for highlighted text
Parameters: c - Color to use when drawing background of highlighted text |
setHighlightTextColor | public void setHighlightTextColor(Color c)(Code) | | sets the color to use for highlighted text.
Parameters: c - Color to use when drawing highlighted text |
setHilightSubItems | public void setHilightSubItems(boolean bHighlight)(Code) | | sets whether subitems are highlighted or not.
Parameters: bHighlight - true if subitems should be highlighted when selected,otherwise false. |
setImageList | public int setImageList(Image image)(Code) | | add a new image to image list. The ListBox stores an internal Vectored list
of images which are used when you wish to display an image. When you wish to
display an image in a ListItem, you can specify an integer reference to this
Vectored list. It is up to you to keep track of which reference ID is associated
with each image. In this particular method, the default ID refers to the position
of the Image in the Vectored list. So, if you have 4 Images in the Vector already
and you add a new Image to the list by calling setImageList; your Image reference
number would simply be 5. It is possible to associate unique ID numbers to the
images as well (see the setImageList with 2 parameters).
Parameters: image - the image to add |
setImageList | public void setImageList(Image image, int imageID)(Code) | | add a new image to image list. The ListBox stores an internal Vectored list
of images which are used when you wish to display an image, as well as a mirrored
vectored list of integer ID values associated with those Images. When you wish to
display an image in a ListItem, you can specify an integer reference which is looked up
to find the correct Image. It is up to you to keep track of which reference ID is associated
with each image.
Parameters: image - the image to add Parameters: imageID - the integer ID that is used to reference the Image you've just added. |
setItems | public synchronized void setItems(String[] its)(Code) | | Visual Cafe Support Routine
Allows String[] interaction
|
setLeftIndent | public void setLeftIndent(int nIndent)(Code) | | |
setLineSpacing | public void setLineSpacing(int nSpace)(Code) | | sets the space between items (or space between rows).
Parameters: nSpace - how much space in pixels should be between items (rows). |
setMultipleSelections | public void setMultipleSelections(boolean bMultipleSelections)(Code) | | sets whether multiple selections are allowed or not.
Parameters: bMultipleSelections - true if multiple selections should be used; otherwise false. |
setShowDotRect | public void setShowDotRect(boolean bShowDotRect)(Code) | | |
setTextColor | public void setTextColor(Color color)(Code) | | setTextColor sets the default text color of this listbox.
Parameters: color - the new text color of the listbox. |
setTextIndent | public void setTextIndent(int nIndent)(Code) | | sets the default text indentation used in the listbox. This
is the spacing between the border of the column and where the
text and/or image is actually drawn, in pixels.
Parameters: nIndent - number of pixels indented as type int |
setTopIndent | public void setTopIndent(int nIndent)(Code) | | |
updateScrollbar | public void updateScrollbar()(Code) | | updates the scrollbars based on the current area of the ListBox being displayed.
|
Methods inherited from java.awt.Container | public Component add(Component comp)(Code)(Java Doc) public Component add(String name, Component comp)(Code)(Java Doc) public Component add(Component comp, int index)(Code)(Java Doc) public void add(Component comp, Object constraints)(Code)(Java Doc) public void add(Component comp, Object constraints, int index)(Code)(Java Doc) public synchronized void addContainerListener(ContainerListener l)(Code)(Java Doc) protected void addImpl(Component comp, Object constraints, int index)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void applyComponentOrientation(ComponentOrientation o)(Code)(Java Doc) public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc) public int countComponents()(Code)(Java Doc) public void deliverEvent(Event e)(Code)(Java Doc) public void doLayout()(Code)(Java Doc) public Component findComponentAt(int x, int y)(Code)(Java Doc) public Component findComponentAt(Point p)(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public Component getComponent(int n)(Code)(Java Doc) public Component getComponentAt(int x, int y)(Code)(Java Doc) public Component getComponentAt(Point p)(Code)(Java Doc) public int getComponentCount()(Code)(Java Doc) public int getComponentZOrder(Component comp)(Code)(Java Doc) public Component[] getComponents()(Code)(Java Doc) public synchronized ContainerListener[] getContainerListeners()(Code)(Java Doc) public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc) public FocusTraversalPolicy getFocusTraversalPolicy()(Code)(Java Doc) public Insets getInsets()(Code)(Java Doc) public LayoutManager getLayout()(Code)(Java Doc) public T[] getListeners(Class<T> listenerType)(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public Point getMousePosition(boolean allowChildren) throws HeadlessException(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public Insets insets()(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public boolean isAncestorOf(Component c)(Code)(Java Doc) public boolean isFocusCycleRoot(Container container)(Code)(Java Doc) public boolean isFocusCycleRoot()(Code)(Java Doc) final public boolean isFocusTraversalPolicyProvider()(Code)(Java Doc) public boolean isFocusTraversalPolicySet()(Code)(Java Doc) public void layout()(Code)(Java Doc) public void list(PrintStream out, int indent)(Code)(Java Doc) public void list(PrintWriter out, int indent)(Code)(Java Doc) public Component locate(int x, int y)(Code)(Java Doc) public Dimension minimumSize()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) public void paintComponents(Graphics g)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public Dimension preferredSize()(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void printComponents(Graphics g)(Code)(Java Doc) protected void processContainerEvent(ContainerEvent e)(Code)(Java Doc) protected void processEvent(AWTEvent e)(Code)(Java Doc) public void remove(int index)(Code)(Java Doc) public void remove(Component comp)(Code)(Java Doc) public void removeAll()(Code)(Java Doc) public synchronized void removeContainerListener(ContainerListener l)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public void setComponentZOrder(Component comp, int index)(Code)(Java Doc) public void setFocusCycleRoot(boolean focusCycleRoot)(Code)(Java Doc) public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc) public void setFocusTraversalPolicy(FocusTraversalPolicy policy)(Code)(Java Doc) final public void setFocusTraversalPolicyProvider(boolean provider)(Code)(Java Doc) public void setFont(Font f)(Code)(Java Doc) public void setLayout(LayoutManager mgr)(Code)(Java Doc) public void transferFocusDownCycle()(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void validate()(Code)(Java Doc) protected void validateTree()(Code)(Java Doc)
|
Methods inherited from java.awt.Component | public boolean action(Event evt, Object what)(Code)(Java Doc) public void add(PopupMenu popup)(Code)(Java Doc) public synchronized void addComponentListener(ComponentListener l)(Code)(Java Doc) public synchronized void addFocusListener(FocusListener l)(Code)(Java Doc) public void addHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc) public void addHierarchyListener(HierarchyListener l)(Code)(Java Doc) public synchronized void addInputMethodListener(InputMethodListener l)(Code)(Java Doc) public synchronized void addKeyListener(KeyListener l)(Code)(Java Doc) public synchronized void addMouseListener(MouseListener l)(Code)(Java Doc) public synchronized void addMouseMotionListener(MouseMotionListener l)(Code)(Java Doc) public synchronized void addMouseWheelListener(MouseWheelListener l)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public synchronized void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void applyComponentOrientation(ComponentOrientation orientation)(Code)(Java Doc) public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc) public Rectangle bounds()(Code)(Java Doc) public int checkImage(Image image, ImageObserver observer)(Code)(Java Doc) public int checkImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc) protected AWTEvent coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent)(Code)(Java Doc) public boolean contains(int x, int y)(Code)(Java Doc) public boolean contains(Point p)(Code)(Java Doc) public Image createImage(ImageProducer producer)(Code)(Java Doc) public Image createImage(int width, int height)(Code)(Java Doc) public VolatileImage createVolatileImage(int width, int height)(Code)(Java Doc) public VolatileImage createVolatileImage(int width, int height, ImageCapabilities caps) throws AWTException(Code)(Java Doc) public void deliverEvent(Event e)(Code)(Java Doc) public void disable()(Code)(Java Doc) final protected void disableEvents(long eventsToDisable)(Code)(Java Doc) final public void dispatchEvent(AWTEvent e)(Code)(Java Doc) public void doLayout()(Code)(Java Doc) public void enable()(Code)(Java Doc) public void enable(boolean b)(Code)(Java Doc) final protected void enableEvents(long eventsToEnable)(Code)(Java Doc) public void enableInputMethods(boolean enable)(Code)(Java Doc) protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc) protected void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc) protected void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, byte oldValue, byte newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, short oldValue, short newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, long oldValue, long newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, float oldValue, float newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, double oldValue, double newValue)(Code)(Java Doc) public AccessibleContext getAccessibleContext()(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public Color getBackground()(Code)(Java Doc) public int getBaseline(int width, int height)(Code)(Java Doc) public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc) public Rectangle getBounds()(Code)(Java Doc) public Rectangle getBounds(Rectangle rv)(Code)(Java Doc) public ColorModel getColorModel()(Code)(Java Doc) public Component getComponentAt(int x, int y)(Code)(Java Doc) public Component getComponentAt(Point p)(Code)(Java Doc) public synchronized ComponentListener[] getComponentListeners()(Code)(Java Doc) public ComponentOrientation getComponentOrientation()(Code)(Java Doc) public Cursor getCursor()(Code)(Java Doc) public synchronized DropTarget getDropTarget()(Code)(Java Doc) public Container getFocusCycleRootAncestor()(Code)(Java Doc) public synchronized FocusListener[] getFocusListeners()(Code)(Java Doc) public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc) public boolean getFocusTraversalKeysEnabled()(Code)(Java Doc) public Font getFont()(Code)(Java Doc) public FontMetrics getFontMetrics(Font font)(Code)(Java Doc) public Color getForeground()(Code)(Java Doc) public Graphics getGraphics()(Code)(Java Doc) public GraphicsConfiguration getGraphicsConfiguration()(Code)(Java Doc) public int getHeight()(Code)(Java Doc) public synchronized HierarchyBoundsListener[] getHierarchyBoundsListeners()(Code)(Java Doc) public synchronized HierarchyListener[] getHierarchyListeners()(Code)(Java Doc) public boolean getIgnoreRepaint()(Code)(Java Doc) public InputContext getInputContext()(Code)(Java Doc) public synchronized InputMethodListener[] getInputMethodListeners()(Code)(Java Doc) public InputMethodRequests getInputMethodRequests()(Code)(Java Doc) public synchronized KeyListener[] getKeyListeners()(Code)(Java Doc) public T[] getListeners(Class<T> listenerType)(Code)(Java Doc) public Locale getLocale()(Code)(Java Doc) public Point getLocation()(Code)(Java Doc) public Point getLocation(Point rv)(Code)(Java Doc) public Point getLocationOnScreen()(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public synchronized MouseListener[] getMouseListeners()(Code)(Java Doc) public synchronized MouseMotionListener[] getMouseMotionListeners()(Code)(Java Doc) public Point getMousePosition() throws HeadlessException(Code)(Java Doc) public synchronized MouseWheelListener[] getMouseWheelListeners()(Code)(Java Doc) public String getName()(Code)(Java Doc) public Container getParent()(Code)(Java Doc) public ComponentPeer getPeer()(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public synchronized PropertyChangeListener[] getPropertyChangeListeners()(Code)(Java Doc) public synchronized PropertyChangeListener[] getPropertyChangeListeners(String propertyName)(Code)(Java Doc) public Dimension getSize()(Code)(Java Doc) public Dimension getSize(Dimension rv)(Code)(Java Doc) public Toolkit getToolkit()(Code)(Java Doc) final public Object getTreeLock()(Code)(Java Doc) public int getWidth()(Code)(Java Doc) public int getX()(Code)(Java Doc) public int getY()(Code)(Java Doc) public boolean gotFocus(Event evt, Object what)(Code)(Java Doc) public boolean handleEvent(Event evt)(Code)(Java Doc) public boolean hasFocus()(Code)(Java Doc) public void hide()(Code)(Java Doc) public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h)(Code)(Java Doc) public boolean inside(int x, int y)(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public boolean isBackgroundSet()(Code)(Java Doc) public boolean isCursorSet()(Code)(Java Doc) public boolean isDisplayable()(Code)(Java Doc) public boolean isDoubleBuffered()(Code)(Java Doc) public boolean isEnabled()(Code)(Java Doc) public boolean isFocusCycleRoot(Container container)(Code)(Java Doc) public boolean isFocusOwner()(Code)(Java Doc) public boolean isFocusTraversable()(Code)(Java Doc) public boolean isFocusable()(Code)(Java Doc) public boolean isFontSet()(Code)(Java Doc) public boolean isForegroundSet()(Code)(Java Doc) public boolean isLightweight()(Code)(Java Doc) public boolean isMaximumSizeSet()(Code)(Java Doc) public boolean isMinimumSizeSet()(Code)(Java Doc) public boolean isOpaque()(Code)(Java Doc) public boolean isPreferredSizeSet()(Code)(Java Doc) public boolean isShowing()(Code)(Java Doc) public boolean isValid()(Code)(Java Doc) public boolean isVisible()(Code)(Java Doc) public boolean keyDown(Event evt, int key)(Code)(Java Doc) public boolean keyUp(Event evt, int key)(Code)(Java Doc) public void layout()(Code)(Java Doc) public void list()(Code)(Java Doc) public void list(PrintStream out)(Code)(Java Doc) public void list(PrintStream out, int indent)(Code)(Java Doc) public void list(PrintWriter out)(Code)(Java Doc) public void list(PrintWriter out, int indent)(Code)(Java Doc) public Component locate(int x, int y)(Code)(Java Doc) public Point location()(Code)(Java Doc) public boolean lostFocus(Event evt, Object what)(Code)(Java Doc) public Dimension minimumSize()(Code)(Java Doc) public boolean mouseDown(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseDrag(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseEnter(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseExit(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseMove(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseUp(Event evt, int x, int y)(Code)(Java Doc) public void move(int x, int y)(Code)(Java Doc) public void nextFocus()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) public void paintAll(Graphics g)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public boolean postEvent(Event e)(Code)(Java Doc) public Dimension preferredSize()(Code)(Java Doc) public boolean prepareImage(Image image, ImageObserver observer)(Code)(Java Doc) public boolean prepareImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void printAll(Graphics g)(Code)(Java Doc) protected void processComponentEvent(ComponentEvent e)(Code)(Java Doc) protected void processEvent(AWTEvent e)(Code)(Java Doc) protected void processFocusEvent(FocusEvent e)(Code)(Java Doc) protected void processHierarchyBoundsEvent(HierarchyEvent e)(Code)(Java Doc) protected void processHierarchyEvent(HierarchyEvent e)(Code)(Java Doc) protected void processInputMethodEvent(InputMethodEvent e)(Code)(Java Doc) protected void processKeyEvent(KeyEvent e)(Code)(Java Doc) protected void processMouseEvent(MouseEvent e)(Code)(Java Doc) protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc) protected void processMouseWheelEvent(MouseWheelEvent e)(Code)(Java Doc) public void remove(MenuComponent popup)(Code)(Java Doc) public synchronized void removeComponentListener(ComponentListener l)(Code)(Java Doc) public synchronized void removeFocusListener(FocusListener l)(Code)(Java Doc) public void removeHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc) public void removeHierarchyListener(HierarchyListener l)(Code)(Java Doc) public synchronized void removeInputMethodListener(InputMethodListener l)(Code)(Java Doc) public synchronized void removeKeyListener(KeyListener l)(Code)(Java Doc) public synchronized void removeMouseListener(MouseListener l)(Code)(Java Doc) public synchronized void removeMouseMotionListener(MouseMotionListener l)(Code)(Java Doc) public synchronized void removeMouseWheelListener(MouseWheelListener l)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public synchronized void removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public synchronized void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void repaint()(Code)(Java Doc) public void repaint(long tm)(Code)(Java Doc) public void repaint(int x, int y, int width, int height)(Code)(Java Doc) public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc) public void requestFocus()(Code)(Java Doc) protected boolean requestFocus(boolean temporary)(Code)(Java Doc) public boolean requestFocusInWindow()(Code)(Java Doc) protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc) public void reshape(int x, int y, int width, int height)(Code)(Java Doc) public void resize(int width, int height)(Code)(Java Doc) public void resize(Dimension d)(Code)(Java Doc) public void setBackground(Color c)(Code)(Java Doc) public void setBounds(int x, int y, int width, int height)(Code)(Java Doc) public void setBounds(Rectangle r)(Code)(Java Doc) public void setComponentOrientation(ComponentOrientation o)(Code)(Java Doc) public void setCursor(Cursor cursor)(Code)(Java Doc) public synchronized void setDropTarget(DropTarget dt)(Code)(Java Doc) public void setEnabled(boolean b)(Code)(Java Doc) public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc) public void setFocusTraversalKeysEnabled(boolean focusTraversalKeysEnabled)(Code)(Java Doc) public void setFocusable(boolean focusable)(Code)(Java Doc) public void setFont(Font f)(Code)(Java Doc) public void setForeground(Color c)(Code)(Java Doc) public void setIgnoreRepaint(boolean ignoreRepaint)(Code)(Java Doc) public void setLocale(Locale l)(Code)(Java Doc) public void setLocation(int x, int y)(Code)(Java Doc) public void setLocation(Point p)(Code)(Java Doc) public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc) public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc) public void setName(String name)(Code)(Java Doc) public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc) public void setSize(int width, int height)(Code)(Java Doc) public void setSize(Dimension d)(Code)(Java Doc) public void setVisible(boolean b)(Code)(Java Doc) public void show()(Code)(Java Doc) public void show(boolean b)(Code)(Java Doc) public Dimension size()(Code)(Java Doc) public String toString()(Code)(Java Doc) public void transferFocus()(Code)(Java Doc) public void transferFocusBackward()(Code)(Java Doc) public void transferFocusUpCycle()(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void validate()(Code)(Java Doc)
|
|
|