|
|||||||||
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.CxVarInstance
CxVarInstance provides semantics for a var instance. A var instance corresponds to an Element node within a dom tree.
Fields inherited from class com.dat.cx.CxComponent |
compactDisplay, noHatDisplay, standardDisplay |
Constructor Summary | |
CxVarInstance()
Default contstuctor |
|
CxVarInstance(java.lang.String name)
Constructor |
Method Summary | |
XSet |
export(XSet doc,
CxProject project)
Export the definition of this var instance. |
com.dat.cx.studio.CxCompDisplay |
getDisplay()
Get the display peer for this var instance. |
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.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 component from another component. |
boolean |
isVarInstance()
Determines if the component is a var instance |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CxVarInstance()
public CxVarInstance(java.lang.String name)
name
- the name of the var instanceMethod Detail |
public boolean isVarInstance()
isVarInstance
in class CxComponent
public com.dat.cx.studio.CxInternalFrame getEditFrame(com.dat.cx.studio.CxStudio studio)
getEditFrame
in class CxComponent
public com.dat.cx.studio.CxCompDisplay getDisplay()
getDisplay
in class CxComponent
public void importTemplate(CxComponent from, boolean copy, boolean inherit, boolean inverse)
importTemplate
in class CxComponent
from
- the component 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
- indicate that polarity is to be inversed (see CxPort and CxInterface)public java.util.Vector importSpec(XSet spec)
importSpec
in class CxComponent
spec
- the xml element containing the specificationpublic XSet export(XSet doc, CxProject project)
export
in class CxComponent
doc
- the XSet docuement being constructed. The definition is added to this document.public java.lang.String getIcon()
getIcon
in class CxComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |