| Library | Package | Frames | Expand | Java Toolkit |
| Method Summary | |
|---|---|
| void | Activate
()
Activates the window. |
| void | Clear
()
Clears the Creo Parametric window. |
| void | Close
()
Closes the window. |
| void | ExportRasterImage
(String ImageFileName, RasterImageExportInstructions Instructions)
Outputs a standard Creo Parametric raster output file. |
| double | GetBrowserSize
()
Returns the percentage of the graphics window covered by the embedded web browser. |
| double | GetGraphicsAreaHeight
()
Get method for attribute "GraphicsAreaHeight" The height of the Creo Parametric graphics window without the border. |
| double | GetGraphicsAreaWidth
()
Get method for attribute "GraphicsAreaWidth" The width of the Creo Parametric graphics window without the border |
| double | GetHeight
()
Get method for attribute "Height" The window height. The size is normalized to values from 0 to 1. |
| int | GetId
()
Retrieves the current window identifier. |
| /*optional*/ Model | GetModel
()
Get method for attribute "Model" The Creo Parametric model that owns the window. This attribute can be null, if there no model that currently owns the window. |
| ScreenTransform | GetScreenTransform
()
Get method for attribute "ScreenTransform" The pan and zoom matrix of the window. When you set a window's ScreenTransform, the window updates immediately. Currently, the Get() method only retreives the ScreenTransform object for the current Creo Parametric window. |
| String | GetURL
()
Returns the URL displayed in the embedded web browser. |
| double | GetWidth
()
Get method for attribute "Width" The width of the window. The size is normalized to values from 0 to 1. |
| double | GetXPos
()
Get method for attribute "XPos" The X position of the window. The position is normalized to values from0 to 1. |
| double | GetYPos
()
Get method for attribute "YPos" The Y position of the window. The position is normalized to values from0 to 1. |
| void | Refresh
()
Refreshes the screen. The function does not clear highlights. This is the most efficient function to use if you want to clear "temporary" graphics only. |
| void | Repaint
()
Repaints the window. This function enables you to perform several operations and update the view when necessary. |
| void | SetBrowserSize
(double BrowserSize)
Sets the percentage of the graphics window covered by the embedded web browser. |
| void | SetScreenTransform
(ScreenTransform value)
Set method for attribute "ScreenTransform" The pan and zoom matrix of the window. When you set a window's ScreenTransform, the window updates immediately. Currently, the Get() method only retreives the ScreenTransform object for the current Creo Parametric window. |
| void | SetURL
(String URL)
Sets the URL displayed in the embedded web browser. |
| Methods Inherited from Interface com.ptc.pfc.pfcObject.Child |
|---|
| GetDBParent, GetOId |
| Method Detail |
|---|
| GetHeight |
|---|
| double | GetHeight | () |
The window height. The size is normalized to values from 0 to 1.
|
| GetWidth |
|---|
| double | GetWidth | () |
The width of the window. The size is normalized to values from 0 to 1.
|
| GetXPos |
|---|
| double | GetXPos | () |
The X position of the window. The position is normalized to values from0 to 1.
|
| GetYPos |
|---|
| double | GetYPos | () |
The Y position of the window. The position is normalized to values from0 to 1.
|
| GetGraphicsAreaHeight |
|---|
| double | GetGraphicsAreaHeight | () |
| The height of the Creo Parametric graphics window without the border. The height is normalized to a value from 0 to 1.
|
| GetGraphicsAreaWidth |
|---|
| double | GetGraphicsAreaWidth | () |
| The width of the Creo Parametric graphics window without the border The width is normalized to a value from 0 to 1.
|
| GetScreenTransform/SetScreenTransform |
|---|
| ScreenTransform | GetScreenTransform | () |
| void | SetScreenTransform | (ScreenTransform value) |
| The pan and zoom matrix of the window. When you set a window's ScreenTransform, the window updates immediately.
Currently, the Get() method only retreives the ScreenTransform object for the current Creo Parametric window. Exceptions thrown (but not limited to): XToolkitBadContext - There is no current window.
|
| GetModel |
|---|
| /*optional*/ Model | GetModel | () |
The Creo Parametric model that owns the window. This attribute can be null, if there no model that currently owns the window.
|
| Clear |
|---|
| void | Clear | () |
Clears the Creo Parametric window.
|
| Repaint |
|---|
| void | Repaint | () |
Repaints the window. This function enables you to perform several operations
and update the view when necessary.
|
| Refresh |
|---|
| void | Refresh | () |
Refreshes the screen. The function does not clear
highlights. This is the most efficient function to use if you
want to clear "temporary" graphics only.
|
| Close |
|---|
| void | Close | () |
Closes the window.
Exceptions thrown (but not limited to): XToolkitBadContext - The window you are trying to delete is the current window. XToolkitDeadLock - The Creo Parametric user interface is not prepared to handle this request (because it is blocked by another process such as an OLE container activation).
|
| Activate |
|---|
| void | Activate | () |
| Activates the window.
This method only works in the asynchronous graphics mode. It will throw a XToolkitBadContext exception, if called in the non-graphic mode. Exceptions thrown (but not limited to): XToolkitBadContext - The function was called in RPC input (non-graphic) mode
|
| GetId |
|---|
| int | GetId | () |
Retrieves the current window identifier.
|
| ExportRasterImage |
|---|
| void | ExportRasterImage | (String ImageFileName, RasterImageExportInstructions Instructions) |
| Outputs a standard Creo Parametric raster output file.
Exceptions thrown (but not limited to): XToolkitNoPermission - The function does not have permission to operate on this model. XToolkitBadContext - The function is not available in Design Test Mode.
|
| SetURL |
|---|
| void | SetURL | (String URL) |
Sets the URL displayed in the embedded web browser.
|
| GetURL |
|---|
| String | GetURL | () |
Returns the URL displayed in the embedded web browser.
|
| GetBrowserSize |
|---|
| double | GetBrowserSize | () |
| Returns the percentage of the graphics window covered by the embedded web browser.
Not applicable if browser is open in separate window.
|
| SetBrowserSize |
|---|
| void | SetBrowserSize | (double BrowserSize) |
| Sets the percentage of the graphics window covered by the embedded web browser.
Not applicable if browser is open in separate window.
|