Java Doc for ListBox.java in  » Portal » Open-Portal » ob » listbox » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » Open Portal » ob.listbox 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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,
ListBox
public class ListBox extends OBBase implements ItemSelectable,ActionListener(Code)


Field Summary
final public static  intDEFAULT_COL_WIDTH
    
final public static  intDOTTED
    
final public static  intDRAGDROP
    
protected  intDottedLineFill
    
protected  intDottedLineSpace
    
final public static  intFMT_CENTER
    
final public static  intFMT_LEFT
    
final public static  intFMT_RIGHT
    
final public static  intLVXC_UNINITIALIZED
    
final public static  intNONE
    
final public static  intRESIZE
    
final public static  intSOLID
    
protected  ActionListeneractionListener
    
protected  StringcommandDoubleClicked
    
public static  StringcommandDragDrop
    
protected  StringcommandItemDeleted
    
protected  StringcommandLeftColChanged
    
protected  StringcommandTopRowChanged
    
public static  Fontdefaultfont
    
protected  ItemListeneritemListener
    
protected  intm_PCheight
    
protected  Vectorm_arrColumns
    
protected  Vectorm_arrImageIDs
    
protected  Vectorm_arrImages
    
protected  Vectorm_arrItems
    
protected  booleanm_bAllowDelete
    
protected  booleanm_bAutoWrap
    
 booleanm_bCaptured
    
protected  booleanm_bColumnHeader
    
protected  booleanm_bColumnLines
    
protected  booleanm_bDragDropDrawn
    
protected  booleanm_bDragModeAllowed
    
protected  booleanm_bDragModeEnabled
    
protected  booleanm_bDrawDragImage
    
protected  booleanm_bEditModeAllowed
    
protected  booleanm_bEditModeEnabled
    
protected  booleanm_bHasFocus
    
protected  booleanm_bHilightSubItems
    
protected  booleanm_bItemLines
    
protected  booleanm_bMouseDrag
    
protected  booleanm_bMultipleSelections
    
protected  booleanm_bOverlapEdit
    
transient  booleanm_bSelectedItemChanged
    
protected  booleanm_bShowDotRect
    
protected  Colorm_colGridLines
    
protected  Colorm_colHighlightText
    
protected  Colorm_colHighlightTextBackground
    
protected  Columnm_colPCol
    
protected  Colorm_colText
    
protected  intm_cyHeader
    
protected  intm_dropTargetItem
    
protected  Imagem_imgDragPic
    
protected  ListItemm_itemCurrentEdit
    
protected  intm_lvi_iItem
    
protected  intm_lvi_iSubItem
    
protected  Stringm_lvi_pszText
    
protected  intm_nColumnEdit
    
 intm_nDraggingBegin
    
 intm_nDraggingCurrent
    
 intm_nDraggingState
    
protected  intm_nItemsThisPage
    
protected  intm_nOldTargetIndex
    
protected  intm_nRowSpace
    
protected  intm_nStyleGridLines
    
protected  intm_nSubItemCount
    
protected  intm_nTopRow
    
protected  intm_nWidthGap
    
protected  intm_nXMouse
    
protected  intm_nYMouse
    
protected  Pointm_ptViewportOrg
    
protected  Rectanglem_recPCRect
    
 Rectanglem_rectDragging
    
protected  ExpandableTextm_textEditNode
    
protected  intprev
    
protected  intselected
    

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  voidactionPerformed(ActionEvent e)
    
public  voidaddActionListener(ActionListener l)
     Adds the specified action listener to receive action events from this list.
public synchronized  voidaddItem(String item, boolean bRepaint)
     addItem adds a new "row" into the ListBox.
public synchronized  voidaddItem(String item)
     addItem adds a new "row" into the ListBox.
public synchronized  voidaddItem(String item, int iImage, boolean bRepaint)
     addItem adds a new "row" into the ListBox.
public synchronized  voidaddItem(Object o)
     adds a new "row" at the end of the ListBox based on the object being passed in.
public synchronized  voidaddItem(Object o, boolean bRepaint)
     adds a new "row" at the end of the ListBox based on the object being passed in.
