Java Doc for SearchableListBox.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) 


ob.listbox.ListBox
   ob.listbox.SortableListBox
      ob.listbox.SearchableListBox

SearchableListBox
public class SearchableListBox extends ob.listbox.SortableListBox (Code)


Field Summary
 Stringm_strCurrentSearchString
    

Constructor Summary
public  SearchableListBox(boolean bMultipleSelections)
    
public  SearchableListBox()
    

Method Summary
protected  voidchangeItemText()
    
protected  voidprocessKeyEvent(KeyEvent e)
    
public  intsearch(String strSearch)
     search for a particular piece of text.
public  voidsetSearchString(String newSearch)
    

Field Detail
m_strCurrentSearchString
String m_strCurrentSearchString(Code)




Constructor Detail
SearchableListBox
public SearchableListBox(boolean bMultipleSelections)(Code)
constructor
Parameters:
  bMultipleSelections - whether multiple selections are allowed



SearchableListBox
public SearchableListBox()(Code)
default constructor




Method Detail
changeItemText
protected void changeItemText()(Code)



processKeyEvent
protected void processKeyEvent(KeyEvent e)(Code)



search
public int search(String strSearch)(Code)
search for a particular piece of text. If list is not sorted, will automatically sort the list.
Parameters:
  strSearch - string to search on the first ListItem (row) instance which matches the search criterea, as type int



setSearchString
public void setSearchString(String newSearch)(Code)
sets the string to search on
Parameters:
  newSearch - the text to search for as type String



Fields inherited from ob.listbox.SortableListBox
Vector m_arrSortIntegers(Code)(Java Doc)
boolean m_bHitHeader(Code)(Java Doc)
boolean m_bRoveModeEnabled(Code)(Java Doc)
boolean m_bSort(Code)(Java Doc)
protected int m_nColumnSorted(Code)(Java Doc)
int m_nOldOver(Code)(Java Doc)

Methods inherited from ob.listbox.SortableListBox
public synchronized void addItem(String item)(Code)(Java Doc)
public synchronized void addItem(String item, int iImage)(Code)(Java Doc)
public synchronized void addItem(String item, int iImage, boolean bSort)(Code)(Java Doc)
public synchronized void addItem(Object o)(Code)(Java Doc)
public synchronized void addItem(Object o, int iImage)(Code)(Java Doc)
public synchronized void addItem(Object o, int iImage, boolean bSort)(Code)(Java Doc)
public synchronized void addItem(ListItem item, int iImage)(Code)(Java Doc)
public synchronized void addItem(ListItem item)(Code)(Java Doc)
public synchronized void addItem(ListItem item, int iImage, boolean bSort)(Code)(Java Doc)
public synchronized void addItem(String item, Font font)(Code)(Java Doc)
public synchronized void addItem(String item, Font font, int iImage)(Code)(Java Doc)
public synchronized void addItem(String item, Font font, int iImage, boolean bSort)(Code)(Java Doc)
public void draw(Graphics g)(Code)(Java Doc)
public boolean isRoveMode()(Code)(Java Doc)
public void moveItems(Object[] items, int targetIndex)(Code)(Java Doc)
protected void onHitColumnHeader(int nCol)(Code)(Java Doc)
protected void onMoveOverItem(int x, int y)(Code)(Java Doc)
protected int partition(int low, int high, int nCol)(Code)(Java Doc)
protected int partitionIntegers(int low, int high, int nCol)(Code)(Java Doc)
public void quicksort(int low, int high, int nCol)(Code)(Java Doc)
public void quicksortInteger(int low, int high, int nCol)(Code)(Java Doc)
public void reverse()(Code)(Java Doc)
public void setColumnIntegerSort(int nCol, boolean bIntSort)(Code)(Java Doc)
public void setRoveMode(boolean bRove)(Code)(Java Doc)
public void setSort(boolean b)(Code)(Java Doc)
public void sort()(Code)(Java Doc)
public void sort(int nCol)(Code)(Java Doc)
public void swap(int a, int b)(Code)(Java Doc)

