Java Doc for TreeTableItem.java in  » Ajax » MyGWT » net » mygwt » ui » client » widget » treetable » 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 » Ajax » MyGWT » net.mygwt.ui.client.widget.treetable 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


net.mygwt.ui.client.widget.tree.TreeItem
   net.mygwt.ui.client.widget.treetable.TreeTableItem

All known Subclasses:   net.mygwt.ui.client.widget.treetable.RootTreeTableItem,
TreeTableItem
public class TreeTableItem extends TreeItem (Code)
A item in a TreeTable. All events are bubbled to the item's parent treetable.
Events:
BeforeAdd : (widget, item, index)
Fires before a item is added or inserted. Listeners can set the doit field to false to cancel the action.
  • widget : this
  • item : the item being added
  • index : the index at which the item will be added
BeforeRemove : (widget, item)
Fires before a item is removed. Listeners can set the doit field to false to cancel the action.
  • widget : this
  • item : the item being removed
BeforeExpand : (widget, item)
Fires before a item is expanded. Listeners can set the doit field to false to cancel the expand.
  • widget : this
  • item : the item being expanded
BeforeCollapse : (widget, item)
Fires before a item is collapsed. Listeners can set the doit field to false to cancel the collapse.
  • widget : this
  • item : the item being expanded
Add : (widget, item, index)
Fires after a item has been added or inserted.
  • widget : this
  • item : the item that was added
  • index : the index at which the item will be added
Remove : (widget, item)
Fires after a item has been removed.
  • widget : this
  • item : the item being removed
Expand : (widget, item)
Fires after a item has been expanded.
  • widget : this
  • item : the item being expanded
Collapse : (widget, item)
Fires ater a item is collapsed.
  • widget : this
  • item : the item being collapsed
CheckChange : (widget)
Fires after a check state change.
  • widget : this
CellClick : (widget, item, index)
Fires after a cell has been clicked.
  • widget : tree table
  • item : this
  • index : cell column index
CellDoubleClick : (widget, item, index)
Fires after a cell has been double clicked.
  • widget : tree table
  • item : this
  • index : cell column index
RowClick : (widget, item, index)
Fires after a cell has been clicked.
  • widget : tree table
  • item : item that represents the row
  • index : cell column index
RowDoubleClick : (widget, item, index)
Fires after a cell has been double clicked.
  • widget : tree table
  • item : item that represents the row
  • index : cell column index
CSS:
.my-tree-item (the item itself)
.my-tree-item-text span (the tree item text)


Field Summary
 String[]cellStyles
    
 ToolTipcellToolTip
    
 booleancellsRendered
    
 booleanhasWidgets
    
 String[]toolTips
    
protected  TreeTabletreeTable
    

Constructor Summary
public  TreeTableItem(Object[] values)
     Creates a new tree table item.
public  TreeTableItem(String text, Object[] values)
     Creates a new tree table item.

Method Summary
public  ToolTipgetCellToolTip()
     Returns the item's cell tooltip.
protected  String[]getRenderedValues()
    
protected  TreeItemUIgetTreeItemUI()
     Subclasses may override.
public  TreeTablegetTreeTable()
     Returns the item's tree table.
public  ObjectgetValue(int index)
     Returns a cell value.
public  Object[]getValues()
     Returns the item's values.
protected  voidinit(TreeTable treeTable)
    
protected  voidinitCellToolTips()
    
public  voidonBaseEvent(BaseEvent be)
    
protected  voidonCellMouseOver(BaseEvent be)
    
protected  voidonClick(BaseEvent be)
    
protected  voidonDoubleClick(BaseEvent be)
    
protected  voidonMouseOver(BaseEvent be)
    
public  voidsetCellStyle(int index, String style)
     Sets the style for a table cell.
public  voidsetCellToolTip(int index, String text)
     Sets a cell tooltip.
public  voidsetCellToolTips(String[] toolTips)
    
public  voidsetElement(Element elem)
    
public  voidsetText(int index, String text)
     Sets a cell value.
protected  voidsetTree(Tree tree)
    
public  voidsetValue(int index, Object value)
     Sets a cell value.
public  voidsetValues(Object[] values)
     Sets the item's values.

Field Detail
cellStyles
String[] cellStyles(Code)



cellToolTip
ToolTip cellToolTip(Code)



cellsRendered
boolean cellsRendered(Code)



hasWidgets
boolean hasWidgets(Code)



toolTips
String[] toolTips(Code)



treeTable
protected TreeTable treeTable(Code)




Constructor Detail
TreeTableItem
public TreeTableItem(Object[] values)(Code)
Creates a new tree table item.
Parameters:
  values - the cell values



TreeTableItem
public TreeTableItem(String text, Object[] values)(Code)
Creates a new tree table item.
Parameters:
  text - the text
