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


com.xoetrope.carousel.visualizer.VisualiserDebuggerModel
   com.xoetrope.editor.netbeans.visualizer.NbDebuggerModel

NbDebuggerModel
public class NbDebuggerModel extends VisualiserDebuggerModel (Code)
A wrapper for the debugger node.

Copyright (c) Xoetrope Ltd., 2001-2006, 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.

$Revision: 1.9 $




Constructor Summary
public  NbDebuggerModel(JPDADebugger jpdaDebugger, ObjectVariable objVar)
    

Method Summary
public  voidappend(XModel childNode)
    
public  Objectappend(String elementName)
     Append a new node with the specified name.
public  Objectget(String element)
    
public  XModelget(int i)
    
public  Objectget()
    
public  StringgetAttribName(int i)
    
public  ObjectgetAttribValue(int i)
     Retrieve the value of the attribute at the specified index and return it.
public  doublegetAttribValueAsDouble(int i)
     Retrieve the value of the attribute at the specified index, convert it to a double and return it.
public  doublegetAttribValueAsDouble(int i, char decimalSeparator, char groupingSeparator)
    
public  intgetAttribValueAsInt(int i)
     Retrieve the value of the attribute at the specified index, convert it to an int and return it.
public  StringgetAttribValueAsString(int i)
     Retrieve the value of the attribute at the specified index, convert it to a String and return it.
public  intgetAttribute(String attribName)
    
public  StringgetId()
    
public  StringgetNodeString()
     Calls the getToStringValue() method on the encapsulated object and returns its value.
public  intgetNumAttributes()
    
public  intgetNumChildren()
    
public  XModelgetParent()
    
public  StringgetTagName()
     Gets the model element tag name, e.g.
public  doublegetValueAsDouble(String elementName)
     Retrieve the named child, convert it's value to a double and return it.
public  intgetValueAsInt(String elementName)
     Retrieve the named child, convert it's value to an int and return it.
public  StringgetValueAsString(String elementName)
     Retrieve the named child, convert it's value to a String and return it.
public  booleanhasAutoId()
     Determine if there is no id set for this model in the datasource true if there was no name for the element in the DataSource, anexample of this is the annonymouse nodes used to represent the record ofa table e.g.
public  voidhasAutoId(boolean b)
     Used for elements which need a name assigned temporarily because one doesn't exist in the DataSource.
public  inthashCode()
     Get a hash code for the node.
public  voidinsertChildAt(XModel newNode, int idx)
    
public  voidremoveChild(String name)
    
public  voidremoveChild(XModel childNode)
    
public  XModelreset()
    
public  voidset(String elementName, Object newObject)
     Set the named attribute value of this XModel node.
public  voidset(Object s)
    
public  voidsetAttribValue(int i, Object value)
    
public  voidsetAttribValue(int i, String attribName, Object value)
    
public  voidsetId(String newId)
    
public  voidsetNumChildren(int num)
    
public  voidsetObjectVariable(XModel node)
    
public  voidsetTagName(String name)
    


Constructor Detail
NbDebuggerModel
public NbDebuggerModel(JPDADebugger jpdaDebugger, ObjectVariable objVar)(Code)
Creates a new instance of JPDAModelNode




Method Detail
append
public void append(XModel childNode)(Code)
Append a node
Parameters:
  childNode - the child node



append
public Object append(String elementName)(Code)
Append a new node with the specified name. This method does not replace any existing nodes.
Parameters:
  elementName - The immediate path to the XModel required The value of the XModel or the attribute



get
public Object get(String element)(Code)
Get the value of the element located at the path in the element parameter If the attribName parameter is not null we get the value of the attributeValues
Parameters:
  element - The path to the XModel we require The value of the XModel or the attribute



get
public XModel get(int i)(Code)
Get the XModel at element i
Parameters:
  i - The index of the values array The XModel at location i



get
public Object get()(Code)
gets the value attribute the value of the model



getAttribName
public String getAttribName(int i)(Code)
Retrieve the name of the attribute at the specified index
Parameters:
  i - The index of the attributeNames array whose value we want The string value of the attributeNames array at position i



getAttribValue
public Object getAttribValue(int i)(Code)
Retrieve the value of the attribute at the specified index and return it.
Parameters:
  i - The index of the attributeValues array whose value we want The string value of the attributeValues array at position i



getAttribValueAsDouble
public double getAttribValueAsDouble(int i)(Code)
Retrieve the value of the attribute at the specified index, convert it to a double and return it.
Parameters:
  i - The index of the attributeValues array whose value we want The double value of the attributeValues array at position i



