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

java.lang.Object
  extended by com.ptc.core.ca.co.client.element.CoElement
      extended by com.ptc.core.ca.co.client.table.CoRow
All Implemented Interfaces:
CoAddressable, CoInstanceChangeListener, CoCleanable, CoContainer, CoDynamic, CoInstanceHolder, CoModelDriven, CoCompositeTableManaged, CoSimpleTableManaged, CoTableManaged, Externalizable, Serializable
Direct Known Subclasses:
WebRow

Deprecated.

@Deprecated
public abstract class CoRow
extends CoElement
implements CoSimpleTableManaged, CoContainer, CoDynamic, CoCompositeTableManaged, Externalizable

The conceptual row element. The element maintains and represents a single I*E 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.CoDynamic
TRANSIENT_INSTANCE
 
Fields inherited from interface com.ptc.core.ca.co.client.element.CoCleanable
DIRTY
 
Fields inherited from interface com.ptc.core.ca.co.client.address.CoAddressable
ADDRESS
 
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.
 CoConfigFeature getConfiguration(CoEnvData envData)
          Deprecated. Returns the configuration feature for this element.
 CoInstance getInstance(CoEnvData envData)
          Deprecated. Returns the I*E element maintained by the this element wrapped into CoInstance object

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

Supported API: true
 CoInstance getTransientInstance()
          Deprecated. Gets the value of the attribute: transientInstance; the I*E element wrapped into CoInstance object that dymamic element will handle.
 boolean isDirty()
          Deprecated. Gets the value of the attribute: dirty; the flag indicating whether the element is out of date.
 CoModel newModel()
          Deprecated. Returns newly created model of CoDefaultRowModel class.
 void onChange(CoEnvData envData)
          Deprecated. Notifies CoElement that its data is obsolete.
 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 setInstance(CoInstance instance, CoEnvData envData)
          Deprecated. Sets the I*E element wrapped into CoInstance object to be maintained by the this element.
 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 setTransientInstance(CoInstance a_TransientInstance)
          Deprecated. Sets the value of the attribute: transientInstance; the I*E element wrapped into CoInstance object that dymamic element will handle.
 void updateChildren(CoEnvData envData)
          Deprecated. Updates sub-elements.
 void updateModel(CoEnvData envData)
          Deprecated. Creates and updates the model of the element.
 
Methods inherited from class com.ptc.core.ca.co.client.element.CoElement
canBePruned, default_draw, default_init, draw, getAddress, 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

getInstance

public CoInstance getInstance(CoEnvData envData)
                       throws WTException
Deprecated. 
Returns the I*E element maintained by the this element wrapped into CoInstance object

Supported API: true

Specified by:
getInstance in interface CoInstanceHolder
Parameters:
envData -
Returns:
CoInstance
Throws:
WTException

setInstance

public void setInstance(CoInstance instance,
                        CoEnvData envData)
                 throws WTException
Deprecated. 
Sets the I*E element wrapped into CoInstance object to be maintained by the this element.

Supported API: true

Specified by:
setInstance in interface CoInstanceHolder
Parameters:
instance -
envData -
Throws:
WTException

onChange

public void onChange(CoEnvData envData)
              throws WTException
Deprecated. 
Notifies CoElement that its data is obsolete.

Supported API: true

Specified by:
onChange in interface CoInstanceChangeListener
Parameters:
envData -
Throws:
WTException

newModel

public CoModel newModel()
Deprecated. 
Returns newly created model of CoDefaultRowModel class.

Supported API: true

Specified by:
newModel in interface CoModelDriven
Returns:
CoModel

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

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 and data from the data aquisition layer.

Supported API: true

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

getConfiguration

public CoConfigFeature getConfiguration(CoEnvData envData)
                                 throws WTException
Deprecated. 
Returns the configuration feature for this element.

Supported API: true

Overrides:
getConfiguration in class CoElement
Parameters:
envData -
Returns:
CoConfigFeature
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

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 -

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 -

getTransientInstance

public CoInstance getTransientInstance()
Deprecated. 
Gets the value of the attribute: transientInstance; the I*E element wrapped into CoInstance object that dymamic element will handle.

Supported API: true

Specified by:
getTransientInstance in interface CoDynamic
Returns:
CoInstance

setTransientInstance

public void setTransientInstance(CoInstance a_TransientInstance)
Deprecated. 
Sets the value of the attribute: transientInstance; the I*E element wrapped into CoInstance object that dymamic element will handle.

Supported API: true

Specified by:
setTransientInstance in interface CoDynamic
Parameters:
a_TransientInstance -

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 -