Java Doc for DCollection.java in  » J2EE » enhydra » discRack » presentation » delements » 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 » enhydra » discRack.presentation.delements 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   discRack.presentation.delements.DSimpleElement
      discRack.presentation.delements.DCollection

All known Subclasses:   discRack.presentation.Discs,
DCollection
public class DCollection extends DSimpleElement (Code)
Represents collection of elements which must be instances of DCollectionElement class.
author:
   Sasa Bojanic
version:
   1.0


Field Summary
protected transient  DControlPanelcontrolPanel
    
protected transient  DPanelcontrolledPanel
    
protected  ArrayListrefCollectionElements
     The collection of elements.

Constructor Summary
public  DCollection(String name)
    

Method Summary
public  voidadd(DSimpleElement el)
     Adds new element to collection.
public  voidclear()
     Clears the collection.
public  DSimpleElementgenerateNewElement()
     Generates the new element that made collection.
public  Objectget(int no)
     Gets the element that is placed at specified no.
public  DCollectionElementgetCollectionElement(String ID)
     Returns the element specified by ID.
Parameters:
  ID - ID of wanted element.
public  DPanelgetControlPanel()
    
public  DPanelgetControlledPanel()
    
public  CollectiongetElementStructure()
     Gets the structure of elements contained within collection, that is the all elements that element is made of.
public  DPanelgetPanel()
    
public  CollectiongetTableElements()
     Gets elements that can be choosed within table.
public  booleanisEmpty()
     Returns true if there is no elements within collection.
public  voidonActionCanceled(DSimpleElement el, int act)
     Some specific things to be done after some action is canceled.
public  voidonElementCreated(DSimpleElement el)
     Some specific things to be done after element is created.
public  voidonElementDeleted(DSimpleElement el)
     Some specific things to be done after element is deleted from collection.
public  voidonElementModified(DSimpleElement el)
     Some specific things to be done after element from collection is modified.
public  voidrefreshCollection(Set elementsToAddOrRemove, boolean append)
     Refreshes the collection.
public  voidremove(Object el)
     Removes specified element from collection.
public  voidsetReadOnly(boolean ro)
     Sets the collection and all contained elements to be read only or not.
public  intsize()
     Returns the number of elements within collection.
public  CollectiontoCollection()
     Returns the collection of all elements within collection.
public  StringtoString()
    

Field Detail
controlPanel
protected transient DControlPanel controlPanel(Code)



controlledPanel
protected transient DPanel controlledPanel(Code)



refCollectionElements
protected ArrayList refCollectionElements(Code)
The collection of elements.




Constructor Detail
DCollection
public DCollection(String name)(Code)




Method Detail
add
public void add(DSimpleElement el)(Code)
Adds new element to collection.



clear
public void clear()(Code)
Clears the collection.



generateNewElement
public DSimpleElement generateNewElement()(Code)
Generates the new element that made collection. Derived classes has to implement this method to create it's collection element.



get
public Object get(int no)(Code)
Gets the element that is placed at specified no. from collection.



getCollectionElement
public DCollectionElement getCollectionElement(String ID)(Code)
Returns the element specified by ID.
Parameters:
  ID - ID of wanted element. Wanted element if exist, null otherwise.



getControlPanel
public DPanel getControlPanel()(Code)



getControlledPanel
public DPanel getControlledPanel()(Code)



getElementStructure
public Collection getElementStructure()(Code)
Gets the structure of elements contained within collection, that is the all elements that element is made of.



getPanel
public DPanel getPanel()(Code)



getTableElements
public Collection getTableElements()(Code)
Gets elements that can be choosed within table. Default implementation returns all elements within collection.



isEmpty
public boolean isEmpty()(Code)
Returns true if there is no elements within collection.



onActionCanceled
public void onActionCanceled(DSimpleElement el, int act)(Code)
Some specific things to be done after some action is canceled. Default implementation is nothing to do, and derived classes should implement it's specific actions.



onElementCreated
public void onElementCreated(DSimpleElement el)(Code)
Some specific things to be done after element is created. Default implementation is nothing to do, and derived classes should implement it's specific actions.



onElementDeleted
public void onElementDeleted(DSimpleElement el) throws Exception(Code)
Some specific things to be done after element is deleted from collection. Default implementation is nothing to do, and derived classes should implement it's specific actions.



onElementModified
public void onElementModified(DSimpleElement el)(Code)
Some specific things to be done after element from collection is modified. Default implementation is nothing to do, and derived classes should implement it's specific actions.



refreshCollection
public void refreshCollection(Set elementsToAddOrRemove, boolean append)(Code)
Refreshes the collection.
Parameters:
  elementsToAddOrRemove - Set of elements that has to be added to orremoved from collection.
Parameters:
  append - true if adding elements to collection,false otherwise.



remove
public void remove(Object el)(Code)
Removes specified element from collection.



setReadOnly
public void setReadOnly(boolean ro)(Code)
Sets the collection and all contained elements to be read only or not.



size
public int size()(Code)
Returns the number of elements within collection.



toCollection
public Collection toCollection()(Code)
Returns the collection of all elements within collection.



toString
public String toString()(Code)



Fields inherited from discRack.presentation.delements.DSimpleElement
protected boolean isReadOnly(Code)(Java Doc)
protected boolean isRequired(Code)(Java Doc)
protected String name(Code)(Java Doc)
protected Object value(Code)(Java Doc)

Methods inherited from discRack.presentation.delements.DSimpleElement
public DPanel getPanel()(Code)(Java Doc)
public boolean isEmpty()(Code)(Java Doc)
public boolean isReadOnly()(Code)(Java Doc)
public boolean isRequired()(Code)(Java Doc)
public boolean isValid()(Code)(Java Doc)
public boolean setDODSElements(DPanel p)(Code)(Java Doc)
public void setReadOnly(boolean ro)(Code)(Java Doc)
public void setRequired(boolean r)(Code)(Java Doc)
public void setValue(Object v)(Code)(Java Doc)
public String toName()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public Object toValue()(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.