Java Doc for XPojoModelVis.java in  » XML-UI » xui32 » com » xoetrope » data » pojo » 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 » XML UI » xui32 » com.xoetrope.data.pojo 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.xoetrope.data.pojo.XPojoModelVis

All known Subclasses:   com.xoetrope.data.pojo.XPojoModelEx,  com.xoetrope.data.pojo.XPojoMethodArg,  com.xoetrope.data.pojo.XPojoMethodArgs,
XPojoModelVis
abstract public class XPojoModelVis extends XModel implements TreeNodeCaption,XModelVis(Code)
An abstract class representing design-time pojo model (for use by "data visualiser")

Copyright (c) Xoetrope Ltd., 2001-2007, This software is licensed under the GNU Public License (GPL), please see license.txt for more details. If you make commercial use of this software you must purchase a commercial license from Xoetrope.



Field Summary
final public static  intATTRIB_COMBO
    
final public static  intATTRIB_FREETEXT
    
final public static  intATTRIB_NEDITABLE
    
final public static  intID_ATTRIBUTE
    
final public static  intNUM_FIXED_ATTRIBUTE
    
final public static  intVALUE_ATTRIBUTE
    
protected  XPojoAdapterExadapter
    
protected  XPojoDataSourceExdataSource
    
protected  Class[]getterSig
    
protected volatile  inthashcode
    
protected  StringidAttrib
    
protected  Objectpojo
    
protected  ClasspojoClass
    
protected  XPojoModelVis[]pojoCollection
    
protected  MethodpojoGetter
    
protected  MethodpojoSetter
    
protected  Class[]setterSig
    
protected  StringvalueAttrib
    

Constructor Summary
public  XPojoModelVis(XModel pr, Object pj, XPojoDataSourceEx ds)
    
public  XPojoModelVis(XModel pr, Method gtr, Method str, XPojoDataSourceEx ds)
     Creates a new instance of XPojoModelVis class.
public  XPojoModelVis(XModel pr, Class clazz, XPojoDataSourceEx ds)
    
public  XPojoModelVis(XModel pr, XPojoDataSourceEx ds)
     Creates a new instance of XPojoModelVis class.

Method Summary
public  voidappend(XModel xModel)
    
public  Objectappend(String string)
    
public  Objectget()
    
public  XModelget(int i)
    
public  XPojoAdapterExgetAdapter()
    
public  String[]getAttribAvailableValues(int i)
    
public  StringgetAttribName(int i)
    
public  booleangetAttribRuntime(int i)
     Indicates whether the attribute will be available in the run-time mode.
public  intgetAttribType(int i)
    
public  ObjectgetAttribValue(int i)
    
public  doublegetAttribValueAsDouble(int i)
    
public  doublegetAttribValueAsDouble(int i, char c, char c0)
    
public  intgetAttribValueAsInt(int i)
    
public  StringgetAttribValueAsString(int i)
    
public  intgetAttribute(String string)
    
public  VectorgetBindingAttributes()
     Gest the binding attributes that this model node can provide.
public  StringgetBindingPath()
    
public  StringgetCaption()
     Gets the visualiser tree caption of this node.
public  StringgetId()
    
public  intgetNumAttributes()
    
public  ClassgetPojoClass()
    
public  XPojoPropertiesgetProperties()
    
public  doublegetValueAsDouble(String string)
    
public  intgetValueAsInt(String string)
    
public  StringgetValueAsString(String string)
    
public  inthashCode()
     The hashcode of this instance.
public  booleanisAttribEditable(int i)
    
public  booleanisDirty()
    
public  voidset(String string, Object object)
    
public  voidset(Object obj)
    
public  voidsetAttribValue(int i, String string, Object object)
    
public  voidsetAttribValue(int i, Object value)
    
public  voidsetCaption(String caption)
     Sets the caption of this node which will be shown in the model visualiser tree.
public  voidsetDirty(boolean state)
     Sets the dirty flag of this model node.
public  voidsetId(String newId)
    
protected  voidsetPojo(Object aPojo)
    
protected  voidsetPojoClass(Class clazz)
     Sets the type of the underlying pojo.
protected  voidsetPojoGetter(Method aMethod)
     Sets the method being used to obtain the pojo of this node.
protected  voidsetPojoSetter(Method aMethod)
    

Field Detail
ATTRIB_COMBO
final public static int ATTRIB_COMBO(Code)



ATTRIB_FREETEXT
final public static int ATTRIB_FREETEXT(Code)



ATTRIB_NEDITABLE
final public static int ATTRIB_NEDITABLE(Code)



ID_ATTRIBUTE
final public static int ID_ATTRIBUTE(Code)



NUM_FIXED_ATTRIBUTE
final public static int NUM_FIXED_ATTRIBUTE(Code)



VALUE_ATTRIBUTE
final public static int VALUE_ATTRIBUTE(Code)



adapter
protected XPojoAdapterEx adapter(Code)



dataSource
protected XPojoDataSourceEx dataSource(Code)



getterSig
protected Class[] getterSig(Code)



hashcode
protected volatile int hashcode(Code)



idAttrib
protected String idAttrib(Code)



pojo
protected Object pojo(Code)



