|
|||||||||
| 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.CxTextInstance
CxText provides semantics for a text instance component. A text instance hold the text derived from a DOM text node.
| Fields inherited from class com.dat.cx.CxComponent |
compactDisplay, noHatDisplay, standardDisplay |
| Constructor Summary | |
CxTextInstance()
Default contstuctor |
|
CxTextInstance(java.lang.String text)
Constructor |
|
| Method Summary | |
XSet |
export(XSet doc,
CxProject project)
Export the definition of this type. |
com.dat.cx.studio.CxCompDisplay |
getDisplay()
Get the display peer for this text. |
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 |
getText()
Get the text of this text instance |
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 |
isTextInstance()
Determines if the component is a text instance |
void |
setText(java.lang.String text)
Set the text of this text instance |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CxTextInstance()
public CxTextInstance(java.lang.String text)
name - the name of the var instancetype - the content type for the type| Method Detail |
public boolean isTextInstance()
isTextInstance 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 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 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 java.lang.String getText()
public void setText(java.lang.String text)
text - the new textpublic java.lang.String getIcon()
getIcon in class CxComponent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||