|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.dat.cx.CxComponent
|
+--com.dat.cx.CxAttributeInstance
CxAttribute provides semantics for an XML attribute instance component.
| Fields inherited from class com.dat.cx.CxComponent |
compactDisplay, noHatDisplay, standardDisplay |
| Constructor Summary | |
CxAttributeInstance()
Default contstuctor |
|
CxAttributeInstance(java.lang.String name,
java.lang.String value)
Constructor |
|
| Method Summary | |
XSet |
export(XSet doc,
CxProject project)
Export the definition of this attribute. |
boolean |
exportChildren()
|
java.lang.String |
getCompiledValue()
Get the value |
com.dat.cx.studio.CxCompDisplay |
getDisplay()
Get the display peer for this attribute. |
com.dat.cx.studio.CxInternalFrame |
getEditFrame(com.dat.cx.studio.CxStudio studio)
Get at edit frame for editing this component. |
java.lang.String |
getIcon()
Get the icon file name for this component |
java.lang.String |
getLiteralValue()
|
java.util.Vector |
importSpec(XSet spec)
Import specification from an XML element |
void |
importTemplate(CxComponent from,
boolean copy,
boolean inherit,
boolean inverse)
Import the definition of a type from another type. |
boolean |
isAttributeInstance()
Determines if the component is an attribute |
void |
setValue(java.lang.String value)
Set the value of the attribute. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CxAttributeInstance()
public CxAttributeInstance(java.lang.String name,
java.lang.String value)
name - the name of the typetype - the content type for the type| Method Detail |
public boolean isAttributeInstance()
isAttributeInstance in class CxComponentpublic com.dat.cx.studio.CxInternalFrame getEditFrame(com.dat.cx.studio.CxStudio studio)
getEditFrame in class CxComponentpublic com.dat.cx.studio.CxCompDisplay getDisplay()
getDisplay in class CxComponent
public void importTemplate(CxComponent from,
boolean copy,
boolean inherit,
boolean inverse)
importTemplate in class CxComponentfrom - the property from which to import a definitioncopy - indicate that this is a copy 'vs' extendsinherit - indicate that the definition is inherited as part of an extendsinverse - (not used)public java.util.Vector importSpec(XSet spec)
importSpec in class CxComponentspec - the xml element containing the specification
public XSet export(XSet doc,
CxProject project)
export in class CxComponentdoc - the XSet docuement being constructed. The definition is added to this document.public boolean exportChildren()
public java.lang.String getLiteralValue()
public java.lang.String getCompiledValue()
public void setValue(java.lang.String value)
value - the new attribute valuepublic java.lang.String getIcon()
getIcon in class CxComponent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||