|
|||||||||
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.CxTypePackage
CxTypePackage provides semantics for a type package component. A type package is a container for type components in the component tree. It corresponds to a DTD.
Fields inherited from class com.dat.cx.CxComponent |
compactDisplay, noHatDisplay, standardDisplay |
Constructor Summary | |
CxTypePackage()
Default contstuctor |
|
CxTypePackage(java.lang.String uri)
Contstuctor |
Method Summary | |
XSet |
export(XSet doc,
CxProject project)
Export the definition of this type package. |
com.dat.cx.studio.CxCompDisplay |
getDisplay()
Get the display peer for this package. |
java.lang.String |
getIcon()
Get the icon file name for this package |
java.lang.String |
getUri()
Get the uri of this type package |
java.util.Vector |
importSpec(XSet spec)
Import specification from an XML element |
boolean |
isTypePackage()
Determines if the component is a type package |
void |
setUri(java.lang.String uri)
Set the uri of this type package |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CxTypePackage()
public CxTypePackage(java.lang.String uri)
uri
- the Uri for the type packageMethod Detail |
public boolean isTypePackage()
isTypePackage
in class CxComponent
public com.dat.cx.studio.CxCompDisplay getDisplay()
getDisplay
in class CxComponent
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 getUri()
public void setUri(java.lang.String uri)
uri
- this new uri for this type packagepublic java.lang.String getIcon()
getIcon
in class CxComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |