Uses of Class
net.xoetrope.xui.data.XModel

Packages that use XModel
net.xoetrope.awt   
net.xoetrope.builder.helper   
net.xoetrope.data   
net.xoetrope.debug   
net.xoetrope.deprecated.swing   
net.xoetrope.html   
net.xoetrope.optional.data   
net.xoetrope.optional.data.collection   
net.xoetrope.optional.data.pojo   
net.xoetrope.optional.data.sql   
net.xoetrope.optional.service   
net.xoetrope.swing   
net.xoetrope.swing.tree   
net.xoetrope.swt   
net.xoetrope.swt.tree   
net.xoetrope.xui   
net.xoetrope.xui.data   
net.xoetrope.xui.data.table   
 

Uses of XModel in net.xoetrope.awt
 

Methods in net.xoetrope.awt that return XModel
 XModel XTable.getModel()
          Get the underlying model.
 

Methods in net.xoetrope.awt with parameters of type XModel
 void XTableRenderer.setContent(XModel xmodel)
          Set the XModel which we will be generating the table from
 void XTable.setModel(XModel xmodel)
          Set the XModel which we will be generating the table from
 

Uses of XModel in net.xoetrope.builder.helper
 

Methods in net.xoetrope.builder.helper that return XModel
static XModel XTableModelHelper.addData(XModel model, java.lang.String name, java.lang.String value)
          Add data to the specified model.
static XModel XTableModelHelper.addHeader(XModel model)
          Creates a new 'th' node and returns it
static XModel XTableModelHelper.addRow(XModel model)
          Add a new 'tr' node to the passed XModel
static XModel XTableModelHelper.createDataItem(java.lang.String name, java.lang.String value, XModel model)
           
static XModel XTableModelHelper.createDataSet(java.lang.String name)
          Creates a new dataset within the model with the specified name.
static XModel XTableModelHelper.createDataSet(java.lang.String name, XModel model)
           
static XModel XTableModelHelper.createTable(XModel model, java.lang.String name)
          Adds a new table XModel node to the model node The XModel which will have the newly created table XModel appended to it
 

Methods in net.xoetrope.builder.helper with parameters of type XModel
static XModel XTableModelHelper.addData(XModel model, java.lang.String name, java.lang.String value)
          Add data to the specified model.
static XModel XTableModelHelper.addHeader(XModel model)
          Creates a new 'th' node and returns it
static XModel XTableModelHelper.addRow(XModel model)
          Add a new 'tr' node to the passed XModel
static XModel XTableModelHelper.createDataItem(java.lang.String name, java.lang.String value, XModel model)
           
static XModel XTableModelHelper.createDataSet(java.lang.String name, XModel model)
           
static XModel XTableModelHelper.createTable(XModel model, java.lang.String name)
          Adds a new table XModel node to the model node The XModel which will have the newly created table XModel appended to it
 

Uses of XModel in net.xoetrope.data
 

Methods in net.xoetrope.data with parameters of type XModel
 void XDataSource.loadTable(XmlElement source, XModel model)
          Recursively load the model data
 void XDataSource.outputModel(java.lang.String filename, XModel model)
          Iterate the XModels and outputs the Elements and their attributes.
static void XDataSource.outputModel(java.io.Writer w, XModel model)
          Iterates the XModels and outputs the Elements and their attributes.
static void XDataSource.outputModel(XmlElement parentEle, XModel model)
          Recursive method which builds up the XML Document based on the XModel.
 void XDataSource.write(java.io.Writer w, XModel model)
          Outputs the datasource as XML
 

Uses of XModel in net.xoetrope.debug
 

Methods in net.xoetrope.debug with parameters of type XModel
static void DebugLogger.dumpModel(XModel model)
          Write a representation of the model to the console.
static void DebugLogger.trace(XProject currentProject, XModel model)
          Write a snapshot of a model or model fragment to the log
 

Uses of XModel in net.xoetrope.deprecated.swing
 

