Java Doc for TreeBase.java in  » Portal » Open-Portal » ob » tree » 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.tree 
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
                  ob.tree.TreeBase

TreeBase
public class TreeBase extends ob.listbox.ListBox implements Serializable(Code)
The TreeBase extends the ListBox control and provides additional functionality and support for a tree hierarchy in the control. Since the TreeBase derives from the ListBox control, it uses the same architecture for storing images and referencing them by integer values rather than duplicating storage for images in every single node of the tree. You can view the reference for ListBox to determine how to initialize the image reference list, and use integer IDs to refer to the images when you need to associate tree items with images.
See Also:   ob.listbox.ListBox
See Also:   ob.tree.Node
See Also:   ob.tree.TreeNodeX


Field Summary
final public static  intDOUBLE_CLICK
    
final public static  intILLEGAL
    
final public static  intITEM_COLLAPSED
    
final public static  intITEM_EXPANDED
    
final public static  intOPENFOLDER
    
final public static  intSELECTION_CHANGE
    
final public static  intTVE_COLLAPSE
    
final public static  intTVE_EXPAND
    
final public static  intTVE_TOGGLE
    
final public static  intTVGN_CARET
    
final public static  intTVGN_CHILD
    
final public static  intTVGN_DROPHILITE
    
final public static  intTVGN_FIRSTSELECTED
    
final public static  intTVGN_FIRSTVISIBLE
    
final public static  intTVGN_NEXT
    
final public static  intTVGN_NEXTSELECTED
    
final public static  intTVGN_NEXTVISIBLE
    
final public static  intTVGN_PARENT
    
final public static  intTVGN_PREVIOUS
    
final public static  intTVGN_PREVIOUSSELECTED
    
final public static  intTVGN_PREVIOUSVISIBLE
    
final public static  intTVGN_ROOT
    
final public static  StringcommandDragDrop
    
final public static  StringcommandIllegalAction
    
final public static  StringcommandItemCollapsed
    
final public static  StringcommandItemExpanded
    
final public static  StringcommandOpenFolder
    
final public static  StringcommandSelectionChanged
    
protected  Vectorm_arrRoots
    
protected  booleanm_bButton
    
protected  booleanm_bHideDisabledItems
    
protected  booleanm_bHierarchyLines
    
protected  booleanm_bLinesAtRoot
    
protected  Colorm_colHierarchyLines
    
 Nodem_itemDropTarget
    
 Nodem_itemEventTarget
    
protected  intm_nIndent
    
protected  intm_nStyleHierarchyLines
    
protected  intm_nWordGap
    
 Nodem_nodeCurrentEdit
    
 StringtxtBgHighColor
    
 StringtxtHiTxtColor
    
 StringtxtTxtColor
    

Constructor Summary
public  TreeBase()
    
public  TreeBase(boolean bMultipleSelections)
    
public  TreeBase(String rootText, int imgReg, int imgExp, ActionListener action)
    

Method Summary
protected  intaddChildrenToListCtrl(Node pParent, int nIndex)
    
protected  booleanaddNodeToListBox(Node pNodeAdd)
    
public  intaddRootItem(Node node)
    
protected  RectanglecalcButtonRect()
    
protected  voidchangeItemText()
    
public  intcreateRootNode(String label, int image, int imageExpanded)
    
public  intcreateRootNode()
    
public synchronized  voiddelNode(Node pChild, boolean pUpdate)
    
protected  booleandelNodeFromListBox(Node pNodeDel)
    
protected  booleandelNodeFromListBox(Node pNodeDel, boolean bUpdate)
    
public  voiddelParentNode(Node parentNode, boolean bUpdate)
    
public  voiddeleteItem(TreeItem item)
    
protected  booleandeleteUnChildedItem(Node hti, boolean bDelFromListBox)
    
protected  booleandeletedUnChildedItem(Node hti)
    
protected  voiddoubleClickEvent(int itemHit)
    