Parameters:
  values - the values




Method Detail
getCellToolTip
public ToolTip getCellToolTip()(Code)
Returns the item's cell tooltip. the tooltip



getRenderedValues
protected String[] getRenderedValues()(Code)



getTreeItemUI
protected TreeItemUI getTreeItemUI()(Code)
Subclasses may override. the ui



getTreeTable
public TreeTable getTreeTable()(Code)
Returns the item's tree table. the tree table



getValue
public Object getValue(int index)(Code)
Returns a cell value.
Parameters:
  index - the cell index the value



getValues
public Object[] getValues()(Code)
Returns the item's values. the values



init
protected void init(TreeTable treeTable)(Code)



initCellToolTips
protected void initCellToolTips()(Code)



onBaseEvent
public void onBaseEvent(BaseEvent be)(Code)



onCellMouseOver
protected void onCellMouseOver(BaseEvent be)(Code)



onClick
protected void onClick(BaseEvent be)(Code)



onDoubleClick
protected void onDoubleClick(BaseEvent be)(Code)



onMouseOver
protected void onMouseOver(BaseEvent be)(Code)



setCellStyle
public void setCellStyle(int index, String style)(Code)
Sets the style for a table cell.
Parameters:
  index - the column index
Parameters:
  style - the new style



setCellToolTip
public void setCellToolTip(int index, String text)(Code)
Sets a cell tooltip.
Parameters:
  index - the column index
Parameters:
  text - the text of the tool tip



setCellToolTips
public void setCellToolTips(String[] toolTips)(Code)
Sets all of the cell tooltips
Parameters:
  toolTips - the tool tips to use



setElement
public void setElement(Element elem)(Code)



setText
public void setText(int index, String text)(Code)
Sets a cell value.
Parameters:
  index - the column index
Parameters:
  text - the text



setTree
protected void setTree(Tree tree)(Code)



setValue
public void setValue(int index, Object value)(Code)
Sets a cell value.
Parameters:
  index - the column index
Parameters:
  value - the value



setValues
public void setValues(Object[] values)(Code)
Sets the item's values.
Parameters:
  values - the values



Fields inherited from net.mygwt.ui.client.widget.tree.TreeItem
protected boolean childrenRendered(Code)(Java Doc)
protected boolean rootexpandedchecked(Code)(Java Doc)
protected Tree tree(Code)(Java Doc)
protected TreeItemUI ui(Code)(Java Doc)

Methods inherited from net.mygwt.ui.client.widget.tree.TreeItem
public void add(TreeItem item)(Code)(Java Doc)
public boolean fireEvent(int type, BaseEvent be)(Code)(Java Doc)
public TreeItem firstChild()(Code)(Java Doc)
public Element getContainer()(Code)(Java Doc)
public int getDepth()(Code)(Java Doc)
public String getIconStyle()(Code)(Java Doc)
public TreeItem getItem(int index)(Code)(Java Doc)
public int getItemCount()(Code)(Java Doc)
public TreeItem[] getItems()(Code)(Java Doc)
public TreeItem getParentItem()(Code)(Java Doc)
public String getPath()(Code)(Java Doc)
public String getText()(Code)(Java Doc)
public String getTextStyle()(Code)(Java Doc)
protected TreeItemUI getTreeItemUI()(Code)(Java Doc)
public TreeItemUI getUI()(Code)(Java Doc)
public boolean hasChildren()(Code)(Java Doc)
public int indexOf(TreeItem item)(Code)(Java Doc)
public void insert(TreeItem item, int index)(Code)(Java Doc)
public boolean isChecked()(Code)(Java Doc)
public boolean isExpanded()(Code)(Java Doc)
public boolean isLeaf()(Code)(Java Doc)
public boolean isRoot()(Code)(Java Doc)
public void onBaseEvent(BaseEvent be)(Code)(Java Doc)
protected void onRender()(Code)(Java Doc)
public void remove(TreeItem item)(Code)(Java Doc)
public void removeAll()(Code)(Java Doc)
protected void renderChildren()(Code)(Java Doc)
public void setChecked(boolean checked)(Code)(Java Doc)
protected void setChildrenRendered(boolean rendered)(Code)(Java Doc)
public void setExpanded(boolean expanded)(Code)(Java Doc)
public void setExpanded(boolean expanded, boolean deep)(Code)(Java Doc)
public void setIconStyle(String style)(Code)(Java Doc)
public void setLeaf(boolean leaf)(Code)(Java Doc)
protected void setRoot(boolean isRoot)(Code)(Java Doc)
public void setText(String text)(Code)(Java Doc)
public void setTextStyle(String style)(Code)(Java Doc)
protected void setTree(Tree tree)(Code)(Java Doc)
public void toggle()(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.