|
|||||||||
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.CxVarSet
CxVarSet provides semantics for a parenthisised set of vars.
Fields inherited from class com.dat.cx.CxComponent |
compactDisplay, noHatDisplay, standardDisplay |
Constructor Summary | |
CxVarSet()
Default contstuctor |
Method Summary | |
XSet |
export(XSet doc,
CxProject project)
Export the definition of this varSet. |
boolean |
exportChildren()
|
int |
getContentConstraint()
Get the content constraint |
CxContentConstraint |
getContentConstraintProperty()
Get the content constraint property |
java.lang.String |
getDataPath(CxComponent varRoot)
Get the data path of a component relative to an ancestor |
com.dat.cx.studio.CxCompDisplay |
getDisplay()
Get the display peer for this var set. |
java.lang.String |
getIcon()
Get the icon file name for this component |
boolean |
getOrEnabled()
Get the or enabled indicator |
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 ref set. |
boolean |
isVarSet()
Determines if the component is a var set |
void |
setContentConstraint(int contentConstraint)
Set the content constraint of the type reference. |
void |
setOrEnabled(boolean orEnabled)
Set the or enabled indicator. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CxVarSet()
Method Detail |
public boolean isVarSet()
isVarSet
in class CxComponent
public java.lang.String getDataPath(CxComponent varRoot)
getDataPath
in class CxComponent
varRoot
- some component that is a root variable of this componentpublic 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 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 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 boolean exportChildren()
public CxContentConstraint getContentConstraintProperty()
public int getContentConstraint()
public void setContentConstraint(int contentConstraint)
contentConstraint
- the new content constraintpublic boolean getOrEnabled()
public void setOrEnabled(boolean orEnabled)
orEnabled
- true if or is enabled, otherwise false.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 |