|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.core.ca.co.client.element.CoElement
@Deprecated public abstract class CoElement
CoElement is a class all conceptual elements extend from.
It is configurable and can be drawn. The class provides a default implementation
of a drawing algorithm as well as default implementations of initialization
and rendering algorithms that delegate actual work to concreate classes.
Supported API: true
Extendable: false
| Field Summary |
|---|
| Fields inherited from interface com.ptc.core.ca.co.client.address.CoAddressable |
|---|
ADDRESS |
| Method Summary | |
|---|---|
boolean |
canBePruned(CoEnvData envData)
Deprecated. Checks to see if an element can be removed from its parent without the loss of information. |
void |
default_draw(CoEnvData envData)
Deprecated. Implements the default drawing algorithm by calling default_init
and default_render methods. |
void |
default_init(CoEnvData envData)
Deprecated. Prepares the element for rendering as follows: Sets a mode of the element Updates the element's model. |
void |
draw(CoEnvData envData)
Deprecated. Method to be called by the parent element or its renderer to draw the element. |
CoAddress |
getAddress()
Deprecated. Gets the object for the association that plays role: address; the address of the element Supported API: true |
CoConfigFeature |
getConfiguration(CoEnvData envData)
Deprecated. Returns the configuration feature describing the element. |
CoFrame |
getFrame()
Deprecated. Returns the frame elemenet this element belongs to. |
CoContainer |
getParent()
Deprecated. Gets the object for the association that plays role: parent; the parent (container) of the element Supported API: true |
abstract void |
handleDrawError(Throwable t,
CoEnvData envData)
Deprecated. Implements algorithm to handle errors during the process of drawing the element. |
boolean |
isBeingRefreshed()
Deprecated. Checks to see if an element is in the process of being refreshed. |
abstract void |
render(CoEnvData envData)
Deprecated. Implements rendering algorithm specific to the element's type. |
void |
setAddress(CoAddress a_Address)
Deprecated. Sets the object for the association that plays role: address; the address of the element Supported API: true |
void |
setParent(CoContainer a_Parent)
Deprecated. Sets the object for the association that plays role: parent; the parent (container) of the element Supported API: true |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public CoContainer getParent()
public void setParent(CoContainer a_Parent)
a_Parent -
public CoConfigFeature getConfiguration(CoEnvData envData)
throws WTException
envData -
WTException
public final void draw(CoEnvData envData)
throws WTException
default_draw
is called.
envData -
WTException
public void default_draw(CoEnvData envData)
throws WTException
default_init
and default_render methods.
envData -
WTException
public void default_init(CoEnvData envData)
throws WTException
updateModel| method.
CoContainer
interface.
envData -
WTException
public abstract void render(CoEnvData envData)
throws WTException
envData -
WTException
public abstract void handleDrawError(Throwable t,
CoEnvData envData)
throws WTException
t - envData -
WTException
public CoFrame getFrame()
throws WTException
WTException
public boolean isBeingRefreshed()
throws WTException
WTException
public boolean canBePruned(CoEnvData envData)
throws WTException
envData -
WTExceptionpublic CoAddress getAddress()
getAddress in interface CoAddressablepublic void setAddress(CoAddress a_Address)
setAddress in interface CoAddressablea_Address -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||