| 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.
|
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) | | |
hashcode | protected volatile int hashcode(Code) | | |
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 |
append | public void append(XModel xModel)(Code) | | |
get | public XModel get(int i)(Code) | | |
getAttribAvailableValues | public String[] getAttribAvailableValues(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) | | |
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) | | |
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 |
getProperties | public XPojoProperties getProperties()(Code) | | Gets the properties of the encapsulated POJO
XPojoProperties object |
getValueAsDouble | public double getValueAsDouble(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
|
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 |
|
|