|
|||||||||
| 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.CxConfiguration
CxConfiguration provides semantics for a configuration property to be associated with a var or attribute.
| Fields inherited from class com.dat.cx.CxComponent |
compactDisplay, noHatDisplay, standardDisplay |
| Constructor Summary | |
CxConfiguration()
Default contstuctor |
|
CxConfiguration(java.lang.String name,
java.lang.String value)
Constructor |
|
| Method Summary | |
XSet |
export(XSet doc,
CxProject project)
Export the definition of this xml port (only this component) |
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 |
getValue()
Get the value |
CxProperty |
getValueProperty()
Get the value property |
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 |
isConfiguration()
Determines if the component is a configuration property |
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 CxConfiguration()
public CxConfiguration(java.lang.String name,
java.lang.String value)
name - the name of the configuration propertyvalue - the value for the property| Method Detail |
public boolean isConfiguration()
isConfiguration 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 document being constructed. The definition is added to this documentpublic CxProperty getValueProperty()
public java.lang.String getValue()
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 | ||||||||