Fields inherited from ob.listbox.ListBox
final public static int DEFAULT_COL_WIDTH(Code)(Java Doc)
final public static int DOTTED(Code)(Java Doc)
final public static int DRAGDROP(Code)(Java Doc)
protected int DottedLineFill(Code)(Java Doc)
protected int DottedLineSpace(Code)(Java Doc)
final public static int FMT_CENTER(Code)(Java Doc)
final public static int FMT_LEFT(Code)(Java Doc)
final public static int FMT_RIGHT(Code)(Java Doc)
final public static int LVXC_UNINITIALIZED(Code)(Java Doc)
final public static int NONE(Code)(Java Doc)
final public static int RESIZE(Code)(Java Doc)
final public static int SOLID(Code)(Java Doc)
protected ActionListener actionListener(Code)(Java Doc)
protected String commandDoubleClicked(Code)(Java Doc)
public static String commandDragDrop(Code)(Java Doc)
protected String commandItemDeleted(Code)(Java Doc)
protected String commandLeftColChanged(Code)(Java Doc)
protected String commandTopRowChanged(Code)(Java Doc)
public static Font defaultfont(Code)(Java Doc)
protected ItemListener itemListener(Code)(Java Doc)
protected int m_PCheight(Code)(Java Doc)
protected Vector m_arrColumns(Code)(Java Doc)
protected Vector m_arrImageIDs(Code)(Java Doc)
protected Vector m_arrImages(Code)(Java Doc)
protected Vector m_arrItems(Code)(Java Doc)
protected boolean m_bAllowDelete(Code)(Java Doc)
protected boolean m_bAutoWrap(Code)(Java Doc)
boolean m_bCaptured(Code)(Java Doc)
protected boolean m_bColumnHeader(Code)(Java Doc)
protected boolean m_bColumnLines(Code)(Java Doc)
protected boolean m_bDragDropDrawn(Code)(Java Doc)
protected boolean m_bDragModeAllowed(Code)(Java Doc)
protected boolean m_bDragModeEnabled(Code)(Java Doc)
protected boolean m_bDrawDragImage(Code)(Java Doc)
protected boolean m_bEditModeAllowed(Code)(Java Doc)
protected boolean m_bEditModeEnabled(Code)(Java Doc)
protected boolean m_bHasFocus(Code)(Java Doc)
protected boolean m_bHilightSubItems(Code)(Java Doc)
protected boolean m_bItemLines(Code)(Java Doc)
protected boolean m_bMouseDrag(Code)(Java Doc)
protected boolean m_bMultipleSelections(Code)(Java Doc)
protected boolean m_bOverlapEdit(Code)(Java Doc)
transient boolean m_bSelectedItemChanged(Code)(Java Doc)
protected boolean m_bShowDotRect(Code)(Java Doc)
protected Color m_colGridLines(Code)(Java Doc)
protected Color m_colHighlightText(Code)(Java Doc)
protected Color m_colHighlightTextBackground(Code)(Java Doc)
protected Column m_colPCol(Code)(Java Doc)
protected Color m_colText(Code)(Java Doc)
protected int m_cyHeader(Code)(Java Doc)
protected int m_dropTargetItem(Code)(Java Doc)
protected Image m_imgDragPic(Code)(Java Doc)
protected ListItem m_itemCurrentEdit(Code)(Java Doc)
protected int m_lvi_iItem(Code)(Java Doc)
protected int m_lvi_iSubItem(Code)(Java Doc)
protected String m_lvi_pszText(Code)(Java Doc)
protected int m_nColumnEdit(Code)(Java Doc)
int m_nDraggingBegin(Code)(Java Doc)
int m_nDraggingCurrent(Code)(Java Doc)
int m_nDraggingState(Code)(Java Doc)
protected int m_nItemsThisPage(Code)(Java Doc)
protected int m_nOldTargetIndex(Code)(Java Doc)
protected int m_nRowSpace(Code)(Java Doc)
protected int m_nStyleGridLines(Code)(Java Doc)
protected int m_nSubItemCount(Code)(Java Doc)
protected int m_nTopRow(Code)(Java Doc)
protected int m_nWidthGap(Code)(Java Doc)
protected int m_nXMouse(Code)(Java Doc)
protected int m_nYMouse(Code)(Java Doc)
protected Point m_ptViewportOrg(Code)(Java Doc)
protected Rectangle m_recPCRect(Code)(Java Doc)
Rectangle m_rectDragging(Code)(Java Doc)
protected ExpandableText m_textEditNode(Code)(Java Doc)
protected int prev(Code)(Java Doc)
protected int selected(Code)(Java Doc)