protected  voiddrawButton(Graphics g)
     draws the button indicating the node has children.
public  voiddrawHierarchyLines(Graphics g)
     Draws lines connecting the node on this row to its parent(s) and next and previous siblings.
How this function works:
This function paints the hierarchy lines for each row individually.
public  voiddrawHorzHierarchyLine(Graphics g, boolean bSelected, int x1, int x2, int y)
    
public  voiddrawSubItem(Graphics g)
     virtual override of the ListBox to draw the subitem.
public  voiddrawTargetHighLight(Graphics g)
     draws the target highlight.
public  voiddrawVertHierarchyLine(Graphics g, boolean bSelected, int x, int y1, int y2)
    
public  voideditItem()
    
public  booleanexpand(Node htiExpand, int nCode, boolean bRedraw)
     expands a given tree node.
public  booleanexpand(Node hItem, int nCode)
     expands a given tree node.
protected  NodeexpandSelectedItem(int nCode)
     expands the currently specified tree node based on the code you pass in, as described below: TVE_TOGGLE : toggles between expanded and unexpanded
TVE_COLLAPSE : attempts to collapse the node; if already collapsed no action is taken.
public  NodegetChildItem(Node hItem)
    
public  NodegetFirstSelectedItem()
    
public  NodegetFirstVisibleItem()
    
public  intgetIndent()
    
public  NodegetLastVisibleItem(Node hItem)
    
public  NodegetNextItem(Node item, int nRelation)
     retrieves the next item based on the relation value you pass in.
public  NodegetNextItemInDisplayOrder(Node hti)
    
public  NodegetNextSelectedItem(Node hItem)
    
public  NodegetNextSiblingItem(Node hItem)
    
public  NodegetNextVisibleItem(Node hItem)
    
public  NodegetNode(ListItem pItem)
     retrieves the tree Node associated with a ListItem.
public  NodegetNodeAt(int nIndex)
    
public  NodegetParentItem(Node hItem)
    
public  NodegetPrevSelectedItem(Node hItem)
    
public  NodegetPrevSiblingItem(Node hItem)
    
public  NodegetPrevVisibleItem(Node hItem)
    
public  NodegetRoot(int rootIndex)
    
public  NodegetRootItem(Node hti)
    
public  NodegetRootItem()
    
protected  intgetSelected(int x1, int y1)
    
public  NodegetSelectedNode()
    
protected  intgetTarget(int x, int y)
    
static  ColorgetTreeColor(String userColor, Color defColor)
    
public  voidinitRootNode(String label, int image, int imageExpanded)
    
protected  voidinitRootNode()
    
public  NodeinsertItem(Node item, Node parent, Node insertAfter, int imageID, int imageExpID)
     inserts a new item into the tree control.
public  NodeinsertItem(Node item, Node parent, Node insertAfter, int imageID, int imageExpID, Font nodeFont)
     inserts a new item into the tree control.
public  NodeinsertItem(Node item, Node parent, Node insertAfter)
     inserts a new item into the tree control.
public  NodeinsertItem(String strItem, Node parent, Node insertAfter, int image, int imageExp)
     creates a new item and inserts it into the tree control.
public  NodeinsertItem(String strItem, Node parent, Node insertAfter, int image, int imageExp, Font nodeFont)
     creates a new item and inserts it into the tree control.
public  NodeinsertItem(String strItem, Node parent, Node insertAfter)
     creates a new item and inserts it into the tree control.
public  booleanisExpanded(Node hItem)
    
public  booleanisRoot(Node node)
     determines whether the node is the root or not.
public  booleanisRoot(int x)
    
public  intmeasureSubItem(Graphics g)
    
protected  intmeasureText()
    
public  voidmoveItems(Object[] items, int targetIndex)
    
protected  booleannodeInListBox(Node pNode)
    
protected  intnodeIndex(Node pNode, int nStartFrom)
    
protected  intnodeIndex(Node pNode)
    
protected  voidprocessActionEvent(ActionEvent e)
    
