|
|||||||||
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.CxProperty | +--com.dat.cx.CxBaseProperty
CxBaseProperty provides semantics for a property component of a composite component. A base property must reference, and is thus linked to, some other property withni the composite component.
Fields inherited from class com.dat.cx.CxComponent |
compactDisplay, noHatDisplay, standardDisplay |
Constructor Summary | |
CxBaseProperty()
Default constuctor |
|
CxBaseProperty(java.lang.String theName,
java.lang.String value,
CxProperty reference)
Constructor |
Method Summary | |
XSet |
export(XSet doc,
CxProject project)
Export the definition of this base property. |
java.lang.String |
getCompiledValue()
Get the value of the property. |
java.lang.String |
getLiteralValue()
Get the value of the property. |
com.dat.cx.studio.CxPropertyEditor |
getPropertyEditor()
Get the property editor for this property. |
CxProperty |
getReference()
Get the reference 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 base property from another base property. |
boolean |
isBaseProperty()
Determines if the component is a base property (component defined) |
void |
setReference(CxProperty reference)
Set the reference property |
void |
setValueNoUndo(java.lang.String value)
Set the value of the property. |
Methods inherited from class com.dat.cx.CxProperty |
addPropertyChangeListener, exportInfo, getDisplay, getEditFrame, getEditorClassName, getIcon, getXmlType, importInfo, isEditable, isProperty, isSignificant, makeInfo, removePropertyChangeListener, setEditorClassName, setIsEditable, setSignificant, setValue |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CxBaseProperty()
public CxBaseProperty(java.lang.String theName, java.lang.String value, CxProperty reference)
name
- the name of the propertyvalue
- the intial value for the propertyreference
- the property that this base property is linked toMethod Detail |
public boolean isBaseProperty()
isBaseProperty
in class CxComponent
public com.dat.cx.studio.CxPropertyEditor getPropertyEditor()
getPropertyEditor
in class CxProperty
public void importTemplate(CxComponent from, boolean copy, boolean inherit, boolean inverse)
importTemplate
in class CxProperty
from
- the base 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 CxProperty
spec
- the xml element containing the specificationpublic XSet export(XSet doc, CxProject project)
export
in class CxProperty
doc
- the XSet docuement being constructed. The definition is added to this document.public CxProperty getReference()
public void setReference(CxProperty reference)
public java.lang.String getLiteralValue()
CxProperty
getLiteralValue
in class CxProperty
com.dat.cx.CxProperty
public java.lang.String getCompiledValue()
getCompiledValue
in class CxProperty
public void setValueNoUndo(java.lang.String value)
setValueNoUndo
in class CxProperty
the
- new property value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |