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

java.lang.Object
  extended by com.ptc.core.ca.co.client.tree.CoAbstractTreeModel
All Implemented Interfaces:
CoComponentModel, CoFooterHolderModel, CoModel, CoSelectorModel, CoTableLookLikeModel, CoTreeModel, Externalizable, Serializable
Direct Known Subclasses:
CoCompositeTreeModel

Deprecated.

@Deprecated
public abstract class CoAbstractTreeModel
extends Object
implements CoTreeModel, Externalizable



Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.ptc.core.ca.co.client.tree.CoTreeModel
COLUMNS, ROOT_NODE, ROOT_NODE_INSTANCE, SHOW_ROOT_NODE
 
Fields inherited from interface com.ptc.core.ca.co.client.selection.CoSelectorModel
SELECTOR_TYPE
 
Fields inherited from interface com.ptc.core.ca.co.client.element.CoModel
ELEMENT
 
Fields inherited from interface com.ptc.core.ca.co.client.component.CoComponentModel
EXPANDED, WAS_EXPANDED
 
Fields inherited from interface com.ptc.core.ca.co.client.element.CoModel
ELEMENT
 
Fields inherited from interface com.ptc.core.ca.co.client.element.CoFooterHolderModel
FOOTER
 
Fields inherited from interface com.ptc.core.ca.co.client.element.CoModel
ELEMENT
 
Fields inherited from interface com.ptc.core.ca.co.client.table.CoTableLookLikeModel
ROW_INDEX
 
Fields inherited from interface com.ptc.core.ca.co.client.element.CoModel
ELEMENT
 
Method Summary
 ArrayList getColumns()
          Deprecated. Gets the value of the attribute: columns; the list of column elements representing column headers

Supported API: true
 CoModelDriven getElement()
          Deprecated. Gets the object for the association that plays role: element; the element this model belongs to

Supported API: true
 CoSimpleLayout getFooter()
          Deprecated. Gets the value of the attribute: footer; the footer

Supported API: true
 CoTreeNode getRootNode()
          Deprecated. Gets the value of the attribute: rootNode; the root node of a tree

Supported API: true
 CoTreeNodeInstance getRootNodeInstance()
          Deprecated. Gets the value of the attribute: rootNodeInstance; the root node of the data tree.
 int getRowIndex()
          Deprecated. Gets the value of the attribute: rowIndex; the index of the row being drawn

Supported API: true
 CoSelectorType getSelectorType()
          Deprecated. Gets the value of the attribute: selectorType; the type of selector the element is configured to support.
 void init(CoEnvData envData)
          Deprecated. The method responsible for the initialization of the model.
 boolean isExpanded()
          Deprecated. Gets the value of the attribute: expanded; the expansion status of the component.
 boolean isShowRootNode()
          Deprecated. Gets the value of the attribute: showRootNode; the flag indicating whether root node is presented to the user.
 boolean isWasExpanded()
          Deprecated. Gets the value of the attribute: wasExpanded; the expansion status of the component in the past.
 void setColumns(ArrayList a_Columns)
          Deprecated. Sets the value of the attribute: columns; the list of column elements representing column headers

Supported API: true
 void setElement(CoModelDriven a_Element)
          Deprecated. Sets the object for the association that plays role: element; the element this model belongs to

Supported API: true
 void setExpanded(boolean a_Expanded)
          Deprecated. Sets the value of the attribute: expanded; the expansion status of the component.
 void setFooter(CoSimpleLayout a_Footer)
          Deprecated. Sets the value of the attribute: footer; the footer

Supported API: true
 void setRootNode(CoTreeNode a_RootNode)
          Deprecated. Sets the value of the attribute: rootNode; the root node of a tree

Supported API: true
 void setRootNodeInstance(CoTreeNodeInstance a_RootNodeInstance)
          Deprecated. Sets the value of the attribute: rootNodeInstance; the root node of the data tree.
 void setRowIndex(int a_RowIndex)
          Deprecated. Sets the value of the attribute: rowIndex; the index of the row being drawn

Supported API: true
 void setSelectorType(CoSelectorType a_SelectorType)
          Deprecated. Sets the value of the attribute: selectorType; the type of selector the element is configured to support.
 void setShowRootNode(boolean a_ShowRootNode)
          Deprecated. Sets the value of the attribute: showRootNode; the flag indicating whether root node is presented to the user.
 void setWasExpanded(boolean a_WasExpanded)
          Deprecated. Sets the value of the attribute: wasExpanded; the expansion status of the component in the past.
 void update(CoEnvData envData)
          Deprecated. The method responsible for the update of the model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public void init(CoEnvData envData)
          throws WTException
Deprecated. 
The method responsible for the initialization of the model.

Supported API: true

Specified by:
init in interface CoModel
Parameters:
envData -
Throws:
WTException

update

public void update(CoEnvData envData)
            throws WTException
Deprecated. 
The method responsible for the update of the model.

Supported API: true

Specified by:
update in interface CoModel
Parameters:
envData -
Throws:
WTException

getColumns

public ArrayList getColumns()
Deprecated. 
Gets the value of the attribute: columns; the list of column elements representing column headers

Supported API: true

Specified by:
getColumns in interface CoTreeModel
Returns:
ArrayList