Methods in net.xoetrope.deprecated.swing that return XModel
 XModel XTable.getModel()
          Get the underlying model.
 

Methods in net.xoetrope.deprecated.swing with parameters of type XModel
 void XTableRenderer.setContent(XModel xmodel)
          Set the XModel which we will be generating the table from
 void XTable.setModel(XModel xmodel)
          Set the XModel which we will be generating the table from
 

Uses of XModel in net.xoetrope.html
 

Fields in net.xoetrope.html declared as XModel
protected  XModel XHtmlPage.rootMdl
          The root model of the current project
 

Methods in net.xoetrope.html with parameters of type XModel
 void XTable.setModel(XModel xmodel)
          Set the XModel which we will be generating the table from
 

Uses of XModel in net.xoetrope.optional.data
 

Methods in net.xoetrope.optional.data that return XModel
 XModel XTableModelAdapter.getModel()
          Get the adapter source
 

Methods in net.xoetrope.optional.data with parameters of type XModel
 void XOptionalDataSource.XDataReflectionConstructor.constructViaReflection(java.lang.String type, XmlElement src, XModel model)
           
 java.lang.String XOptionalDataSource.getModelXML(XModel mdl)
          Output the model to a String and return it
 void XOptionalDataSource.loadDatabase(XmlElement source, XModel model)
          Recursively load the model data
 void XOptionalDataSource.loadRoutes(XmlElement source, XModel model)
          Load the routing information
 void XOptionalDataSource.loadService(XmlElement source, XModel model)
          Recursively load the model data
 void XTableModelAdapter.setModel(XModel src)
          Set the adapter source
 void XTextTableBinding.setSource(XModel newNode)
          Set the source node for data in the model
 void XTableTableBinding.setSource(XModel newNode)
          Update the model node used in the binding.
 void XListTableBinding.setSource(XModel newNode)
          Update the model node used in the binding.
 

Constructors in net.xoetrope.optional.data with parameters of type XModel
XTableModelAdapter(XModel src)
          Create a new adapter for a model node
 

Uses of XModel in net.xoetrope.optional.data.collection
 

Subclasses of XModel in net.xoetrope.optional.data.collection
 class XCollectionTableModel
          A wrapper for a database table allowing it to integrate with the XModel The table model consists of a set of XRowModel objects and these in turn consist of DatabaseFieldModel nodes.
 

Methods in net.xoetrope.optional.data.collection that return XModel
 XModel XCollectionTableModel.get(int i)
          Get the XModel at element i
 XModel XCollectionTableModel.getValue(int i)
          Get a child value/node (a XRowModel) at the specified index
 

Uses of XModel in net.xoetrope.optional.data.pojo
 

Subclasses of XModel in net.xoetrope.optional.data.pojo
 class XPojoHibernateModel
           
 class XPojoIterator
           
 class XPojoModel
          A model node for interacting with POJOs Copyright (c) Xoetrope Ltd., 2001-2006
License: see license.txt
 

Fields in net.xoetrope.optional.data.pojo declared as XModel
protected  XModel XPojoDataSource.pojoRootModel
           
 

Methods in net.xoetrope.optional.data.pojo that return XModel
 XModel XPojoModel.get(int i)
          Get the XModel at element i
 

Methods in net.xoetrope.optional.data.pojo with parameters of type XModel
 void XPojoModel.append(XModel childNode)
          Append a node
protected  XPojoModel XPojoHibernateDataSource.createPojoModel(XModel parent, java.lang.Object pojo)
          Creates and returns the new instance of XPojoModel
protected  XPojoModel XPojoDataSource.createPojoModel(XModel parent, java.lang.Object pojo)
          Creates and returns a new instance of XPojoModel
protected  XPojoModel XPojoHibernateDataSource.createPojoModel(XModel parent, java.lang.String subPath)
          Creates and returns a new instance of XPojoModel
