com.ptc.core.ca.co.client.property
Class CoProperty

java.lang.Object
  extended by com.ptc.core.ca.co.client.element.CoElement
      extended by com.ptc.core.ca.co.client.property.CoProperty
All Implemented Interfaces:
CoAddressable, CoContainer, CoFacePlateHolder, com.ptc.core.ca.co.client.element.CoModeDriven, CoModelDriven, com.ptc.core.ca.co.client.layout.CoLayoutManaged, CoListManaged, CoRowManaged, CoWizardStepManaged, Externalizable, Serializable
Direct Known Subclasses:
com.ptc.core.ca.co.client.propertyPanel.CoSeparatedProperty, WebProperty

Deprecated.

@Deprecated
public abstract class CoProperty
extends CoElement
implements CoContainer, CoRowManaged, CoFacePlateHolder, com.ptc.core.ca.co.client.element.CoModeDriven, com.ptc.core.ca.co.client.layout.CoLayoutManaged, CoWizardStepManaged, CoListManaged, Externalizable

This class implements conceptual property element.

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.ptc.core.ca.co.client.element.CoContainer
CHILDREN
 
Fields inherited from interface com.ptc.core.ca.co.client.element.CoModelDriven
MODEL
 
Fields inherited from interface com.ptc.core.ca.co.client.element.CoModelDriven
MODEL
 
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.
 CoElement createDynamicSubElement(String typeId, CoEnvData envData)
          Deprecated. Creates a dynamic sub-element.
 CoElement createStaticSubElement(CoConfigFeature subElementConfiguration, CoEnvData envData)
          Deprecated. Creates a static sub-element.
 void default_init(CoEnvData envData)
          Deprecated. Delegates model update to a property hander.
 Map getChildren()
          Deprecated. Gets the value of the attribute: children; the map of child elements.
 CoModel getModel()
          Deprecated. Gets the object for the association that plays role: model; the model of the element

Supported API: true
 CoModel newModel()
          Deprecated. Returns null.
 void pruneChildren(CoEnvData envData)
          Deprecated. Removes sub-elements that do not have to be maintained and can easily be restored during new drawing.
 void setChildren(Map a_Children)
          Deprecated. Sets the value of the attribute: children; the map of child elements.
 void setModel(CoModel a_Model)
          Deprecated. Sets the object for the association that plays role: model; the model of the element

Supported API: true
 void updateChildren(CoEnvData envData)
          Deprecated. Updates sub-elements.
 void updateModel(CoEnvData envData)
          Deprecated. Throws exception when property handler is not specified.
 
Methods inherited from class com.ptc.core.ca.co.client.element.CoElement
default_draw, draw, getAddress, getConfiguration, getFrame, getParent, handleDrawError, isBeingRefreshed, render, setAddress, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

default_init

public void default_init(CoEnvData envData)
                  throws WTException
Deprecated. 
Delegates model update to a property hander.

Supported API: true

Overrides:
default_init in class CoElement
Parameters:
envData -
Throws:
WTException

newModel

public CoModel newModel()
Deprecated. 
Returns null.

Supported API: true

Specified by:
newModel in interface CoModelDriven
Returns:
CoModel

updateModel

public void updateModel(CoEnvData envData)
                 throws WTException
Deprecated. 
Throws exception when property handler is not specified. The update of the model is delegated to a property handler.

Supported API: true

Specified by:
updateModel in interface CoModelDriven
Parameters:
envData -
Throws:
WTException

canBePruned

public boolean canBePruned(CoEnvData envData)
                    throws WTException
Deprecated. 
Checks to see if an element can be removed from its parent without the loss of information. An element usually can be pruned when it is completely configuration based like a label or an image.

Supported API: true

Overrides:
canBePruned in class CoElement
Parameters:
envData -
Returns:
boolean
Throws:
WTException

getModel

public CoModel getModel()
Deprecated. 
Gets the object for the association that plays role: model; the model of the element

Supported API: true

Specified by:
getModel in interface CoModelDriven
Returns:
CoModel

setModel

public void setModel(CoModel a_Model)
Deprecated. 
Sets the object for the association that plays role: model; the model of the element

Supported API: true

Specified by:
setModel in interface CoModelDriven
Parameters:
a_Model -

createStaticSubElement

public CoElement createStaticSubElement(CoConfigFeature subElementConfiguration,
                                        CoEnvData envData)
                                 throws WTException
Deprecated. 
Creates a static sub-element. Sub-element is considered to be static when its existence is solely defined by the configuration specification.

Supported API: true

Parameters:
subElementConfiguration -
envData -
Returns:
CoElement
Throws:
WTException

createDynamicSubElement

public CoElement createDynamicSubElement(String typeId,
                                         CoEnvData envData)
                                  throws WTException
Deprecated. 
Creates a dynamic sub-element. Sub-element is considered to be dynamic when its existence is defined by configuration specification and data from the data aqusition layer.

Supported API: true

Parameters:
typeId -
envData -
Returns:
CoElement
Throws:
WTException

pruneChildren

public void pruneChildren(CoEnvData envData)
                   throws WTException
Deprecated. 
Removes sub-elements that do not have to be maintained and can easily be restored during new drawing.

Supported API: true

Specified by:
pruneChildren in interface CoContainer
Parameters:
envData -
Throws:
WTException

updateChildren

public void updateChildren(CoEnvData envData)
                    throws WTException
Deprecated. 
Updates sub-elements. After the execution of the method the element's model and children map should contain sub-elements according to the configuration specification.

Supported API: true

Specified by:
updateChildren in interface CoContainer
Parameters:
envData -
Throws:
WTException

getChildren

public Map getChildren()
Deprecated. 
Gets the value of the attribute: children; the map of child elements. Adresses of child elements CoAddress are used as keys.

Supported API: true

Specified by:
getChildren in interface CoContainer
Returns:
Map

setChildren

public void setChildren(Map a_Children)
Deprecated. 
Sets the value of the attribute: children; the map of child elements. Adresses of child elements CoAddress are used as keys.

Supported API: true

Specified by:
setChildren in interface CoContainer
Parameters:
a_Children -