API Documentation > Interfaces > Interface ExternalObject
Interface ExternalObject

package com.ptc.wfc.wfcExternalObject;

public interface
ExternalObject
extends
jxobject


Description
This interface provides access to external objects Interface has methods to add,delete and modify data required for external objects
Method Summary
void
Adds data to an external object
Gets external object's data.
NOTE: Currently, GetData cannot retrieve a sequence of colors set using ExternalObjectDisplayData::SetEntityColors.
These color values are returned as pfcCOLOR_CURVE. This functionality is reserved for future use.
Retrieves the owner of an existing external object.
void
Modifies data of an external object
void
Removes data from an external object
Method Detail
AddData
void
AddData
Adds data to an external object
User Guide References:
Parameters:
Data
External object data to add
Returns:
RemoveData
void
RemoveData
Removes data from an external object
User Guide References:
Parameters:
Type
Type of the data to remove e.g. display data or selection data
Returns:
ModifyData
void
ModifyData
Modifies data of an external object
User Guide References:
Parameters:
Data
Modified external object data
Returns:
Gets external object's data.
NOTE: Currently, GetData cannot retrieve a sequence of colors set using ExternalObjectDisplayData::SetEntityColors.
These color values are returned as pfcCOLOR_CURVE. This functionality is reserved for future use.
User Guide References:
Parameters:
Type
Type of the data to remove e.g. display data or selection data
Returns:
Data of an external object
GetOwner
GetOwner
()
Retrieves the owner of an existing external object.
Exceptions thrown (but not limited to):
XToolkitNotFound - The owner was not found.
User Guide References:
Returns:
The pfcModelItem::ModelItem owner object
GetClass
GetClass
()
User Guide References:
Returns:
Was this helpful?