com.ptc.core.ca.co.client.action
Class CoAction

java.lang.Object
  extended by com.ptc.core.ca.co.client.element.CoElement
      extended by com.ptc.core.ca.co.client.primitive.CoLabel
          extended by com.ptc.core.ca.co.client.action.CoAction
All Implemented Interfaces:
CoActionListManaged, CoAddressable, CoFacePlateHolder, CoModelDriven, com.ptc.core.ca.co.client.layout.CoLayoutManaged, CoListManaged, CoPropertyManaged, CoRowManaged, CoWizardStepManaged, Externalizable, Serializable
Direct Known Subclasses:
CoHyperLink, WebAction

Deprecated.

@Deprecated
public abstract class CoAction
extends CoLabel
implements CoRowManaged, CoActionListManaged, com.ptc.core.ca.co.client.layout.CoLayoutManaged, CoWizardStepManaged, CoFacePlateHolder, CoListManaged, CoPropertyManaged, Externalizable

CoAction provides a conceptual implementation of an action element.

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
 
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.
 void default_init(CoEnvData envData)
          Deprecated. Implements default initialization algorithm for an element.
 CoModel newModel()
          Deprecated. Does nothing.
 void updateModel(CoEnvData envData)
          Deprecated. Does nothing.
 
Methods inherited from class com.ptc.core.ca.co.client.primitive.CoLabel
getModel, setModel
 
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
 
Methods inherited from interface com.ptc.core.ca.co.client.element.CoModelDriven
getModel, setModel
 

Method Detail

default_init

public void default_init(CoEnvData envData)
                  throws WTException
Deprecated. 
Implements default initialization algorithm for an element. Delegates to CoActionHandler to do the actual work.

Supported API: true

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

updateModel

public void updateModel(CoEnvData envData)
                 throws WTException
Deprecated. 
Does nothing.

Supported API: true

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

newModel

public CoModel newModel()
Deprecated. 
Does nothing. Returns null.

Supported API: true

Specified by:
newModel in interface CoModelDriven
Overrides:
newModel in class CoLabel
Returns:
CoModel

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