All Frameworks Class Hierarchy This Framework Previous Next Indexes
CATSchPlatformInterfaces Interface CATISchCompGraphic
System.IUnknown
|
+---CATISchCompGraphic
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATISchCompGraphic
Interface to manage Schematic component's association with its
graphical representations.
Role: To modify component's links to its
graphical representations.
Method Index
- o
Activate(char*,double*,CATISchGRRComp**)
-
- o
Activate2(CATUnicodeString&,double*,CATISchGRRComp**)
- To add a new image to an existing object.
- o
AddGraphicalRepresentation(CATISchGRRComp*)
- Add a graphical representation to a component.
- o
Deactivate(CATISchGRRComp*)
- To remove an image to an existing object.
- o
ListGraphicalImages(CATIUnknownList**)
- List all graphical images (instances of the rep) of a component.
- o
ListGraphicalRepresentations(CATIUnknownList**)
- List all graphical representation of a component.
- o
RemoveGraphicalRepresentation(CATISchGRRComp*)
- Remove a graphical representation from a component.
- o
Switch(CATISchGRRComp*,char*,CATISchGRRComp**)
-
- o
Switch2(CATISchGRRComp*,CATUnicodeString&,CATISchGRRComp**)
- Replace the input image object with an image of the graphical.
- o
SwitchAll(char*)
-
- o
SwitchAll2(CATUnicodeString&)
- Replace all occurances of the images of this component with those of
the graphical representation with the input name.
Methods
o Activate
-
- Deprecated:
- V5R15
Use
CATISchCompGraphic.Activate2 instead. To add a new image to an existing object. This new image is
an instance of graphical representation with the input
name.
- Parameters:
-
- iGRRName
- The name of the graphic representation
- iDb2WhereAt
- The x-y coordinates of the image position. If NULL, the image
will be positioned at the origin.
- oGRR
- Pointer to the new graphical image of the component.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
o Activate2
-
To add a new image to an existing object. This new image is
an instance of graphical representation with the input
name.
- Parameters:
-
- iGRRName
- The name of the graphic representation
- iDb2WhereAt
- The x-y coordinates of the image position. If NULL, the image
will be positioned at the origin.
- oGRR
- Pointer to the new graphical image of the component.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
o AddGraphicalRepresentation
-
Add a graphical representation to a component.
- Parameters:
-
- iGRRToAdd
- The graphical representation to be added to the component.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
o Deactivate
-
To remove an image to an existing object.
- Parameters:
-
- iGRR
- The graphical image to be removed from the component.
- iDb2WhereAt
- The x-y coordinates of the image position. If NULL, the image
will be positioned at the origin.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
o ListGraphicalImages
-
List all graphical images (instances of the rep) of a component.
- Parameters:
-
- oLGRR
- A list of graphical images
(members are CATISchGRRComp interface pointers).
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
o ListGraphicalRepresentations
-
List all graphical representation of a component.
- Parameters:
-
- oLGRR
- A list of graphical representations
(members are CATISchGRRComp interface pointers).
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
o RemoveGraphicalRepresentation
-
Remove a graphical representation from a component.
- Parameters:
-
- iGRRToRemove
- The graphical representation to be removed from the component.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
o Switch
-
- Deprecated:
- V5R15
Use
CATISchCompGraphic.Switch2 instead. Replace the input image object with an image of the graphical.
representation with the input name
- Parameters:
-
- iGRR
- Pointer to the component graphical image to be switched.
- oGRR
- Pointer to the new graphical image of the component.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
o Switch2
-
Replace the input image object with an image of the graphical.
representation with the input name
- Parameters:
-
- iGRR
- Pointer to the component graphical image to be switched.
- oGRR
- Pointer to the new graphical image of the component.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
o SwitchAll
public virtual HRESULT SwitchAll( | const char* | iGRRName) = 0 |
-
- Deprecated:
- V5R15
Use
CATISchCompGraphic.SwitchAll2 instead. Replace all occurances of the images of this component with those of
the graphical representation with the input name.
- Parameters:
-
- iGRRName
- The name of the graphical representation
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
o SwitchAll2
-
Replace all occurances of the images of this component with those of
the graphical representation with the input name.
- Parameters:
-
- iGRRName
- The name of the graphical representation
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
This object is included in the file: CATISchCompGraphic.h