protected  voidprocessKeyEvent(KeyEvent e)
    
protected  voidremoveChildrenFromListCtrl(Node pParent, int nParent)
    
protected  voidremoveChildrenFromListCtrl(Node pParent, int nParent, boolean bUpdate)
    
public  voidsetHierarchyLineColor(Color c)
    
public  voidsetHierarchyLineStyle(int nStyle)
     sets the style of the hierarchy lines.
public  voidsetIndent(int indent)
    
public  voidsetTextColor(String txtHiC, String txtHiTxtC, String txtTxtC)
    
protected  booleanshouldBeInListBox(Node pNode)
    

Field Detail
DOUBLE_CLICK
final public static int DOUBLE_CLICK(Code)
action generated when an item is double clicked



ILLEGAL
final public static int ILLEGAL(Code)
user defined event ILLEGAL for illegal action



ITEM_COLLAPSED
final public static int ITEM_COLLAPSED(Code)
action event generated when an item is collapsed



ITEM_EXPANDED
final public static int ITEM_EXPANDED(Code)
action event generated when an item is expanded



OPENFOLDER
final public static int OPENFOLDER(Code)
user defined event OPENFOLDER for open folder action



SELECTION_CHANGE
final public static int SELECTION_CHANGE(Code)
user defined event SELECTION_CHANGE for selection change action



TVE_COLLAPSE
final public static int TVE_COLLAPSE(Code)



TVE_EXPAND
final public static int TVE_EXPAND(Code)



TVE_TOGGLE
final public static int TVE_TOGGLE(Code)



TVGN_CARET
final public static int TVGN_CARET(Code)



TVGN_CHILD
final public static int TVGN_CHILD(Code)



TVGN_DROPHILITE
final public static int TVGN_DROPHILITE(Code)



TVGN_FIRSTSELECTED
final public static int TVGN_FIRSTSELECTED(Code)



TVGN_FIRSTVISIBLE
final public static int TVGN_FIRSTVISIBLE(Code)



TVGN_NEXT
final public static int TVGN_NEXT(Code)



TVGN_NEXTSELECTED
final public static int TVGN_NEXTSELECTED(Code)



TVGN_NEXTVISIBLE
final public static int TVGN_NEXTVISIBLE(Code)



TVGN_PARENT
final public static int TVGN_PARENT(Code)



TVGN_PREVIOUS
final public static int TVGN_PREVIOUS(Code)



TVGN_PREVIOUSSELECTED
final public static int TVGN_PREVIOUSSELECTED(Code)



TVGN_PREVIOUSVISIBLE
final public static int TVGN_PREVIOUSVISIBLE(Code)



TVGN_ROOT
final public static int TVGN_ROOT(Code)



commandDragDrop
final public static String commandDragDrop(Code)
action command used for a drag and drop event



commandIllegalAction
final public static String commandIllegalAction(Code)
action command used for an illegal action



commandItemCollapsed
final public static String commandItemCollapsed(Code)
action command used for an item being collapsed



commandItemExpanded
final public static String commandItemExpanded(Code)
action command used for an item being expanded



commandOpenFolder
final public static String commandOpenFolder(Code)
action command used for an open folder event



commandSelectionChanged
final public static String commandSelectionChanged(Code)
action command used for a selection change



m_arrRoots
protected Vector m_arrRoots(Code)



m_bButton
protected boolean m_bButton(Code)



m_bHideDisabledItems
protected boolean m_bHideDisabledItems(Code)



m_bHierarchyLines
protected boolean m_bHierarchyLines(Code)



m_bLinesAtRoot
protected boolean m_bLinesAtRoot(Code)



m_colHierarchyLines
protected Color m_colHierarchyLines(Code)



m_itemDropTarget
Node m_itemDropTarget(Code)
m_itemDropTarget is the TreeItem used for dropping actions



m_itemEventTarget
Node m_itemEventTarget(Code)



m_nIndent
protected int m_nIndent(Code)



