Java Doc for TreeNodeWidget.java in  » Web-Framework » aranea-mvc-1.1.1 » org » araneaframework » uilib » 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 » Web Framework » aranea mvc 1.1.1 » org.araneaframework.uilib.tree 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.araneaframework.core.BaseApplicationWidget
   org.araneaframework.uilib.tree.TreeNodeWidget

All known Subclasses:   org.araneaframework.uilib.tree.TreeWidget,
TreeNodeWidget
public class TreeNodeWidget extends BaseApplicationWidget implements TreeNodeContext(Code)

author:
   Alar Kvell (alar@araneaframework.org)
since:
   1.0.7


Field Summary
final public static  StringDISPLAY_KEY
     Display widget id.
final public static  StringTOGGLE_KEY
     Toggle event or action id.

Constructor Summary
 TreeNodeWidget()
    
public  TreeNodeWidget(Widget display)
     Creates a new TreeNodeWidget instance.
public  TreeNodeWidget(Widget display, List nodes)
     Creates a new TreeNodeWidget instance and adds the given list of nodes as its children.
public  TreeNodeWidget(Widget display, List nodes, boolean collapsed)
     Creates a new TreeNodeWidget instance and adds the given list of nodes as its children.

Method Summary
public  voidaddAllNodes(List nodes)
    
public  intaddNode(TreeNodeWidget node)
    
public  voidaddNode(int nodeIndex, TreeNodeWidget node)
    
public  WidgetgetDisplayWidget()
    
protected  EnvironmentgetDisplayWidgetEnvironment()
    
public  StringgetFullId()
    
public  intgetIndex()
    
public  TreeNodeContextgetNode(int nodeIndex)
    
public  intgetNodeCount()
    
protected  ChildNodeWrappergetNodeWrapper(int nodeIndex)
    
public  ListgetNodes()
    
public  intgetParentCount()
    
public  TreeNodeContextgetParentNode()
    
protected  TreeContextgetTreeCtx()
    
public  booleanhasNodes()
    
protected  voidinit()
    
public  booleanisCollapsed()
    
protected  ListloadChildren()
    
public  voidremoveAllNodes()
    
public  TreeNodeWidgetremoveNode(int nodeIndex)
    
protected  voidrender(OutputData output)
    
protected  voidrenderDisplayPrefixRecursive(Writer out, TreeRenderer renderer)
    
public  voidrenderNode(OutputData output)
    
public  voidsetCollapsed(boolean collapsed)
    
public  voidsetIndex(int index)
    
public  voidsetParentNode(TreeNodeWidget parentNode)
    
protected  booleanshouldRenderToggleLink()
    
public  voidtoggleCollapsed()
    

Field Detail
DISPLAY_KEY
final public static String DISPLAY_KEY(Code)
Display widget id.



TOGGLE_KEY
final public static String TOGGLE_KEY(Code)
Toggle event or action id.




Constructor Detail
TreeNodeWidget
TreeNodeWidget()(Code)



TreeNodeWidget
public TreeNodeWidget(Widget display)(Code)
Creates a new TreeNodeWidget instance. This node has no child nodes and will be collapsed (children hidden) by default.
Parameters:
  display - widget that will be used to display this node.



TreeNodeWidget
public TreeNodeWidget(Widget display, List nodes)(Code)
Creates a new TreeNodeWidget instance and adds the given list of nodes as its children. Node will be expanded (children shown) by default.
Parameters:
  display - widget that will be used to display this node.
Parameters:
  nodes - list of TreeNodeWidgets added as children.



TreeNodeWidget
public TreeNodeWidget(Widget display, List nodes, boolean collapsed)(Code)
Creates a new TreeNodeWidget instance and adds the given list of nodes as its children.
Parameters:
  display - widget that will be used to display this node.
Parameters:
  nodes - list of TreeNodeWidgets added as children.
Parameters:
  collapsed - if tree node will be collapsed (children hidden) by default.




Method Detail
addAllNodes
public void addAllNodes(List nodes)(Code)



addNode
public int addNode(TreeNodeWidget node)(Code)



addNode
public void addNode(int nodeIndex, TreeNodeWidget node)(Code)



