com.ptc.core.ca.co.client.table
Class CoTable

java.lang.Object
  extended by com.ptc.core.ca.co.client.element.CoElement
      extended by com.ptc.core.ca.co.client.table.CoTable
All Implemented Interfaces:
CoAddressable, CoComponent, CoCleanable, CoContainer, CoFooterHolder, CoInstanceListHolder, 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:
CoCompositeTable, CoSimpleTable

Deprecated.

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

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

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.ptc.core.ca.co.client.address.CoAddressable
ADDRESS
 
Fields inherited from interface com.ptc.core.ca.co.client.selection.CoSelector
SELECTED
 
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.element.CoModelDriven
MODEL
 
Fields inherited from interface com.ptc.core.ca.co.client.element.CoCleanable
DIRTY
 
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
 
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.
 ArrayList getInstanceList(CoEnvData envData)
          Deprecated. Returns the list of CoInstance objects maintained by this 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 setInstanceList(ArrayList instanceList, CoEnvData envData)
          Deprecated. Sets the list of CoInstance objects to be maintained by this table.
 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-element of this table element.
 void updateModel(CoEnvData envData)
          Deprecated. Creates and updates the model of the element.
protected  void updateRows(Map map, CoEnvData envData)
          Deprecated. Updates row sub-elements of this table.
 
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
 
Methods inherited from interface com.ptc.core.ca.co.client.element.CoModelDriven
newModel
 
Methods inherited from interface com.ptc.core.ca.co.client.element.CoModelDriven
newModel
 
Methods inherited from interface com.ptc.core.ca.co.client.element.CoModelDriven
newModel
 
Methods inherited from interface com.ptc.core.ca.co.client.element.CoModelDriven
newModel
 
Methods inherited from interface com.ptc.core.ca.co.client.element.CoModelDriven
newModel
 

Method Detail

getInstanceList

public ArrayList getInstanceList(CoEnvData envData)
                          throws WTException
Deprecated. 
Returns the list of CoInstance objects maintained by this table.

Supported API: true

Specified by:
getInstanceList in interface CoInstanceListHolder
Parameters:
envData -
Returns:
ArrayList
Throws:
WTException

setInstanceList

public void setInstanceList(ArrayList instanceList,
                            CoEnvData envData)
                     throws WTException
Deprecated. 
Sets the list of CoInstance objects to be maintained by this table.

Supported API: true

Specified by:
setInstanceList in interface CoInstanceListHolder
Parameters:
instanceList -
envData -
Throws:
WTException

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

updateColumns

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

Supported API: true

Parameters:
map -
envData -
Throws:
WTException

updateRows

protected void updateRows(Map map,
                          CoEnvData envData)
                   throws WTException
Deprecated. 
Updates row sub-elements of this table.

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

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 -

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 -

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 -