protected  XPojoModel XPojoDataSource.createPojoModel(XModel parent, java.lang.String subPath)
          Creates and returns a new instance of XPojoModel
 void XPojoDataSource.loadTable(XmlElement source, XModel model)
          Recursively load the model data
 

Constructors in net.xoetrope.optional.data.pojo with parameters of type XModel
XPojoHibernateModel(XModel parent, java.lang.Object pojo, XPojoDataSource ds)
          Creates a new instance of XPojoHibernateModel
XPojoHibernateModel(XModel parent, java.lang.String subPath, XPojoDataSource ds)
          Creates a new instance of XPojoHibernateModel
XPojoIterator(XModel parent, XPojoDataSource ds)
          Creates a new instance of XPojoIterator.
XPojoModel(XModel parent, java.lang.Object p, XPojoDataSource ds)
          Creates a new instance of XPojoModel
XPojoModel(XModel parent, java.lang.String subPath, XPojoDataSource ds)
          Creates a new instance of XPojoModel
 

Uses of XModel in net.xoetrope.optional.data.sql
 

Subclasses of XModel in net.xoetrope.optional.data.sql
 class DatabaseFieldModel
          Provides a model for table field.
 class DatabaseRowModel
          Provides a model for table rows.
 class DatabaseTableModel
          A wrapper for a database table allowing it to integrate with the XModel The table model consists of a set of DatabaseRowModel objects and these in turn consist of DatabaseFieldModel nodes.
 

Methods in net.xoetrope.optional.data.sql that return XModel
 XModel DatabaseTableModel.get(int i)
          Get the XModel at element i
 XModel DatabaseTableModel.getValue(int i)
          Get a child value/node (a DatabaseRowModel) at the specified index
 

Constructors in net.xoetrope.optional.data.sql with parameters of type XModel
DatabaseTableModelAdapter(XModel src)
          Create a new adapter for a model node
 

Uses of XModel in net.xoetrope.optional.service
 

Subclasses of XModel in net.xoetrope.optional.service
 class XServiceModelNode
          Models a service as a model node.
 

Methods in net.xoetrope.optional.service that return XModel
 XModel XServiceModelNode.get(int i)
           
 

Methods in net.xoetrope.optional.service with parameters of type XModel
 void XServiceModelNode.append(XModel newObject)
           
 void XServiceModelNode.remove(XModel child)
           
 

Uses of XModel in net.xoetrope.swing
 

Fields in net.xoetrope.swing declared as XModel
protected  XModel XTable.model
           
 

Methods in net.xoetrope.swing that return XModel
 XModel XTree.getSelectedNode()
          Get the selected model node.
 XModel XTable.getXModel()
          Get the underlying model.
 

Methods in net.xoetrope.swing with parameters of type XModel
 void XTable.setModel(XModel xmodel)
          Set the XModel which we will be generating the table from
 

Uses of XModel in net.xoetrope.swing.tree
 

Fields in net.xoetrope.swing.tree declared as XModel
protected  XModel XTreeModelAdapter.model
          The model node
 

Methods in net.xoetrope.swing.tree that return XModel
 XModel XTreePojoModelAdapter.getModel()
          Get the model being used by this adapter
 XModel XTreeModelAdapter.getModel()
          Get the model being used by this adapter
 

Methods in net.xoetrope.swing.tree with parameters of type XModel
protected  void XTreeModelAdapter.populateTreeModel(XModel src)
          Add the children of this node to the tree model
 void XTreePojoModelAdapter.setModel(XModel src)
          Set the adapter source
 void XTreeModelAdapter.setModel(XModel src)
          Set the adapter source
 void XTreeBinding.setOutput(XModel newNode, java.lang.String outputPath)
          Set the output node where state data for this binding will be saved
 void XTreeBinding.setSource(XModel newNode)
          Set the source for this bindings's data
 

Uses of XModel in net.xoetrope.swt
 

Fields in net.xoetrope.swt declared as XModel
protected  XModel XTree.model
           
protected  XModel XToolItem.model
           