Methods inherited from ob.listbox.ListBox
public void actionPerformed(ActionEvent e)(Code)(Java Doc)
public void addActionListener(ActionListener l)(Code)(Java Doc)
public synchronized void addItem(String item, boolean bRepaint)(Code)(Java Doc)
public synchronized void addItem(String item)(Code)(Java Doc)
public synchronized void addItem(String item, int iImage, boolean bRepaint)(Code)(Java Doc)
public synchronized void addItem(Object o)(Code)(Java Doc)
public synchronized void addItem(Object o, boolean bRepaint)(Code)(Java Doc)
public synchronized void addItem(Object o, int iImage, boolean bRepaint)(Code)(Java Doc)
public synchronized void addItem(ListItem item, boolean bRepaint)(Code)(Java Doc)
public synchronized void addItem(ListItem item)(Code)(Java Doc)
public synchronized void addItem(ListItem item, int iImage, boolean bRepaint)(Code)(Java Doc)
public synchronized void addItem(String item, Font font)(Code)(Java Doc)
public synchronized void addItem(String item, Font font, int iImage)(Code)(Java Doc)
public void addItemListener(ItemListener l)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public synchronized void addSubItem(int item, String subitem)(Code)(Java Doc)
public synchronized void addSubItem(int item, String subitem, boolean bShowSubItem)(Code)(Java Doc)
public int calcItemsInRange(int cyRange, int nStartItem, boolean bDown)(Code)(Java Doc)
public int calcRangeHeight(int nFirst, int nLast, boolean bInclusive)(Code)(Java Doc)
protected void changeItemText()(Code)(Java Doc)
public synchronized void clear()(Code)(Java Doc)
public int countItems()(Code)(Java Doc)
public ListItem createNewItem()(Code)(Java Doc)
public synchronized void delItem(int nItem)(Code)(Java Doc)
public synchronized void delItems(int start, int end)(Code)(Java Doc)
public synchronized boolean deleteItem(int nItem)(Code)(Java Doc)
public synchronized boolean deleteItem(int nItem, boolean bUpdate)(Code)(Java Doc)
public synchronized boolean deleteItem(int nItem, int cCount)(Code)(Java Doc)
public synchronized boolean deleteItem(int nItem, int cCount, boolean bUpdate)(Code)(Java Doc)
public synchronized void deleteItems(int start, int end)(Code)(Java Doc)
public synchronized void deselect(int index)(Code)(Java Doc)
public synchronized void deselectAll()(Code)(Java Doc)
public synchronized void deselectAll(boolean bUpdate)(Code)(Java Doc)
public synchronized void doLayout()(Code)(Java Doc)
protected void doubleClickEvent(int itemHit)(Code)(Java Doc)
public void draw(Graphics g)(Code)(Java Doc)
public void drawColumnLines(Graphics g)(Code)(Java Doc)
protected void drawDottedLine(Graphics g, int x1, int y1, int x2, int y2)(Code)(Java Doc)
protected void drawDottedRect(Graphics g, int x1, int y1, int width, int height)(Code)(Java Doc)
public void drawFocusRect(Graphics g, int x, int y, int w, int h)(Code)(Java Doc)
public void drawInvalidItems(Graphics g)(Code)(Java Doc)
public void drawItem(Graphics g)(Code)(Java Doc)
public void drawItemLines(Graphics g, Rectangle rcRow)(Code)(Java Doc)
public void drawSubItem(Graphics g)(Code)(Java Doc)
protected void drawTargetHighLight(Graphics g)(Code)(Java Doc)
protected void editItem()(Code)(Java Doc)
public boolean getAutoWrap()(Code)(Java Doc)
public int getColumnHeaderHeight()(Code)(Java Doc)
protected int getColumnHit(int xPos)(Code)(Java Doc)
public Font getDefaultFont()(Code)(Java Doc)
public int getDottedLineFill()(Code)(Java Doc)
public int getDottedLineSpace()(Code)(Java Doc)
public int getDropTargetItem()(Code)(Java Doc)
public Color getHighlightTextBgColor()(Code)(Java Doc)
public Color getHighlightTextColor()(Code)(Java Doc)
public boolean getHilightSubItems()(Code)(Java Doc)
protected int getImageIndex(int imageID)(Code)(Java Doc)
public Image getImageList(int imageID)(Code)(Java Doc)
public int getIndex(ListItem pItem)(Code)(Java Doc)
public Rectangle getInsideRect()(Code)(Java Doc)
public Object getItem(int index)(Code)(Java Doc)
public ListItem getItemAt(int index)(Code)(Java Doc)
public int getItemCount()(Code)(Java Doc)
public int getItemImage(ListItem item)(Code)(Java Doc)
public String[] getItems()(Code)(Java Doc)
public int getLastFullyVisibleItem()(Code)(Java Doc)
public int getLastVisibleRow()(Code)(Java Doc)
public int getLeftIndent()(Code)(Java Doc)
public int getLineSpacing()(Code)(Java Doc)
protected Point getLogicalSize()(Code)(Java Doc)
protected int getMaxLeftCol()(Code)(Java Doc)
protected int getMaxTopRow()(Code)(Java Doc)
public boolean getMultipleSelections()(Code)(Java Doc)
protected int getPosFromCol(int nCol)(Code)(Java Doc)
public ListItem getSelected()(Code)(Java Doc)
protected int getSelected(int x1, int y1)(Code)(Java Doc)
public synchronized int getSelectedIndex()(Code)(Java Doc)
public synchronized int[] getSelectedIndexes()(Code)(Java Doc)
public String getSelectedItem()(Code)(Java Doc)
public synchronized Object[] getSelectedItems()(Code)(Java Doc)
public ListItem getSelectedListItem()(Code)(Java Doc)
public Object[] getSelectedObjects()(Code)(Java Doc)
protected int getTarget(int x, int y)(Code)(Java Doc)
public Color getTextColor()(Code)(Java Doc)
public int getTextIndent()(Code)(Java Doc)
public int getTopIndent()(Code)(Java Doc)
public boolean insertColumn(int nCol, Column pColNew, boolean bUpdate)(Code)(Java Doc)
public boolean insertColumn(int nCol, String strHeader, int fmt, int widthCol, int iSubItem, boolean bUpdate)(Code)(Java Doc)
public synchronized void insertItem(int nIndex, ListItem item)(Code)(Java Doc)
public boolean isColumnHeader()(Code)(Java Doc)
public boolean isFocusTraversable()(Code)(Java Doc)
public boolean isHeaderCtrlEnabled()(Code)(Java Doc)
public boolean isOverlapEditMode()(Code)(Java Doc)
protected boolean isRoot(int index)(Code)(Java Doc)
public synchronized boolean isSelected(int index)(Code)(Java Doc)
public boolean isShowDotRect()(Code)(Java Doc)
protected int itemsThisPage(Graphics g)(Code)(Java Doc)
protected int measureItem(Graphics g)(Code)(Java Doc)
public int measureItem(int nItem, Graphics g)(Code)(Java Doc)
protected int measureSubItem(Graphics g)(Code)(Java Doc)
public void modifySubItem(int item, int subitem, String newSubitem)(Code)(Java Doc)
protected boolean mouseDown(MouseEvent e, int x, int y)(Code)(Java Doc)
protected boolean mouseDrag(MouseEvent e, int x, int y)(Code)(Java Doc)
protected boolean mouseExit(MouseEvent e, int x, int y)(Code)(Java Doc)
protected boolean mouseMove(MouseEvent e, int x, int y)(Code)(Java Doc)
protected boolean mouseUp(MouseEvent e, int x, int y)(Code)(Java Doc)
public void moveItems(Object[] items, int targetIndex)(Code)(Java Doc)
protected void onDropAction()(Code)(Java Doc)
protected void onEndTracking(int nCol, int x)(Code)(Java Doc)
protected void onHitColumnHeader(int nCol)(Code)(Java Doc)
protected void onLeftColChanged(int nCol)(Code)(Java Doc)
protected void onMoveOverItem(int x, int y)(Code)(Java Doc)
protected void onMoveTracking(int nCol, int x)(Code)(Java Doc)
protected boolean onStartTracking(int nCol)(Code)(Java Doc)
protected void onTopRowChanged(int nRow)(Code)(Java Doc)
public void printDragItem(Graphics g)(Code)(Java Doc)
protected void processActionEvent(ActionEvent e)(Code)(Java Doc)
protected void processEvent(AWTEvent e)(Code)(Java Doc)
protected void processFocusEvent(FocusEvent e)(Code)(Java Doc)
protected void processItemEvent(ItemEvent e)(Code)(Java Doc)
protected void processKeyEvent(KeyEvent e)(Code)(Java Doc)
public void reMeasureAllItems()(Code)(Java Doc)
public void removeActionListener(ActionListener l)(Code)(Java Doc)
public void removeItemListener(ItemListener l)(Code)(Java Doc)
public synchronized void replaceItem(Object newValue, int index)(Code)(Java Doc)
public void scrollHorz(int nPixels)(Code)(Java Doc)
public void scrollToView(int nRow, int nDirection)(Code)(Java Doc)
public void scrollToView(int nRow)(Code)(Java Doc)
public void scrollVert(int nScrollItems)(Code)(Java Doc)
public void scrollVert(int nScrollItems, boolean bFromBottom)(Code)(Java Doc)
public synchronized void select(int index, boolean bUpdate)(Code)(Java Doc)
protected synchronized void select(int index, boolean bUpdate, boolean bScroll)(Code)(Java Doc)
public synchronized void select(int index)(Code)(Java Doc)
public void setAllowDelete(boolean bAllowDelete)(Code)(Java Doc)
public void setAutoWrap(boolean bWrap)(Code)(Java Doc)
public void setColumnHeader(boolean bHeaders)(Code)(Java Doc)
public void setColumnHeaderHeight(int nHeight)(Code)(Java Doc)
public void setColumnLines(boolean bDraw)(Code)(Java Doc)
public void setColumnText(int nCol, String text)(Code)(Java Doc)
public void setColumnWidth(int nCol, int nWidth)(Code)(Java Doc)
public void setDefaultFont(Font font)(Code)(Java Doc)
public void setDottedLineFill(int nFill)(Code)(Java Doc)
public void setDottedLineSpace(int nSpace)(Code)(Java Doc)
public void setDragDrop(boolean bAllowDrag)(Code)(Java Doc)
public void setDragDropImage(Image image)(Code)(Java Doc)
public void setDrawDragImage(boolean bShowImage)(Code)(Java Doc)
public void setEditMode(boolean bAllowEdit)(Code)(Java Doc)
public void setGridLineColor(Color c)(Code)(Java Doc)
public void setGridLineStyle(int style)(Code)(Java Doc)
public void setGridLines(boolean bDraw)(Code)(Java Doc)
public void setHighlightTextBgColor(Color c)(Code)(Java Doc)
public void setHighlightTextColor(Color c)(Code)(Java Doc)
public void setHilightSubItems(boolean bHighlight)(Code)(Java Doc)
public int setImageList(Image image)(Code)(Java Doc)
public void setImageList(Image image, int imageID)(Code)(Java Doc)
public void setItemLines(boolean bDraw)(Code)(Java Doc)
public synchronized void setItems(String[] its)(Code)(Java Doc)
public void setLeftIndent(int nIndent)(Code)(Java Doc)
public void setLineSpacing(int nSpace)(Code)(Java Doc)
public void setMultipleSelections(boolean bMultipleSelections)(Code)(Java Doc)
public void setOverlapEditMode(boolean bOverlap)(Code)(Java Doc)
public void setShowDotRect(boolean bShowDotRect)(Code)(Java Doc)
public void setTextColor(Color color)(Code)(Java Doc)
public void setTextIndent(int nIndent)(Code)(Java Doc)
public void setTopIndent(int nIndent)(Code)(Java Doc)
public void updateScrollbar()(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.