pojoClass
protected Class pojoClass(Code)



pojoCollection
protected XPojoModelVis[] pojoCollection(Code)



pojoGetter
protected Method pojoGetter(Code)



pojoSetter
protected Method pojoSetter(Code)



setterSig
protected Class[] setterSig(Code)



valueAttrib
protected String valueAttrib(Code)




Constructor Detail
XPojoModelVis
public XPojoModelVis(XModel pr, Object pj, XPojoDataSourceEx ds)(Code)
Creates a new instance of XPojoModelVis
Parameters:
  pr - the parent model node.
Parameters:
  pojo - Object being wrapped by this model node.
Parameters:
  ds - the data source object.



XPojoModelVis
public XPojoModelVis(XModel pr, Method gtr, Method str, XPojoDataSourceEx ds)(Code)
Creates a new instance of XPojoModelVis class.
Parameters:
  pr - the parent mode node
Parameters:
  mth - the getter method being used to obtainthe pojo to be wrapped by this model node.
Parameters:
  ds - the data source object.



XPojoModelVis
public XPojoModelVis(XModel pr, Class clazz, XPojoDataSourceEx ds)(Code)
Creates a new instance of XPojoModelVis
Parameters:
  pr - the parent model node
Parameters:
  clazz - the type of the underlying pojo.
Parameters:
  ds - the data source object.



XPojoModelVis
public XPojoModelVis(XModel pr, XPojoDataSourceEx ds)(Code)
Creates a new instance of XPojoModelVis class.
Parameters:
  pr - the parent model node




Method Detail
append
public void append(XModel xModel)(Code)



append
public Object append(String string)(Code)



get
public Object get()(Code)



get
public XModel get(int i)(Code)



getAdapter
public XPojoAdapterEx getAdapter()(Code)
Gets the adapter of this model node the adapter



getAttribAvailableValues
public String[] getAttribAvailableValues(int i)(Code)



getAttribName
public String getAttribName(int i)(Code)



getAttribRuntime
public boolean getAttribRuntime(int i)(Code)
Indicates whether the attribute will be available in the run-time mode.
Parameters:
  i - the index of the attribute true if the attribute will be available inthe runtime mode, false otherwise



getAttribType
public int getAttribType(int i)(Code)



getAttribValue
public Object getAttribValue(int i)(Code)



getAttribValueAsDouble
public double getAttribValueAsDouble(int i)(Code)



getAttribValueAsDouble
public double getAttribValueAsDouble(int i, char c, char c0)(Code)



getAttribValueAsInt
public int getAttribValueAsInt(int i)(Code)



getAttribValueAsString
public String getAttribValueAsString(int i)(Code)



getAttribute
public int getAttribute(String string)(Code)



getBindingAttributes
public Vector getBindingAttributes()(Code)
Gest the binding attributes that this model node can provide. By default this method returns an empty Vector object. Vector containing binding attributes.



getBindingPath
public String getBindingPath()(Code)
Gets the runtime binding path of this model node the runtime binding path



getCaption
public String getCaption()(Code)
Gets the visualiser tree caption of this node. the caption.



getId
public String getId()(Code)
Gets the ID attribute of this node the id



getNumAttributes
public int getNumAttributes()(Code)
Gets the number of attributes the number of attributes



getPojoClass
public Class getPojoClass()(Code)



getProperties
public XPojoProperties getProperties()(Code)
Gets the properties of the encapsulated POJO XPojoProperties object



getValueAsDouble
public double getValueAsDouble(String string)(Code)



getValueAsInt
public int getValueAsInt(String string)(Code)



getValueAsString
public String getValueAsString(String string)(Code)



hashCode
public int hashCode()(Code)
The hashcode of this instance. Based on the ID String The hashcode of this instance



isAttribEditable
public boolean isAttribEditable(int i)(Code)



isDirty
public boolean isDirty()(Code)
Gets the value of the dirty property



set
public void set(String string, Object object)(Code)



set
public void set(Object obj)(Code)



setAttribValue
public void setAttribValue(int i, String string, Object object)(Code)



setAttribValue
public void setAttribValue(int i, Object value)(Code)



setCaption
public void setCaption(String caption)(Code)
Sets the caption of this node which will be shown in the model visualiser tree.
Parameters:
  caption - the caption to be set



setDirty
public void setDirty(boolean state)(Code)
Sets the dirty flag of this model node.
Parameters:
  state - the new value of the dirty flag



setId
public void setId(String newId)(Code)
Sets the ID attribute newId the new id



setPojo
protected void setPojo(Object aPojo)(Code)
Sets the underlying pojo of this model node
Parameters:
  aPojo - the new pojo



setPojoClass
protected void setPojoClass(Class clazz)(Code)
Sets the type of the underlying pojo.
Parameters:
  clazz - the type of the underlying pojo



setPojoGetter
protected void setPojoGetter(Method aMethod)(Code)
Sets the method being used to obtain the pojo of this node.
Parameters:
  aMethod - the getter method



setPojoSetter
protected void setPojoSetter(Method aMethod)(Code)
Sets the method being used to set the pojo of this node
Parameters:
  aMethod - the setter



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.