protected  XModel XTable.model
           
protected  XModel XSwtPage.rootModel
           
 

Methods in net.xoetrope.swt that return XModel
 XModel XTree.getModel()
          Get the model
 XModel XToolItem.getModel()
          Get the model
 XModel XTable.getModel()
          Get the underlying model.
 

Methods in net.xoetrope.swt with parameters of type XModel
 java.lang.String XTree.getText(XModel xmodel, int i)
          Get the appropriate text inside the model
 java.lang.String XToolItem.getText(XModel xmodel, int i)
          Get the appropriate text inside the model
 void XTree.setModel(XModel xmodel)
          Set the XModel which we will be generating the table from
 void XToolItem.setModel(XModel xmodel)
          Set the XModel which we will be generating the toolitem dropdown from
 void XTable.setModel(XModel xmodel)
          Set the XModel which we will be generating the table from
 

Uses of XModel in net.xoetrope.swt.tree
 

Methods in net.xoetrope.swt.tree with parameters of type XModel
 void XTreeBinding.setOutput(XModel newNode, java.lang.String outputPath)
          Set the output node where state data for this binding will be saved
 void XTreeBinding.setSource(XModel newNode)
          Set the source for this bindings's data
 

Uses of XModel in net.xoetrope.xui
 

Fields in net.xoetrope.xui declared as XModel
protected  XModel XProject.modelRoot
          The root XModel for this XProject instance
protected  XModel XPage.rootModel
          The root model of the current project.
 

Methods in net.xoetrope.xui that return XModel
static XModel XProjectManager.getModel()
          Deprecated. please use currentProject.getModel() instead
 XModel XProject.getModel()
          Get the root instance of the model.
 

Methods in net.xoetrope.xui with parameters of type XModel
 void XModelHolder.setModel(XModel m)
          Set the model data.
 

Uses of XModel in net.xoetrope.xui.data
 

Subclasses of XModel in net.xoetrope.xui.data
 class XBaseModel
          The basic implementation of the XModel is handled by this class.
 

Fields in net.xoetrope.xui.data declared as XModel
protected  XModel XListModelAdapter.model
           
protected  XModel XDataBinding.outputModel
           
protected  XModel XModel.parentModel
          The parent XModel of this instance. null if this instance has no parent
protected  XModel XDataBinding.sourceModel
           
protected  XModel[] XBaseModel.values
          array of Object values
 

Methods in net.xoetrope.xui.data that return XModel
static XModel XModelHelper.clone(java.lang.Object src)
          Clones the current model node.
static XModel XModelHelper.clone(java.lang.Object src, boolean cloneSubNodes)
          Clones the current model node.
 XModel XModelHelper.get()
          Do a get on the model and return its value as a model node
abstract  XModel XModel.get(int i)
          Get the XModel at element i
 XModel XBaseModel.get(int i)
          Get the XModel at element i
static XModel XModelHelper.get(java.lang.Object baseNode)
          Do a get on the model and return its value as a model node
 XModel XModelHelper.get(java.lang.String path)
          Get the model value for the specificed path and return its value as a model node
static XModel XModelHelper.get(XProject project, java.lang.Object baseNode, java.lang.String path)
          Get the model value for the specificed path and return its value as a model node
static XModel XModelHelper.getFirstChild(XModel model, java.lang.String value)
          Get the first child node that matches the speciofied value
static XModel XModelHelper.getFirstChild(XModel model, java.lang.String path, java.lang.String value)
          Get the first child node that matches the speciofied value
 XModel XModelAdapter.getModel()
          Set the adapter source
 XModel XListModelAdapter.getModel()
          Get the model being used by this adapter
 XModel XBaseModel.getModel(java.lang.String elementName)
          Gets the value attribute of the specified node as an XModel.
static XModel XModelHelper.getNextSibling(XModel modelNode, boolean wrap)
          Get the next sibling node
 XModel XDataBinding.getOutput()
          Get the output model
 XModel XModel.getParent()
          Retrieve the parent XModel of this XModel instance.