setColumns

public void setColumns(ArrayList a_Columns)
Deprecated. 
Sets the value of the attribute: columns; the list of column elements representing column headers

Supported API: true

Specified by:
setColumns in interface CoTreeModel
Parameters:
a_Columns -

getRootNode

public CoTreeNode getRootNode()
Deprecated. 
Gets the value of the attribute: rootNode; the root node of a tree

Supported API: true

Specified by:
getRootNode in interface CoTreeModel
Returns:
CoTreeNode

setRootNode

public void setRootNode(CoTreeNode a_RootNode)
Deprecated. 
Sets the value of the attribute: rootNode; the root node of a tree

Supported API: true

Specified by:
setRootNode in interface CoTreeModel
Parameters:
a_RootNode -

getRootNodeInstance

public CoTreeNodeInstance getRootNodeInstance()
Deprecated. 
Gets the value of the attribute: rootNodeInstance; the root node of the data tree. The tree of conceptual elements is built and maintained based on the data tree.

Supported API: true

Specified by:
getRootNodeInstance in interface CoTreeModel
Returns:
CoTreeNodeInstance

setRootNodeInstance

public void setRootNodeInstance(CoTreeNodeInstance a_RootNodeInstance)
Deprecated. 
Sets the value of the attribute: rootNodeInstance; the root node of the data tree. The tree of conceptual elements is built and maintained based on the data tree.

Supported API: true

Specified by:
setRootNodeInstance in interface CoTreeModel
Parameters:
a_RootNodeInstance -

isShowRootNode

public boolean isShowRootNode()
Deprecated. 
Gets the value of the attribute: showRootNode; the flag indicating whether root node is presented to the user.

Supported API: true

Specified by:
isShowRootNode in interface CoTreeModel
Returns:
boolean

setShowRootNode

public void setShowRootNode(boolean a_ShowRootNode)
Deprecated. 
Sets the value of the attribute: showRootNode; the flag indicating whether root node is presented to the user.

Supported API: true

Specified by:
setShowRootNode in interface CoTreeModel
Parameters:
a_ShowRootNode -

getSelectorType

public CoSelectorType getSelectorType()
Deprecated. 
Gets the value of the attribute: selectorType; the type of selector the element is configured to support.

Supported API: true

Specified by:
getSelectorType in interface CoSelectorModel
Returns:
CoSelectorType

setSelectorType

public void setSelectorType(CoSelectorType a_SelectorType)
Deprecated. 
Sets the value of the attribute: selectorType; the type of selector the element is configured to support.

Supported API: true

Specified by:
setSelectorType in interface CoSelectorModel
Parameters:
a_SelectorType -

getElement

public CoModelDriven getElement()
Deprecated. 
Gets the object for the association that plays role: element; the element this model belongs to

Supported API: true

Specified by:
getElement in interface CoModel
Returns:
CoModelDriven

setElement

public void setElement(CoModelDriven a_Element)
Deprecated. 
Sets the object for the association that plays role: element; the element this model belongs to

Supported API: true

Specified by:
setElement in interface CoModel
Parameters:
a_Element -

isExpanded

public boolean isExpanded()
Deprecated. 
Gets the value of the attribute: expanded; the expansion status of the component. Equals to 'true' when component is expanded.

Supported API: true

Specified by:
isExpanded in interface CoComponentModel
Returns:
boolean

setExpanded

public void setExpanded(boolean a_Expanded)
Deprecated. 
Sets the value of the attribute: expanded; the expansion status of the component. Equals to 'true' when component is expanded.

Supported API: true

Specified by:
setExpanded in interface CoComponentModel
Parameters:
a_Expanded -

isWasExpanded

public boolean isWasExpanded()
Deprecated. 
Gets the value of the attribute: wasExpanded; the expansion status of the component in the past. Equals to 'true' when component was expanded.

Supported API: true

Specified by:
isWasExpanded in interface CoComponentModel
Returns:
boolean

setWasExpanded

public void setWasExpanded(boolean a_WasExpanded)
Deprecated. 
Sets the value of the attribute: wasExpanded; the expansion status of the component in the past. Equals to 'true' when component was expanded.

Supported API: true

Specified by:
setWasExpanded in interface CoComponentModel
Parameters:
a_WasExpanded -

getFooter

public CoSimpleLayout getFooter()
Deprecated. 
Gets the value of the attribute: footer; the footer

Supported API: true

Specified by:
getFooter in interface CoFooterHolderModel
Returns:
CoSimpleLayout

setFooter

public void setFooter(CoSimpleLayout a_Footer)
Deprecated. 
Sets the value of the attribute: footer; the footer

Supported API: true

Specified by:
setFooter in interface CoFooterHolderModel
Parameters:
a_Footer -

getRowIndex

public int getRowIndex()
Deprecated. 
Gets the value of the attribute: rowIndex; the index of the row being drawn

Supported API: true

Specified by:
getRowIndex in interface CoTableLookLikeModel
Returns:
int

setRowIndex

public void setRowIndex(int a_RowIndex)
Deprecated. 
Sets the value of the attribute: rowIndex; the index of the row being drawn

Supported API: true

Specified by:
setRowIndex in interface CoTableLookLikeModel
Parameters:
a_RowIndex -