public synchronized  voidaddItem(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  voidaddItem(ListItem item, boolean bRepaint)
     adds a new "row" at the end of the ListBox based on the object being passed in.
public synchronized  voidaddItem(ListItem item)
     adds a new "row" at the end of the ListBox based on the object being passed in.
public synchronized  voidaddItem(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  voidaddItem(String item, Font font)
     adds a new item (or row) to the ListBox with the specified string and font type.
public synchronized  voidaddItem(String item, Font font, int iImage)
     adds a new item (or row) to the ListBox with the specified string and font type.
public  voidaddItemListener(ItemListener l)
     Adds the specified item listener to recieve item events from this list.
public  voidaddNotify()
    
public synchronized  voidaddSubItem(int item, String subitem)
     adds a new subitem to the ListItem.
public synchronized  voidaddSubItem(int item, String subitem, boolean bShowSubItem)
     adds a new subitem to the ListItem.
public  intcalcItemsInRange(int cyRange, int nStartItem, boolean bDown)
     This is function will tell you how many items will fit in a given height.
public  intcalcRangeHeight(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  voidchangeItemText()
    
public synchronized  voidclear()
     clear clears all items in the list.
public  intcountItems()
    
public  ListItemcreateNewItem()
    
public synchronized  voiddelItem(int nItem)
     deletes a row in the listbox.
public synchronized  voiddelItems(int start, int end)
     deletes the items from the starting to ending rows.
public synchronized  booleandeleteItem(int nItem)
    
public synchronized  booleandeleteItem(int nItem, boolean bUpdate)
     deleteItem deletes a single item from the listbox and optionally refreshes the painting of the listbox.
public synchronized  booleandeleteItem(int nItem, int cCount)
     deleteItem allows you to delete a contiguous set of ListItems (or rows).
public synchronized  booleandeleteItem(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  voiddeleteItems(int start, int end)
     deleteItems deletes the items in the given range.
public synchronized  voiddeselect(int index)
     deselect reset the specified selected item.
public synchronized  voiddeselectAll()
     deselects all items from the ListBox and force a redraw of the ListBox.
public synchronized  voiddeselectAll(boolean bUpdate)
     deselectAll resets all selected items and optionally redraw the ListBox control.
public synchronized  voiddoLayout()
    
protected  voiddoubleClickEvent(int itemHit)
    
public  voiddraw(Graphics g)
    
public  voiddrawColumnLines(Graphics g)
    
protected  voiddrawDottedLine(Graphics g, int x1, int y1, int x2, int y2)
    
protected  voiddrawDottedRect(Graphics g, int x1, int y1, int width, int height)
    
public  voiddrawFocusRect(Graphics g, int x, int y, int w, int h)
    
public  voiddrawInvalidItems(Graphics g)
    
public  voiddrawItem(Graphics g)
    
public  voiddrawItemLines(Graphics g, Rectangle rcRow)
    
public  voiddrawSubItem(Graphics g)
    
protected  voiddrawTargetHighLight(Graphics g)
    
protected  voideditItem()
    
public  booleangetAutoWrap()
     gets whether the items are autowrapped or not.
public  intgetColumnHeaderHeight()
    
protected  intgetColumnHit(int xPos)
    
public  FontgetDefaultFont()
    
public  intgetDottedLineFill()
    
public  intgetDottedLineSpace()
     retrieves the amount of space between "dots" when dotted line styles are used.
public  intgetDropTargetItem()
    
public  ColorgetHighlightTextBgColor()
    
public  ColorgetHighlightTextColor()
    
public  booleangetHilightSubItems()
     retrieves whether the subitems are highlighted or not.
protected  intgetImageIndex(int imageID)
    
public  ImagegetImageList(int imageID)
     retrieves an Image from the Image Vectored list of the ListBox based on the reference ID you pass in.
public  intgetIndex(ListItem pItem)
    
public  RectanglegetInsideRect()
     retrieves the size of the "inside" rectangle; that is, the size of the viewable area of the ListBox.
public  ObjectgetItem(int index)
     getItem returns the item associated with the specified index.
Parameters:
  index - the item (row) index.
public  ListItemgetItemAt(int index)
    
public  intgetItemCount()
    
public  intgetItemImage(ListItem item)
    
public  String[]getItems()
    
public  intgetLastFullyVisibleItem()
    
public  intgetLastVisibleRow()
     getLastVisibleRow returns the index of the last visible row.
public  intgetLeftIndent()
    
public  intgetLineSpacing()
    
protected  PointgetLogicalSize()
    
protected  intgetMaxLeftCol()
    
protected  intgetMaxTopRow()
    
public  booleangetMultipleSelections()
    
protected  intgetPosFromCol(int nCol)
    
public  ListItemgetSelected()
    
protected  intgetSelected(int x1, int y1)
    
public synchronized  intgetSelectedIndex()
     getSelectedIndex returns the currently selected index (row).
public synchronized  int[]getSelectedIndexes()
     getSelectedIndexes returns the currently selected indexes.
public  StringgetSelectedItem()
    
public synchronized  Object[]getSelectedItems()
     getSelectedItems returns the selected items on the list.
public  ListItemgetSelectedListItem()
    
public  Object[]getSelectedObjects()
     Returns the selected items on the list in an array of Objects.
protected  intgetTarget(int x, int y)
    
public  ColorgetTextColor()
     getTextColor returns the default text color used for this listbox.
public  intgetTextIndent()
     retrieves the default text indentation used in the listbox.
public  intgetTopIndent()
    
public  booleaninsertColumn(int nCol, Column pColNew, boolean bUpdate)
     inserts a new column into the ListBox in the position you indicate.
public  booleaninsertColumn(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  voidinsertItem(int nIndex, ListItem item)
     inserts a ListItem (or inserts a new row) into the ListBox at the position you specify.
public  booleanisColumnHeader()
     determines whether column headers are being displayed or not.
public  booleanisFocusTraversable()
    
public  booleanisHeaderCtrlEnabled()
    
public  booleanisOverlapEditMode()
     determines whether the overlap editing mode is set.
protected  booleanisRoot(int index)
    
public synchronized  booleanisSelected(int index)
     isSelected returns true if the index is one of the current selected index.
Parameters:
  index - the index to be checked.
public  booleanisShowDotRect()
    
protected  intitemsThisPage(Graphics g)
    
protected  intmeasureItem(Graphics g)
    
public  intmeasureItem(int nItem, Graphics g)
    
protected  intmeasureSubItem(Graphics g)
    
public  voidmodifySubItem(int item, int subitem, String newSubitem)
     modifies the String contents of a given subitem.
protected  booleanmouseDown(MouseEvent e, int x, int y)
    
protected  booleanmouseDrag(MouseEvent e, int x, int y)
    
protected  booleanmouseExit(MouseEvent e, int x, int y)
    
protected  booleanmouseMove(MouseEvent e, int x, int y)
    
protected  booleanmouseUp(MouseEvent e, int x, int y)
    
public  voidmoveItems(Object[] items, int targetIndex)
    
protected  voidonDropAction()
    
protected  voidonEndTracking(int nCol, int x)
    
protected  voidonHitColumnHeader(int nCol)
    
protected  voidonLeftColChanged(int nCol)
    
protected  voidonMoveOverItem(int x, int y)
    
protected  voidonMoveTracking(int nCol, int x)
    
protected  booleanonStartTracking(int nCol)
    
protected  voidonTopRowChanged(int nRow)
    
public  voidprintDragItem(Graphics g)
     printDragItem draws an image when user is performing the drag&drop operation.
protected  voidprocessActionEvent(ActionEvent e)
     Processes action events occurring on this component by dispatching them to any registered ActionListener objects.
protected  voidprocessEvent(AWTEvent e)
     Processes events on this listbox.
protected  voidprocessFocusEvent(FocusEvent e)
    
protected  voidprocessItemEvent(ItemEvent e)
     Processes item events occurring on this list by dispatching them to any registered ItemListener objects.
protected  voidprocessKeyEvent(KeyEvent e)
    
public  voidreMeasureAllItems()
    
public  voidremoveActionListener(ActionListener l)
     Removes the specified action listener so it no longer receives action events from this list.
public  voidremoveItemListener(ItemListener l)
     Removes the specified item listener so it no longer receives item events from this list.
public synchronized  voidreplaceItem(Object newValue, int index)
     replaceItem replaces the item at the index with a new item.
public  voidscrollHorz(int nPixels)
    
public  voidscrollToView(int nRow, int nDirection)
     scrollToView scrolls the given row to the view.
public  voidscrollToView(int nRow)
     scrollToView scrolls the given row to the view.
public  voidscrollVert(int nScrollItems)
     This function scrolls the list up or down.
public  voidscrollVert(int nScrollItems, boolean bFromBottom)
     This function scrolls the list up or down.
public synchronized  voidselect(int index, boolean bUpdate)
     select set the selected index.
protected synchronized  voidselect(int index, boolean bUpdate, boolean bScroll)
    
public synchronized  voidselect(int index)
     select set the selected index.
public  voidsetAllowDelete(boolean bAllowDelete)
     sets whether the end user has the ability to delete items (rows) in the listbox.
public  voidsetAutoWrap(boolean bWrap)
     sets whether the items are autowrapped or not.
public  voidsetColumnHeader(boolean bHeaders)
     sets whether column headers should be displayed or not.
public  voidsetColumnHeaderHeight(int nHeight)
     sets the pixel height of Column headers if they are displayed.
public  voidsetColumnLines(boolean bDraw)
    
public  voidsetColumnText(int nCol, String text)
    
public  voidsetColumnWidth(int nCol, int nWidth)
    
public  voidsetDefaultFont(Font font)
    
public  voidsetDottedLineFill(int nFill)
     sets dotted line fill space.
public  voidsetDottedLineSpace(int nSpace)
     sets the amount of space between "dots" when dotted line styles are used.
public  voidsetDragDrop(boolean bAllowDrag)
     sets whether List items can be dragged and dropped into other areas.
public  voidsetDragDropImage(Image image)
     setDragDropImage sets the image to be displayed during drag&drop operation.
public  voidsetDrawDragImage(boolean bShowImage)
     sets whether an image is shown during a drag and drop operation.
public  voidsetEditMode(boolean bAllowEdit)
     sets whether list items or subitems can have their text edited or not.
public  voidsetGridLineColor(Color c)
     sets the color to use for the grid lines if drawn.
public  voidsetGridLineStyle(int style)
    
public  voidsetGridLines(boolean bDraw)
    
public  voidsetHighlightTextBgColor(Color c)
    
public  voidsetHighlightTextColor(Color c)
     sets the color to use for highlighted text.
public  voidsetHilightSubItems(boolean bHighlight)
     sets whether subitems are highlighted or not.
public  intsetImageList(Image image)
     add a new image to image list.
public  voidsetImageList(Image image, int imageID)
     add a new image to image list.
public  voidsetItemLines(boolean bDraw)
    
public synchronized  voidsetItems(String[] its)
    
public  voidsetLeftIndent(int nIndent)
    
public  voidsetLineSpacing(int nSpace)
     sets the space between items (or space between rows).
public  voidsetMultipleSelections(boolean bMultipleSelections)
     sets whether multiple selections are allowed or not.
public  voidsetOverlapEditMode(boolean bOverlap)
     If the ListBox is in edit mode, this determines whether the editing will extend beyond the boundaries of the edited column.
public  voidsetShowDotRect(boolean bShowDotRect)
    
public  voidsetTextColor(Color color)
     setTextColor sets the default text color of this listbox.
public  voidsetTextIndent(int nIndent)
     sets the default text indentation used in the listbox.
public  voidsetTopIndent(int nIndent)
    
public  voidupdateScrollbar()
     updates the scrollbars based on the current area of the ListBox being displayed.

Field Detail
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)



actionListener
protected ActionListener actionListener(Code)



commandDoubleClicked
protected String commandDoubleClicked(Code)



commandDragDrop
public static String commandDragDrop(Code)



commandItemDeleted
protected String commandItemDeleted(Code)



commandLeftColChanged
protected String commandLeftColChanged(Code)



commandTopRowChanged
protected String commandTopRowChanged(Code)



defaultfont
public static Font defaultfont(Code)



itemListener
protected ItemListener itemListener(Code)



m_PCheight
protected int m_PCheight(Code)



m_arrColumns
protected Vector m_arrColumns(Code)



m_arrImageIDs
protected Vector m_arrImageIDs(Code)



m_arrImages
protected Vector m_arrImages(Code)



m_arrItems
protected Vector m_arrItems(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_colGridLines
protected Color m_colGridLines(Code)



m_colHighlightText
protected Color m_colHighlightText(Code)



m_colHighlightTextBackground
protected Color m_colHighlightTextBackground(Code)



m_colPCol
protected Column m_colPCol(Code)



m_colText
protected Color m_colText(Code)



m_cyHeader
protected int m_cyHeader(Code)



m_dropTargetItem
protected int m_dropTargetItem(Code)



m_imgDragPic
protected Image m_imgDragPic(Code)



m_itemCurrentEdit
protected ListItem m_itemCurrentEdit(Code)



m_lvi_iItem
protected int m_lvi_iItem(Code)



m_lvi_iSubItem
protected int m_lvi_iSubItem(Code)



m_lvi_pszText
protected String m_lvi_pszText(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)



m_ptViewportOrg
protected Point m_ptViewportOrg(Code)



m_recPCRect
protected Rectangle m_recPCRect(Code)



m_rectDragging
Rectangle m_rectDragging(Code)



m_textEditNode
protected ExpandableText m_textEditNode(Code)



prev
protected int prev(Code)



selected
protected int selected(Code)




Constructor Detail
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




Method Detail
actionPerformed
public void actionPerformed(ActionEvent e)(Code)



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



drawInvalidItems
public void drawInvalidItems(Graphics g)(Code)



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)



getDefaultFont
public Font getDefaultFont()(Code)
retrieves the default font used for the ListBox default font as type Font
See Also:   ob.listbox.ListBox.setDefaultFont
See Also:   ob.listbox.ListItem.setFont



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.



getIndex
public int getIndex(ListItem pItem)(Code)



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



getItems
public String[] getItems()(Code)



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.



getLogicalSize
protected Point getLogicalSize()(Code)



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



isOverlapEditMode
public boolean isOverlapEditMode()(Code)
determines whether the overlap editing mode is set. true if overlap mode is on, otherwise false.
See Also:   ob.listbox.ListBox.setOverlapEditMode



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)



itemsThisPage
protected int itemsThisPage(Graphics g)(Code)



measureItem
protected int measureItem(Graphics g)(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.



measureSubItem
protected int measureSubItem(Graphics g)(Code)



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



mouseDown
protected boolean mouseDown(MouseEvent e, int x, int y)(Code)



mouseDrag
protected boolean mouseDrag(MouseEvent e, int x, int y)(Code)



mouseExit
protected boolean mouseExit(MouseEvent e, int x, int y)(Code)



mouseMove
protected boolean mouseMove(MouseEvent e, int x, int y)(Code)



mouseUp
protected boolean mouseUp(MouseEvent e, int x, int y)(Code)



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



processFocusEvent
protected void processFocusEvent(FocusEvent e)(Code)



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



processKeyEvent
protected void processKeyEvent(KeyEvent e)(Code)



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



setColumnLines
public void setColumnLines(boolean bDraw)(Code)
sets whether column lines are drawn or not
Parameters:
  bDraw - true if column lines should be drawn, otherwise false
See Also:   ob.listbox.ListBox.setGridLines
See Also:   ob.listbox.ListBox.setItemLines



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



setDefaultFont
public void setDefaultFont(Font font)(Code)
sets the default font for the entire ListBox
Parameters:
  font - default font as type Font
See Also:   ob.listbox.ListBox.getDefaultFont
See Also:   ob.listbox.ListItem.setFont



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.



setGridLineColor
public void setGridLineColor(Color c)(Code)
sets the color to use for the grid lines if drawn.
Parameters:
  c - Color to use when drawing grid lines
See Also:   ob.listbox.ListBox.setGridLines



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



setGridLines
public void setGridLines(boolean bDraw)(Code)
sets whether grid lines are drawn or not
Parameters:
  bDraw - true if grid lines should be drawn, otherwise false.
See Also:   ob.listbox.ListBox.setColumnLines
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.



setItemLines
public void setItemLines(boolean bDraw)(Code)
sets whether row lines are drawn or not
Parameters:
  bDraw - true if row lines should be drawn, otherwise false
See Also:   ob.listbox.ListBox.setColumnLines
See Also:   ob.listbox.ListBox.setGridLines



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.



setOverlapEditMode
public void setOverlapEditMode(boolean bOverlap)(Code)
If the ListBox is in edit mode, this determines whether the editing will extend beyond the boundaries of the edited column.
Parameters:
  bOverlap - true if overlap should occur, otherwise false
See Also:   ob.listbox.ListBox.setEditMode
See Also:   ob.listbox.ListBox.isOverlapEditMode



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.



Fields inherited from ob.obbase.OBBase
protected transient String OSName(Code)(Java Doc)
protected Scrollbar hs(Code)(Java Doc)
protected boolean m_bAlwaysShowScrollbar(Code)(Java Doc)
protected boolean m_bDoubleBuffering(Code)(Java Doc)
protected boolean m_bHideHScrollbar(Code)(Java Doc)
protected boolean m_bHideVScrollbar(Code)(Java Doc)
protected int m_nHScrollbarHeight(Code)(Java Doc)
protected int m_nLeftCol(Code)(Java Doc)
protected int m_nTopRow(Code)(Java Doc)
protected int m_nVScrollbarWidth(Code)(Java Doc)
protected transient Image offscreen(Code)(Java Doc)
protected Scrollbar vs(Code)(Java Doc)

Methods inherited from ob.obbase.OBBase
public void adjustmentValueChanged(AdjustmentEvent e)(Code)(Java Doc)
public synchronized void doLayout()(Code)(Java Doc)
protected void draw(Graphics g)(Code)(Java Doc)
public boolean getAlwaysShowScrollbars()(Code)(Java Doc)
public Scrollbar getHScrollbar()(Code)(Java Doc)
public int getHScrollbarHeight()(Code)(Java Doc)
protected int getMaxLeftCol()(Code)(Java Doc)
protected int getMaxTopRow()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public Scrollbar getVScrollbar()(Code)(Java Doc)
public int getVScrollbarWidth()(Code)(Java Doc)
public void hideHScrollbar()(Code)(Java Doc)
public void hideScrollbar()(Code)(Java Doc)
public void hideVScrollbar()(Code)(Java Doc)
public boolean isDoubleBuffering(boolean bBuff)(Code)(Java Doc)
protected boolean onLeftColChange(int nNewLeftCol)(Code)(Java Doc)
protected void onLeftColChanged(int nNewLeftCol)(Code)(Java Doc)
protected boolean onTopRowChange(int nNewTopRow)(Code)(Java Doc)
protected void onTopRowChanged(int nNewTopRow)(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
public void repaint()(Code)(Java Doc)
public void setAlwaysShowScrollbars(boolean bShowScrollbars)(Code)(Java Doc)
public void setBounds(int x, int y, int w, int h)(Code)(Java Doc)
public void setDoubleBuffering(boolean bBuff)(Code)(Java Doc)
public void setHScrollbarHeight(int height)(Code)(Java Doc)
public void setVScrollbarWidth(int width)(Code)(Java Doc)
public void showHScrollbar()(Code)(Java Doc)
public void showScrollbar()(Code)(Java Doc)
public void showVScrollbar()(Code)(Java Doc)
public void update(Graphics g, int x, int y, int w, int h)(Code)(Java Doc)
public void update()(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
protected void updateScrollbar()(Code)(Java Doc)
protected boolean validateImage()(Code)(Java Doc)

Methods inherited from java.awt.Panel
public void addNotify()(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)

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)

Fields inherited from java.awt.Component
final public static float BOTTOM_ALIGNMENT(Code)(Java Doc)
final public static float CENTER_ALIGNMENT(Code)(Java Doc)
final public static float LEFT_ALIGNMENT(Code)(Java Doc)
final public static float RIGHT_ALIGNMENT(Code)(Java Doc)
final public static float TOP_ALIGNMENT(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)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.