getDisplayWidget
public Widget getDisplayWidget()(Code)



getDisplayWidgetEnvironment
protected Environment getDisplayWidgetEnvironment() throws Exception(Code)



getFullId
public String getFullId()(Code)



getIndex
public int getIndex()(Code)



getNode
public TreeNodeContext getNode(int nodeIndex)(Code)



getNodeCount
public int getNodeCount()(Code)



getNodeWrapper
protected ChildNodeWrapper getNodeWrapper(int nodeIndex)(Code)



getNodes
public List getNodes()(Code)



getParentCount
public int getParentCount()(Code)



getParentNode
public TreeNodeContext getParentNode()(Code)



getTreeCtx
protected TreeContext getTreeCtx()(Code)



hasNodes
public boolean hasNodes()(Code)



init
protected void init() throws Exception(Code)



isCollapsed
public boolean isCollapsed()(Code)



loadChildren
protected List loadChildren()(Code)



removeAllNodes
public void removeAllNodes()(Code)



removeNode
public TreeNodeWidget removeNode(int nodeIndex)(Code)



render
protected void render(OutputData output) throws Exception(Code)



renderDisplayPrefixRecursive
protected void renderDisplayPrefixRecursive(Writer out, TreeRenderer renderer) throws Exception(Code)



renderNode
public void renderNode(OutputData output) throws Exception(Code)



setCollapsed
public void setCollapsed(boolean collapsed)(Code)



setIndex
public void setIndex(int index)(Code)



setParentNode
public void setParentNode(TreeNodeWidget parentNode)(Code)



shouldRenderToggleLink
protected boolean shouldRenderToggleLink()(Code)



toggleCollapsed
public void toggleCollapsed()(Code)



Methods inherited from org.araneaframework.core.BaseApplicationWidget
public Composite.Interface _getComposite()(Code)(Java Doc)
public Viewable.Interface _getViewable()(Code)(Java Doc)
protected void action(Path path, InputData input, OutputData output) throws Exception(Code)(Java Doc)
public void addActionListener(Object actionId, ActionListener listener)(Code)(Java Doc)
public void addEventListener(Object eventId, EventListener listener)(Code)(Java Doc)
public void addWidget(Object key, Widget child, Environment env)(Code)(Java Doc)
public void addWidget(Object key, Widget child)(Code)(Java Doc)
public void clearActionListeners(Object actionId)(Code)(Java Doc)
public void clearEventlisteners(Object eventId)(Code)(Java Doc)
public void clearGlobalEventListener()(Code)(Java Doc)
public void disableWidget(Object key)(Code)(Java Doc)
public void enableWidget(Object key)(Code)(Java Doc)
protected void event(Path path, InputData input) throws Exception(Code)(Java Doc)
protected Object getActionId(InputData input)(Code)(Java Doc)
final public Environment getChildEnvironment()(Code)(Java Doc)
protected Environment getChildWidgetEnvironment() throws Exception(Code)(Java Doc)
public Map getChildren()(Code)(Java Doc)
public Environment getEnvironment()(Code)(Java Doc)
protected String getEventId(InputData input)(Code)(Java Doc)
public Object getViewModel() throws Exception(Code)(Java Doc)
public Widget getWidget(Object key)(Code)(Java Doc)
protected void handleAction(InputData input, OutputData output) throws Exception(Code)(Java Doc)
protected void handleEvent(InputData input) throws Exception(Code)(Java Doc)
protected void handleUpdate(InputData input) throws Exception(Code)(Java Doc)
protected void propagate(Message message) throws Exception(Code)(Java Doc)
public void putViewData(String key, Object customDataItem)(Code)(Java Doc)
public void putViewDataOnce(String key, Object customDataItem)(Code)(Java Doc)
public void removeActionListener(ActionListener listener)(Code)(Java Doc)
public void removeEventListener(EventListener listener)(Code)(Java Doc)
public void removeViewData(String key)(Code)(Java Doc)
public void removeWidget(Object key)(Code)(Java Doc)
protected void render(OutputData output) throws Exception(Code)(Java Doc)
public void setGlobalEventListener(EventListener eventListener)(Code)(Java Doc)
protected void update(InputData input) throws Exception(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.