m_nStyleHierarchyLines
protected int m_nStyleHierarchyLines(Code)



m_nWordGap
protected int m_nWordGap(Code)



m_nodeCurrentEdit
Node m_nodeCurrentEdit(Code)



txtBgHighColor
String txtBgHighColor(Code)



txtHiTxtColor
String txtHiTxtColor(Code)



txtTxtColor
String txtTxtColor(Code)




Constructor Detail
TreeBase
public TreeBase()(Code)
default constructor for the tree control



TreeBase
public TreeBase(boolean bMultipleSelections)(Code)
constructor for Treebase
Parameters:
  bMultipleSelections - true if multiple selections allowed, otherwise false



TreeBase
public TreeBase(String rootText, int imgReg, int imgExp, ActionListener action)(Code)
constructor for Treebase; sets the root text, the root image used for regular nodes the image reference for expanded nodes, and an action listener
Parameters:
  rootText - text used for the root node
Parameters:
  imgReg - integer reference when a node is in regular, unexpanded state
Parameters:
  imgExp - integer reference when a node is in expanded state
Parameters:
  action - actionListener which can be registered for the control




Method Detail
addChildrenToListCtrl
protected int addChildrenToListCtrl(Node pParent, int nIndex)(Code)
adds a child node to the source node
Parameters:
  pParent - the source node to add children to
Parameters:
  nIndex - the position you wish to add the node at the position where the node was inserted as type int



addNodeToListBox
protected boolean addNodeToListBox(Node pNodeAdd)(Code)
adds a node to the end of the tree
Parameters:
  pNodeAdd - the node to be added true if successful, otherwise false



addRootItem
public int addRootItem(Node node)(Code)
adds a root item
Parameters:
  node - the new node which is made a root item in the tree the position of the root relative to other root nodes



calcButtonRect
protected Rectangle calcButtonRect()(Code)
calculates the size of the button rectangle size as type Rectangle



changeItemText
protected void changeItemText()(Code)
changes an item's text



createRootNode
public int createRootNode(String label, int image, int imageExpanded)(Code)
initialize the root node
Parameters:
  label - the label of the root node as type String
Parameters:
  image - a reference to the unexpanded image diplayed with the root node
Parameters:
  imageExpanded - a reference to the expanded image displayed with the root node



createRootNode
public int createRootNode()(Code)
creates a default uninitialized root node



delNode
public synchronized void delNode(Node pChild, boolean pUpdate)(Code)



delNodeFromListBox
protected boolean delNodeFromListBox(Node pNodeDel)(Code)
deletes a node from the tree
Parameters:
  pNodeDel - Node to delete true if deleted, otherwise false
See Also:   ob.tree.Node



delNodeFromListBox
protected boolean delNodeFromListBox(Node pNodeDel, boolean bUpdate)(Code)
deletes a node from the tree and you specify whether to force an update or not
Parameters:
  pNodeDel - Node to delete
Parameters:
  bUpdate - true if update should occur, otherwise false true if deletion occured, otherwise false



delParentNode
public void delParentNode(Node parentNode, boolean bUpdate)(Code)



deleteItem
public void deleteItem(TreeItem item)(Code)
deletes the item from the tree
Parameters:
  item - the TreeItem to delete the item deleted as type TreeItem



deleteUnChildedItem
protected boolean deleteUnChildedItem(Node hti, boolean bDelFromListBox)(Code)
detaches and optionally deletes a tree item which does not have children nodes
Parameters:
  hti - the source item
Parameters:
  bDelFromListBox - whether you wish to delete the node from the tree entirely whether the item was deleted or not



deletedUnChildedItem
protected boolean deletedUnChildedItem(Node hti)(Code)
deletes a tree item which does not have tree items
Parameters:
  hti - node to delete true if successfully deleted, otherwise false



doubleClickEvent
protected void doubleClickEvent(int itemHit)(Code)



