com.ptc.core.ca.co.client.tree
Class CoTree

java.lang.Object
  extended by com.ptc.core.ca.co.client.element.CoElement
      extended by com.ptc.core.ca.co.client.tree.CoTree
All Implemented Interfaces:
CoAddressable, CoComponent, CoCleanable, CoContainer, CoFooterHolder, com.ptc.core.ca.co.client.element.CoModeDriven, CoModelDriven, CoFrameManaged, com.ptc.core.ca.co.client.layout.CoLayoutManaged, CoListManaged, CoSelector, CoTableLookLike, CoWizardStepManaged, Externalizable, Serializable
Direct Known Subclasses:
CoCompositeTree

Deprecated.

@Deprecated
public abstract class CoTree
extends CoElement
implements CoComponent, com.ptc.core.ca.co.client.element.CoModeDriven, CoContainer, CoSelector, CoFrameManaged, com.ptc.core.ca.co.client.layout.CoLayoutManaged, CoWizardStepManaged, CoListManaged, CoCleanable, CoFooterHolder, CoTableLookLike, Externalizable

This class is used to externalize the basic methods of different implementation of conceptual tree elements.

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.ptc.core.ca.co.client.selection.CoSelector
SELECTED
 
Fields inherited from interface com.ptc.core.ca.co.client.address.CoAddressable
ADDRESS
 
Fields inherited from interface com.ptc.core.ca.co.client.element.CoCleanable
DIRTY
 
Method Summary
 CoElement createDynamicSubElement(String typeId, CoEnvData envData)
          Deprecated. Creates a dynamic sub-element.
 CoElement createStaticSubElement(CoConfigFeature subElementConfiguration, CoEnvData envData)
          Deprecated. Creates a static sub-element.
 Map getChildren()
          Deprecated. Gets the value of the attribute: children; the map of child elements.
protected abstract  ArrayList getColumnsConfiguration(CoEnvData envData)
          Deprecated. Returns a list of configuration features describing colums of the table.
 CoModel getModel()
          Deprecated. Gets the object for the association that plays role: model; the model of the element

Supported API: true
 ArrayList getSelected()
          Deprecated. Gets the value of the attribute: selected; the list of selected descendent sub-elements.
 boolean isDirty()
          Deprecated. Gets the value of the attribute: dirty; the flag indicating whether the element is out of date.
 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 setDirty(boolean a_Dirty)
          Deprecated. Sets the value of the attribute: dirty; the flag indicating whether the element is out of date.
 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 setSelected(ArrayList a_Selected)
          Deprecated. Sets the value of the attribute: selected; the list of selected descendent sub-elements.
protected  void updateColumns(Map map, CoEnvData envData)
          Deprecated. Updates column sub-elements of this tree element.
 void updateModel(CoEnvData envData)
          Deprecated. Creates and updates the model of the element.
protected  void updateRootNode(Map map, CoEnvData envData)
          Deprecated. Updates root node element of this tree element.
 
Methods inherited from class com.ptc.core.ca.co.client.element.CoElement
canBePruned, default_draw, default_init, 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
 
Methods inherited from interface com.ptc.core.ca.co.client.address.CoAddressable
getAddress, setAddress
 

Method Detail

updateModel

public void updateModel(CoEnvData envData)
                 throws WTException
Deprecated. 
Creates and updates the model of the element.

Supported API: true

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

getColumnsConfiguration

protected abstract ArrayList getColumnsConfiguration(CoEnvData envData)
                                              throws WTException
Deprecated. 
Returns a list of configuration features describing colums of the table.

Supported API: true

Parameters:
envData -
Returns:
ArrayList
Throws:
WTException

updateColumns

protected void updateColumns(Map map,
                             CoEnvData envData)
                      throws WTException
Deprecated. 
Updates column sub-elements of this tree element.

Supported API: true

Parameters:
map -
envData -
Throws:
WTException

updateRootNode

protected void updateRootNode(Map map,
                              CoEnvData envData)
                       throws WTException
Deprecated. 
Updates root node element of this tree element.

Supported API: true

Parameters:
map -
envData -
Throws:
WTException

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

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 -

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 -

getSelected

public ArrayList getSelected()
Deprecated. 
Gets the value of the attribute: selected; the list of selected descendent sub-elements.

Supported API: true

Specified by:
getSelected in interface CoSelector
Returns:
ArrayList

setSelected

public void setSelected(ArrayList a_Selected)
Deprecated. 
Sets the value of the attribute: selected; the list of selected descendent sub-elements.

Supported API: true

Specified by:
setSelected in interface CoSelector
Parameters:
a_Selected -

isDirty

public boolean isDirty()
Deprecated. 
Gets the value of the attribute: dirty; the flag indicating whether the element is out of date.

Supported API: true

Specified by:
isDirty in interface CoCleanable
Returns:
boolean

setDirty

public void setDirty(boolean a_Dirty)
Deprecated. 
Sets the value of the attribute: dirty; the flag indicating whether the element is out of date.

Supported API: true

Specified by:
setDirty in interface CoCleanable
Parameters:
a_Dirty -