Java Doc for FxTreeNodeInfoSpreaded.java in  » J2EE » fleXive » com » flexive » core » storage » 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 » J2EE » fleXive » com.flexive.core.storage 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.flexive.core.storage.FxTreeNodeInfo
      com.flexive.core.storage.FxTreeNodeInfoSpreaded

FxTreeNodeInfoSpreaded
public class FxTreeNodeInfoSpreaded extends FxTreeNodeInfo implements Serializable(Code)
Information about a tree node that implementation specific and provide information about parameters relevant to the nested set model with spreading.
author:
   Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
author:
   Gregor Schober (gregor.schober@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)



Constructor Summary
public  FxTreeNodeInfoSpreaded(BigDecimal left, BigDecimal right, BigDecimal parentLeft, BigDecimal parentRight, BigDecimal maxChildRight, int totalChildCount, int directChildCount, int depth, long parentId, long id, String name, FxPK reference, long ACLId, FxTreeMode mode, int position, String template, long modifiedAt, boolean mayEdit, boolean mayCreate, boolean mayDelete, boolean mayRelate, boolean mayExport)
     Ctor
Parameters:
  left - left position
Parameters:
  right - right position
Parameters:
  parentLeft - parent left
Parameters:
  parentRight - parent right
Parameters:
  maxChildRight - max.

Method Summary
public  BigDecimalgetDefaultSpacing()
     Get the default spacing.
public  BigDecimalgetInnerSpace()
    
public  BigDecimalgetLeft()
    
public  BigDecimalgetMaxChildRight()
     The maximum rgt value of all childs of the node, or if no child exists the rgt of the node itself.
public  BigDecimalgetParentLeft()
    
public  BigDecimalgetParentRight()
    
public  BigDecimalgetRight()
    
public  BigDecimalgetSpacing(int childCount)
    
public  booleanhasSpaceFor(int childCount, int spacing)
     Returns true if the node can hold the given amount of children between its left and right borders without the parent(s) being reorganized.
public  booleanhasSpaceFor(int childCount)
    
public  booleanisParentOf(FxTreeNodeInfo node)
    
public  booleanisSpaceOptimizable()
     Returns true if the spaces used within the node and its children can be optimized.


Constructor Detail
FxTreeNodeInfoSpreaded
public FxTreeNodeInfoSpreaded(BigDecimal left, BigDecimal right, BigDecimal parentLeft, BigDecimal parentRight, BigDecimal maxChildRight, int totalChildCount, int directChildCount, int depth, long parentId, long id, String name, FxPK reference, long ACLId, FxTreeMode mode, int position, String template, long modifiedAt, boolean mayEdit, boolean mayCreate, boolean mayDelete, boolean mayRelate, boolean mayExport)(Code)
Ctor
Parameters:
  left - left position
Parameters:
  right - right position
Parameters:
  parentLeft - parent left
Parameters:
  parentRight - parent right
Parameters:
  maxChildRight - max. number of children right
Parameters:
  totalChildCount - total number of children
Parameters:
  directChildCount - number of direct children
Parameters:
  depth - depth of this node
Parameters:
  parentId - parent id
Parameters:
  id - node id
Parameters:
  name - name
Parameters:
  reference - referenced content
Parameters:
  ACLId - ACL of the referenced content
Parameters:
  mode - tree mode
Parameters:
  position - position
Parameters:
  template - template
Parameters:
  modifiedAt - last modified at
Parameters:
  mayEdit - edit permission of the referenced ACL
Parameters:
  mayCreate - create permission of the referenced ACL
Parameters:
  mayDelete - delete permission of the referenced ACL
Parameters:
  mayRelate - relate permission of the referenced ACL
Parameters:
  mayExport - export permission of the referenced ACL




Method Detail
getDefaultSpacing
public BigDecimal getDefaultSpacing()(Code)
Get the default spacing. default spacing



getInnerSpace
public BigDecimal getInnerSpace()(Code)
Get the inner space (space between left and right border) inner space



getLeft
public BigDecimal getLeft()(Code)
Get the left position left position



getMaxChildRight
public BigDecimal getMaxChildRight()(Code)
The maximum rgt value of all childs of the node, or if no child exists the rgt of the node itself.

Null if no childs are present. The maximum rgt value of all childs of the node




getParentLeft
public BigDecimal getParentLeft()(Code)
Get the parent left position parent left position



getParentRight
public BigDecimal getParentRight()(Code)
Get the parent right position parent right position



getRight
public BigDecimal getRight()(Code)
Get the right position right position



getSpacing
public BigDecimal getSpacing(int childCount)(Code)
Get the spacing needed to hold requested number of children
Parameters:
  childCount - number of children to get the spacing for spacing



hasSpaceFor
public boolean hasSpaceFor(int childCount, int spacing)(Code)
Returns true if the node can hold the given amount of children between its left and right borders without the parent(s) being reorganized.
Parameters:
  childCount - the child count to check for
Parameters:
  spacing - the spacing between the nodes true if the node can hold the given amount of children without beeing reorganized



hasSpaceFor
public boolean hasSpaceFor(int childCount)(Code)
Is this node capable of holding childCount child nodes?
Parameters:
  childCount - number of childnodes this node should be able to hold if there is enough space to hold childCount child nodes



isParentOf
public boolean isParentOf(FxTreeNodeInfo node)(Code)



isSpaceOptimizable
public boolean isSpaceOptimizable()(Code)
Returns true if the spaces used within the node and its children can be optimized. true if the spaces used within the node and its children can be optimized



Fields inherited from com.flexive.core.storage.FxTreeNodeInfo
protected long ACLId(Code)(Java Doc)
protected int depth(Code)(Java Doc)
protected int directChildCount(Code)(Java Doc)
protected long id(Code)(Java Doc)
protected boolean mayEditmayDeletemayRelatemayExportmayCreate(Code)(Java Doc)
protected FxTreeMode mode(Code)(Java Doc)
protected long modifiedAt(Code)(Java Doc)
protected String name(Code)(Java Doc)
protected long parentId(Code)(Java Doc)
protected int position(Code)(Java Doc)
protected FxPK reference(Code)(Java Doc)
protected String template(Code)(Java Doc)
protected int totalChildCount(Code)(Java Doc)

Methods inherited from com.flexive.core.storage.FxTreeNodeInfo
public long getACLId()(Code)(Java Doc)
public int getDepth()(Code)(Java Doc)
public int getDirectChildCount()(Code)(Java Doc)
public long getId()(Code)(Java Doc)
abstract public Number getLeft()(Code)(Java Doc)
public FxTreeMode getMode()(Code)(Java Doc)
public long getModifiedAt()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public long getParentId()(Code)(Java Doc)
abstract public Number getParentLeft()(Code)(Java Doc)
abstract public Number getParentRight()(Code)(Java Doc)
public int getPosition()(Code)(Java Doc)
public FxPK getReference()(Code)(Java Doc)
abstract public Number getRight()(Code)(Java Doc)
public String getTemplate()(Code)(Java Doc)
public int getTotalChildCount()(Code)(Java Doc)
public boolean hasChildren()(Code)(Java Doc)
public boolean hasTemplate(String compareTo)(Code)(Java Doc)
public boolean isMayCreate()(Code)(Java Doc)
public boolean isMayDelete()(Code)(Java Doc)
public boolean isMayEdit()(Code)(Java Doc)
public boolean isMayExport()(Code)(Java Doc)
public boolean isMayRelate()(Code)(Java Doc)
abstract public boolean isParentOf(FxTreeNodeInfo node)(Code)(Java Doc)
public boolean isRoot()(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.