getAttribValueAsDouble
public double getAttribValueAsDouble(int i, char decimalSeparator, char groupingSeparator)(Code)
Convert the attribute at the specified index to a double and return it
Parameters:
  i - The index of the attributeValues array whose value we want
Parameters:
  decimalSeparator - the decimal separator
Parameters:
  groupingSeparator - the grouping (thousands) separator The double value of the attributeValues array at position i



getAttribValueAsInt
public int getAttribValueAsInt(int i)(Code)
Retrieve the value of the attribute at the specified index, convert it to an int and return it.
Parameters:
  i - The index of the attributeValues array whose value we want The int value of the attributeValues array at position i



getAttribValueAsString
public String getAttribValueAsString(int i)(Code)
Retrieve the value of the attribute at the specified index, convert it to a String and return it.
Parameters:
  i - The index of the attributeValues array whose value we want The string value of the attributeValues array at position i



getAttribute
public int getAttribute(String attribName)(Code)
Returns the index of the attribiteNames array whose value is the same as the attribName
Parameters:
  attribName - The name of the attribute we are trying to locate The index of the attributeNames array containg the name



getId
public String getId()(Code)
Gets the value of the ID attribute the ID attribute



getNodeString
public String getNodeString()(Code)
Calls the getToStringValue() method on the encapsulated object and returns its value. This method is used to determine class which instance is wrapped by JPDAModelNode object. String containing name of the wrapped class.



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



getNumChildren
public int getNumChildren()(Code)
Gets the number of immediate children of this node



getParent
public XModel getParent()(Code)
retrieve the parent XModel of this XModel instance The parent XModel to which this instance belongs



getTagName
public String getTagName()(Code)
Gets the model element tag name, e.g. 'Component' from the XML fragment



getValueAsDouble
public double getValueAsDouble(String elementName)(Code)
Retrieve the named child, convert it's value to a double and return it.
Parameters:
  elementName - The name of the child whose value is required the value as a double



getValueAsInt
public int getValueAsInt(String elementName)(Code)
Retrieve the named child, convert it's value to an int and return it.
Parameters:
  elementName - The name of the child to be retrieved the value as an int



getValueAsString
public String getValueAsString(String elementName)(Code)
Retrieve the named child, convert it's value to a String and return it.
Parameters:
  elementName - The name of the child whose value is required the value as a string



hasAutoId
public boolean hasAutoId()(Code)
Determine if there is no id set for this model in the datasource true if there was no name for the element in the DataSource, anexample of this is the annonymouse nodes used to represent the record ofa table e.g.
......



hasAutoId
public void hasAutoId(boolean b)(Code)
Used for elements which need a name assigned temporarily because one doesn't exist in the DataSource.
Parameters:
  b - true if there was no name in the DataSource



hashCode
public int hashCode()(Code)
Get a hash code for the node. the node's hash code



insertChildAt
public void insertChildAt(XModel newNode, int idx)(Code)
Insert a node at a specified index in the list of children
Parameters:
  newNode - the new model node
Parameters:
  idx - the index at which to insert



removeChild
public void removeChild(String name)(Code)
Remove a child
Parameters:
  name - the ID or name of the node



removeChild
public void removeChild(XModel childNode)(Code)
Remove a child node
Parameters:
  child - the child to be removed



reset
public XModel reset()(Code)
Reset the whole model, giving a new root node and a new hierarchy 'deprecated since 1.0.3 The base model



set
public void set(String elementName, Object newObject)(Code)
Set the named attribute value of this XModel node. If the attribName is null then this node's value is updated.
Parameters:
  elementName - The path to the XModel in the format 'base/foo
Parameters:
  newObject - The new value of the XModel



set
public void set(Object s)(Code)
Sets the model value
Parameters:
  s - the new value



setAttribValue
public void setAttribValue(int i, Object value)(Code)
Sets the attribute value
Parameters:
  i - The index of the attributeValues array whose value we want
Parameters:
  value - the value object



setAttribValue
public void setAttribValue(int i, String attribName, Object value)(Code)
Sets the attribute name and value
Parameters:
  i - The index of the attributeValues array whose value we want
Parameters:
  attribName - the name of the attribute
Parameters:
  value - the value object



setId
public void setId(String newId)(Code)
Sets the ID attribute
Parameters:
  newId - the new name



setNumChildren
public void setNumChildren(int num)(Code)
Set the number of children of this node
Parameters:
  num - the new number of children



setObjectVariable
public void setObjectVariable(XModel node)(Code)



setTagName
public void setTagName(String name)(Code)



Methods inherited from com.xoetrope.carousel.visualizer.VisualiserDebuggerModel
abstract public String getNodeString()(Code)(Java Doc)
abstract public void removeChild(String path)(Code)(Java Doc)
abstract public void removeChild(XModel child)(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.