|
|||||||||
| 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.CxCompositeComponent
|
+--com.dat.cx.CxLibraryComponent
CxLibraryComponent is the class root for all native library components. It provides the required behaviour to intergrate a native component into the Cx framework. It provides convenience methods for defining ports and properties.
| Fields inherited from class com.dat.cx.CxComponent |
compactDisplay, noHatDisplay, standardDisplay |
| Constructor Summary | |
CxLibraryComponent()
|
|
| Method Summary | |
CxPin |
definePin(java.lang.String name,
boolean direction)
Define a control pin. |
CxXmlPort |
definePort(java.lang.String name,
boolean direction)
Define a port. |
CxProperty |
defineProperty(java.lang.String name,
java.lang.String value)
Define a property. |
CxProperty |
defineProperty(java.lang.String name,
java.lang.String value,
boolean significant)
Define a property. |
CxResourceProviderProperty |
defineResourceProviderProperty(java.lang.String name,
java.lang.Class cls)
Define a resource provider property. |
CxResourceProviderProperty |
defineResourceProviderProperty(java.lang.String name,
java.lang.Class cls,
boolean significant)
Define a resource provider property. |
boolean |
exportChildren()
Determine if child components are to be exported. |
boolean |
isLibraryComponent()
Determines if the component is a library component |
com.d_a_t.expeval.EEField |
resolveField(java.lang.String identifier)
Augmented to resolve any name which has a port name == field name in the data class as a field. |
| Methods inherited from class com.dat.cx.CxCompositeComponent |
exportInfo, getCatchPort, getErrorPort, getIcon, importInfo, isCompositeComponent, makeInfo, setIcon |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CxLibraryComponent()
| Method Detail |
public boolean isLibraryComponent()
isLibraryComponent in class CxComponentpublic boolean exportChildren()
public CxXmlPort definePort(java.lang.String name,
boolean direction)
name - the port namedirection - true for provides, false for uses
public CxPin definePin(java.lang.String name,
boolean direction)
name - the pin namedirection - true for provides, false for uses
public CxProperty defineProperty(java.lang.String name,
java.lang.String value)
name - the property namevalue - the initial value for the propery
public CxProperty defineProperty(java.lang.String name,
java.lang.String value,
boolean significant)
name - the property namevalue - the initial value for the properysignificant - indicates that a property is significant and should be displayed on the
component instance rendering when viewed within the Studio.
public CxResourceProviderProperty defineResourceProviderProperty(java.lang.String name,
java.lang.Class cls)
class - the property nameclass - the CxResource subclass needed to enable this resource
public CxResourceProviderProperty defineResourceProviderProperty(java.lang.String name,
java.lang.Class cls,
boolean significant)
class - the property nameclass - the CxResource subclass needed to enable this resourcesignificant - indicates that a property is significant and should be displayed on the
component instance rendering when viewed within the Studio.
public com.d_a_t.expeval.EEField resolveField(java.lang.String identifier)
throws com.d_a_t.expeval.ExpressionException
resolveField in class CxComponent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||