static XModel XModelHelper.getParent(java.lang.Object model, int level)
          Retrive the parent of the passed model.
static XModel XModelHelper.getPrevSibling(XModel modelNode, boolean wrap)
          Get the previous sibling node
static XModel XModelHelper.getSibling(boolean forward, XModel modelNode, boolean wrap)
          Get the sibling node
 XModel XDataBinding.getSource()
          Get the source model
 XModel XModel.reset(XProject currentProject)
          Reset the whole model, giving a new root node and a new hierarchy 'deprecated since 1.0.3
 

Methods in net.xoetrope.xui.data with parameters of type XModel
abstract  void XModel.append(XModel childNode)
          Append a node
 void XBaseModel.append(XModel childNode)
          Appends a node to the model.
static XModel XModelHelper.getFirstChild(XModel model, java.lang.String value)
          Get the first child node that matches the speciofied value
static XModel XModelHelper.getFirstChild(XModel model, java.lang.String path, java.lang.String value)
          Get the first child node that matches the speciofied value
static XModel XModelHelper.getNextSibling(XModel modelNode, boolean wrap)
          Get the next sibling node
static XModel XModelHelper.getPrevSibling(XModel modelNode, boolean wrap)
          Get the previous sibling node
static XModel XModelHelper.getSibling(boolean forward, XModel modelNode, boolean wrap)
          Get the sibling node
 void XBaseModel.insertChildAt(XModel newNode, int idx)
          Insert a node at a specified index in the list of children
 void XModelListener.modelUpdated(java.lang.String eventName, XModel src)
          Notification that a monitored model value has changed
 void XBaseModel.remove(XModel child)
          Remove a child node from this XModel instance.
 void XModelAdapter.setModel(XModel src)
          Set the adapter source
 void XListModelAdapter.setModel(XModel src)
          Set the adapter source
 void XListBinding.setOutput(XModel newNode, java.lang.String outputPath)
          Update the path values stored by this node.
 void XDataBinding.setOutput(XModel newNode, java.lang.String path)
          Update the path values stored by this node.
 void XModel.setParent(XModel parent)
          Set the XModel parent of this instance
 void XListBinding.setSource(XModel newNode)
          Set the source for this bindings's data
 void XDataBinding.setSource(XModel newNode)
          Set the source node for data in the model
 void XBaseModel.swapNodes(XModel nodeA, XModel nodeB)
          Move a child node up or down in the list of children
 

Constructors in net.xoetrope.xui.data with parameters of type XModel
XBaseModel(XModel parent)
          Constructs an instance of the model node.
XBaseModel(XModel parent, java.lang.String id, java.lang.Object value)
          Constructor which sets the id and value attributes and appends this XModel to the parent model.
XListModelAdapter(XModel src)
          Constructs a new adapter for the specified model node.
 

Uses of XModel in net.xoetrope.xui.data.table
 

Subclasses of XModel in net.xoetrope.xui.data.table
 class XFieldModel
          Provides a model for table field.
 class XRowModel
          Provides a model for table rows.
 class XTableModel
          An interface describing the extended methods support by table models.
 

Methods in net.xoetrope.xui.data.table that return XModel
 XModel XRowModel.get(int i)
          Gets the value attribute - a field value
 XModel XFieldModel.get(int i)
          Not yet implemented - does nothing
 XModel XRowModel.getValue(int i)
          Get the value of a field as a model node
 

Methods in net.xoetrope.xui.data.table with parameters of type XModel
 void XRowModel.append(XModel newObject)
          Append a node.
 void XFieldModel.append(XModel newObject)
          This method is required by the XModel interface but in this case it is not implemented as it is inappropriate in the context of the class
 void XRowModel.remove(XModel node)
          Remove a node This method is required by the XModel interface but in this case it is not implemented as it is inappropriate in the context of the class
 void XFieldModel.remove(XModel model)
          Not yet implemented - does nothing