drawButton
protected void drawButton(Graphics g)(Code)
draws the button indicating the node has children. Usually not used by developers
Parameters:
  g - Graphics object



drawHierarchyLines
public void drawHierarchyLines(Graphics g)(Code)
Draws lines connecting the node on this row to its parent(s) and next and previous siblings.
How this function works:
This function paints the hierarchy lines for each row individually. For example, for a node 5 levels deep in the hierarchy, it will paint:
| | | | '- [NODE]
The above diagram assumes the node on this row has no siblings below itself (i.e. no next sibling). In this case, an upward L shape is painted. If the node does have a next sibling, the drawing becomes:
| | | | |- [NODE]
The painting starts by positioning the drawing point at the far right of the picture above (i.e. the horz line that connects to the node itself. Next, it draws the upward L shape. Lastly, it enters a for loop where it draws 'n' vertical lines where 'n' is the hierarchical depth of the node. Note, a vertical line is drawn over the upward L shape iff the node has a next sibling.
There is only one exception to the above painting algorithm. The very first node in the tree doesn't have the vertical line segment of the upward L shape. This is because the very first node has no parent or previous sibling to connect to.
Parameters:
  g - Graphics object



drawHorzHierarchyLine
public void drawHorzHierarchyLine(Graphics g, boolean bSelected, int x1, int x2, int y)(Code)
draws horizontal hierachy line
Parameters:
  g - Graphics object
Parameters:
  bSelected - whether item selected or not
Parameters:
  x1 - starting x position
Parameters:
  x2 - ending x position
Parameters:
  y - y position



drawSubItem
public void drawSubItem(Graphics g)(Code)
virtual override of the ListBox to draw the subitem. Usually not used directly by the developer
Parameters:
  g - Graphics object
See Also:   ob.listbox.ListBox.drawSubItem



drawTargetHighLight
public void drawTargetHighLight(Graphics g)(Code)
draws the target highlight. Usually not used by the developer
Parameters:
  g - Graphics object



drawVertHierarchyLine
public void drawVertHierarchyLine(Graphics g, boolean bSelected, int x, int y1, int y2)(Code)
draws vertical hierarchy line
Parameters:
  g - Graphics object
Parameters:
  bSelected - whether item is selected
Parameters:
  x - x coordinate
Parameters:
  y1 - starting y coordinage
Parameters:
  y2 - ending y coordinate



editItem
public void editItem()(Code)
edits the currently selected item or subitem



expand
public boolean expand(Node htiExpand, int nCode, boolean bRedraw)(Code)
expands a given tree node. You can specify the action based on the following codes:
TVE_TOGGLE : toggles between expanded and unexpanded
TVE_COLLAPSE : attempts to collapse the node; if already collapsed no action is taken.
TVE_EXPAND : attempts to expand the node; if it is already expanded no action is taken.

Parameters:
  htiExpand - node which will be expanded
Parameters:
  nCode - the action to take. Appropriate codes described above
Parameters:
  bRedraw - true if you wish to force a redraw, otherwise false whether the expand action was successful as type boolean



expand
public boolean expand(Node hItem, int nCode)(Code)
expands a given tree node. You can specify the action based on the following codes:
TVE_TOGGLE : toggles between expanded and unexpanded
TVE_COLLAPSE : attempts to collapse the node; if already collapsed no action is taken.
TVE_EXPAND : attempts to expand the node; if it is already expanded no action is taken.

Parameters:
  htiExpand - node which will be expanded
Parameters:
  nCode - the action to take. Appropriate codes described above whether the expand action was successful as type boolean



expandSelectedItem
protected Node expandSelectedItem(int nCode)(Code)
expands the currently specified tree node based on the code you pass in, as described below: TVE_TOGGLE : toggles between expanded and unexpanded
TVE_COLLAPSE : attempts to collapse the node; if already collapsed no action is taken.
TVE_EXPAND : attempts to expand the node; if it is already expanded no action is taken.

Parameters:
  nCode - the code used to expand the expanded tree node as type Node



getChildItem
public Node getChildItem(Node hItem)(Code)
retrieves the next child item from the source Node
Parameters:
  hItem - the source Node next child as type Node
See Also:   ob.tree.Node



getFirstSelectedItem
public Node getFirstSelectedItem()(Code)
retrieves the first selected item first selected item as type Node
See Also:   ob.tree.Node



getFirstVisibleItem
public Node getFirstVisibleItem()(Code)
retrieves the first visible item first visible item as type Node
See Also:   ob.tree.Node



getIndent
public int getIndent()(Code)
retrieves the Indentation spacing
See Also:   TreeBase.getIndent



getLastVisibleItem
public Node getLastVisibleItem(Node hItem)(Code)
retrieves the last visible item
Parameters:
  hItem - the source item to search from the last visible item as type Node
See Also:   ob.tree.Node



getNextItem
public Node getNextItem(Node item, int nRelation)(Code)
retrieves the next item based on the relation value you pass in. Possible values are:
TVGN_NEXT : next sibling
TVGN_PREVIOUS : previous sibling
TVGN_CHILD : child item
TVGN_PARENT : parent item
TVGN_ROOT : root item
TVGN_FIRSTVISIBLE : first visible item
TVGN_NEXTVISIBLE : next visible item
TVGN_PREVIOUSVISIBLE : previous visible item
TVGN_FIRSTSELECTED : first selected item
TVGN_NEXTSELECTED : next selected item
TVGN_PREVIOUSSELECTED : previously selected item

Parameters:
  item - Node item to search from
Parameters:
  nRelation - style as defined above the item searched for.
See Also:   ob.tree.Node



getNextItemInDisplayOrder
public Node getNextItemInDisplayOrder(Node hti)(Code)
retrieves the next item in the display order
Parameters:
  hti - source item to search from next item as type Node
See Also:   ob.tree.Node



getNextSelectedItem
public Node getNextSelectedItem(Node hItem)(Code)
retrieves the next selected item
Parameters:
  hItem - the source item to search from the next selected item as type Node
See Also:   ob.tree.Node



getNextSiblingItem
public Node getNextSiblingItem(Node hItem)(Code)
retrieves the next sibling item from the source Node
Parameters:
  hItem - source Node item next sibling as type Node
See Also:   ob.tree.Node



getNextVisibleItem
public Node getNextVisibleItem(Node hItem)(Code)
retrieves the next visible item
Parameters:
  hItem - source Node next visible item as type Node
See Also:   ob.tree.Node



getNode
public Node getNode(ListItem pItem)(Code)
retrieves the tree Node associated with a ListItem. A ListItem describes an entire "row" of the multicolumn tree control.
Parameters:
  pItem - the source ListItem the corresponding Node item
See Also:   ob.tree.Node
See Also:   ob.listbox.ListItem
See Also:   ob.listbox.ListBox



getNodeAt
public Node getNodeAt(int nIndex)(Code)
retrieves the tree node for a given index position
Parameters:
  nIndex - the position you wish to retrieve the node for the tree node at the position searched for as type Node
See Also:   ob.tree.Node



getParentItem
public Node getParentItem(Node hItem)(Code)
retrieves the parent item of the node
Parameters:
  hItem - the source node the parent item as type NOde
See Also:   ob.tree.Node



getPrevSelectedItem
public Node getPrevSelectedItem(Node hItem)(Code)
retrieves the previously selected item
Parameters:
  hItem - the source item to search from the previously selected item as type Node
See Also:   ob.tree.Node



getPrevSiblingItem
public Node getPrevSiblingItem(Node hItem)(Code)
retrieves the previous sibling item
Parameters:
  hItem - source Node item previous sibling as type Node
See Also:   ob.tree.Node



getPrevVisibleItem
public Node getPrevVisibleItem(Node hItem)(Code)
retrieves the previous visible item
Parameters:
  hItem - the source item to search from the previously visible item as type Node
See Also:   ob.tree.Node



getRoot
public Node getRoot(int rootIndex)(Code)
retrieves the root node from the root index passed in
Parameters:
  rootIndex - the root index you are checking against the root value as type Node if exists, otherwise null



getRootItem
public Node getRootItem(Node hti)(Code)
retrieves the root item
Parameters:
  hti - source item to search from root item as type Node
See Also:   ob.tree.Node



getRootItem
public Node getRootItem()(Code)
retrieves first root item root item as type Node
See Also:   ob.tree.Node



getSelected
protected int getSelected(int x1, int y1)(Code)



getSelectedNode
public Node getSelectedNode()(Code)
retrieves the currently selected node selected Node
See Also:   ob.tree.Node



getTarget
protected int getTarget(int x, int y)(Code)



getTreeColor
static Color getTreeColor(String userColor, Color defColor)(Code)



initRootNode
public void initRootNode(String label, int image, int imageExpanded)(Code)
initialize the root node
Parameters:
  label - the label of the root node as type String
Parameters:
  image - a reference to the unexpanded image diplayed with the root node
Parameters:
  imageExpanded - a reference to the expanded image displayed with the root node



initRootNode
protected void initRootNode()(Code)
initializes a default root item with blank information



insertItem
public Node insertItem(Node item, Node parent, Node insertAfter, int imageID, int imageExpID)(Code)
inserts a new item into the tree control. You need to specify the parent where you want to insert the new node. If there are other children where you are inserting, you can also specify the node which you want to place the new Node after.
Parameters:
  item - the Node item to insert
Parameters:
  parent - the Node parent you are inserting
Parameters:
  insertAfter - the Node you wish to insert after
Parameters:
  imageID - reference to the image for the regular mode
Parameters:
  imageExpID - reference to the iamge for the expanded state the Node itself if successfully inserted



insertItem
public Node insertItem(Node item, Node parent, Node insertAfter, int imageID, int imageExpID, Font nodeFont)(Code)
inserts a new item into the tree control. You need to specify the parent where you want to insert the new node. If there are other children where you are inserting, you can also specify the node which you want to place the new Node after.
Parameters:
  item - the Node item to insert
Parameters:
  parent - the Node parent you are inserting
Parameters:
  insertAfter - the Node you wish to insert after
Parameters:
  imageID - reference to the image for the regular mode
Parameters:
  imageExpID - reference to the iamge for the expanded state the new Node if successfully inserted
See Also:   ob.tree.Node



insertItem
public Node insertItem(Node item, Node parent, Node insertAfter)(Code)
inserts a new item into the tree control. You need to specify the parent where you want to insert the new node. If there are other children where you are inserting, you can also specify the node which you want to place the new Node after.
Parameters:
  item - the Node item to insert
Parameters:
  parent - the Node parent you are inserting
Parameters:
  insertAfter - the Node you wish to insert after the new Node if successfully inserted
See Also:   ob.tree.Node



insertItem
public Node insertItem(String strItem, Node parent, Node insertAfter, int image, int imageExp)(Code)
creates a new item and inserts it into the tree control. You need to specify the parent where you want to insert the new node. If there are other children where you are inserting, you can also specify the node which you want to place the new Node after.
Parameters:
  strItem - the text for the new item to be inserted
Parameters:
  parent - the Node parent you are inserting
Parameters:
  insertAfter - the Node you wish to insert after
Parameters:
  image - reference to the unexpanded image
Parameters:
  imageExp - reference to the expanded image the new Node if successfully inserted
See Also:   ob.tree.Node



insertItem
public Node insertItem(String strItem, Node parent, Node insertAfter, int image, int imageExp, Font nodeFont)(Code)
creates a new item and inserts it into the tree control. You need to specify the parent where you want to insert the new node. If there are other children where you are inserting, you can also specify the node which you want to place the new Node after.
Parameters:
  strItem - the text for the new item to be inserted
Parameters:
  parent - the Node parent you are inserting
Parameters:
  insertAfter - the Node you wish to insert after
Parameters:
  image - reference to the unexpanded image
Parameters:
  imageExp - reference to the expanded image
Parameters:
  nodeFont - the font to use with the new node the new Node if successfully inserted
See Also:   ob.tree.Node



insertItem
public Node insertItem(String strItem, Node parent, Node insertAfter)(Code)
creates a new item and inserts it into the tree control. You need to specify the parent where you want to insert the new node. If there are other children where you are inserting, you can also specify the node which you want to place the new Node after.
Parameters:
  strItem - the text for the new item to be inserted
Parameters:
  parent - the Node parent you are inserting
Parameters:
  insertAfter - the Node you wish to insert after the new Node if successfully inserted
See Also:   ob.tree.Node



isExpanded
public boolean isExpanded(Node hItem)(Code)
determines whether a Node item is currently expanded or not true if expanded, otherwise false



isRoot
public boolean isRoot(Node node)(Code)
determines whether the node is the root or not.
Parameters:
  node - node you are checking to see if it is the root or not true if node is root, otherwise false
See Also:   ob.tree.Node



isRoot
public boolean isRoot(int x)(Code)
checks whether the root index is a root item or not
Parameters:
  x - the root index to check true if root, otherwise false



measureSubItem
public int measureSubItem(Graphics g)(Code)
overridden subitem measuring; usually not used by a developer
Parameters:
  g - Graphics object subitem size in pixels as type int
See Also:   ob.listbox.ListBox.measureSubItem



measureText
protected int measureText()(Code)
routine used to measure the size of the current item; usually not used by a developer the size of the text in pixels as type int



moveItems
public void moveItems(Object[] items, int targetIndex)(Code)



nodeInListBox
protected boolean nodeInListBox(Node pNode)(Code)
determines whether the tree node exists in the tree or not
Parameters:
  pNode - the Node you are checking against true if node exists, otherwise false
See Also:   ob.tree.Node



nodeIndex
protected int nodeIndex(Node pNode, int nStartFrom)(Code)
calculates the node index
Parameters:
  pNode - node to determine index for
Parameters:
  nStartFrom - start searching from this offset the index as type int



nodeIndex
protected int nodeIndex(Node pNode)(Code)
calculates the node index
Parameters:
  pNode - node to determine index for the index as type int



processActionEvent
protected void processActionEvent(ActionEvent e)(Code)



processKeyEvent
protected void processKeyEvent(KeyEvent e)(Code)



removeChildrenFromListCtrl
protected void removeChildrenFromListCtrl(Node pParent, int nParent)(Code)
removes a child node from the list control
Parameters:
  pParent - the parent Node
Parameters:
  nParent - parent index



removeChildrenFromListCtrl
protected void removeChildrenFromListCtrl(Node pParent, int nParent, boolean bUpdate)(Code)
removes a child node from the tree control
Parameters:
  pParent - the parent Node
Parameters:
  nParent - parent index
Parameters:
  bUpdate - whether the tree should be updated or not



setHierarchyLineColor
public void setHierarchyLineColor(Color c)(Code)
sets the color for the lines drawing the tree hierarchy
Parameters:
  c - Color to use when drawing hierarchy



setHierarchyLineStyle
public void setHierarchyLineStyle(int nStyle)(Code)
sets the style of the hierarchy lines. Default is solid lines for a style of 0; you can also set the DOTTED style to draw dotted lines
Parameters:
  nStyle - style to draw lines in



setIndent
public void setIndent(int indent)(Code)
sets the indentation spacing
Parameters:
  indent - new indent
See Also:   TreeBase.getIndent



setTextColor
public void setTextColor(String txtHiC, String txtHiTxtC, String txtTxtC)(Code)



shouldBeInListBox
protected boolean shouldBeInListBox(Node pNode)(Code)
determines whether the node should be visible or not
Parameters:
  pNode - node which you are checking for visiblity true if it should be visible, otherwise false



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

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.