Library | Package Java Toolkit

Interface WDisplay

package com.ptc.wfc.wfcDisplay;

public interface WDisplay
  extends com.ptc.pfc.pfcDisplay.Display



Description

Display and Grapchis related methods
Direct Known Subclasses:
WBaseSession



Method Summary
voidDrawPolylines (Polylines SetofPolyline)
     Draws a set of polylines on the screen
StdColorGetColorByObjectType (DisplayedType DispType)
     Retrieves the standard color used for the specified object type
ColorRGBAlternateSchemeGetColorRGBAlternateScheme ()
     Sets color scheme of Creo Parametric session
ColorRGBVersionGetColorRGBVersion ()
     Gets version of ColorRGB
/*optional*/ ColorRGBModifyGraphicsColor ( /*optional*/ ColorRGB Color)
     Changes the color used to draw any subsequent graphics
/*optional*/ ColorRGBModifyTextColor ( /*optional*/ ColorRGB Color)
     Changes the color used to draw any subsequent graphics window text color
voidSetColorRGBAlternateScheme (ColorRGBAlternateScheme Scheme)
     Sets color scheme of Creo Parametric session
voidSetColorRGBVersion (ColorRGBVersion Version)
     Sets version of ColorRGB

Methods Inherited from Interface com.ptc.pfc.pfcObject.Parent
GetChild

Methods Inherited from Interface com.ptc.pfc.pfcDisplay.Display
CreateDisplayList2D, Invalidate, DrawArc2D, DrawPolygon2D, DrawText2D, CreateDisplayList3D, DrawCircle, DrawLine, SetPenPosition, DrawPolyline, GetDefaultFont, GetCurrentFont, SetCurrentFont, GetFontById, GetFontByName, GetTextHeight, SetTextHeight, GetRotationAngle, SetRotationAngle, GetSlantAngle, SetSlantAngle, GetWidthFactor, SetWidthFactor, ResetTextAttributes, GetCurrentGraphicsMode, SetCurrentGraphicsMode, GetCurrentGraphicsColor, SetCurrentGraphicsColor

Method Detail

GetColorByObjectType

StdColorGetColorByObjectType (DisplayedType DispType)


     Retrieves the standard color used for the specified object type

Exceptions thrown (but not limited to):

XToolkitNotFound - No default color entry exists for this entity type.


Manual References:
Graphics: Setting Colors to Match Existing Entities
Parameters:
DispType
Type of object
Returns:
The color typically used by Creo to render the object


SetColorRGBAlternateScheme

voidSetColorRGBAlternateScheme (ColorRGBAlternateScheme Scheme)


     Sets color scheme of Creo Parametric session
Manual References:
Graphics: Color Schemes
Parameters:
Scheme
A Scheme
Returns:


GetColorRGBAlternateScheme

ColorRGBAlternateSchemeGetColorRGBAlternateScheme ()


     Sets color scheme of Creo Parametric session
Manual References:
Graphics: Color Schemes, Graphics: Color Schemes
Returns:
A Scheme


SetColorRGBVersion

voidSetColorRGBVersion (ColorRGBVersion Version)


     Sets version of ColorRGB
Manual References:
Graphics: Version of Color Map
Parameters:
Version
 
Returns:


GetColorRGBVersion

ColorRGBVersionGetColorRGBVersion ()


     Gets version of ColorRGB
Manual References:
Graphics: Version of Color Map, Graphics: Version of Color Map
Returns:
 


ModifyGraphicsColor

/*optional*/ ColorRGBModifyGraphicsColor ( /*optional*/ ColorRGB Color)


     Changes the color used to draw any subsequent graphics

Exceptions thrown (but not limited to):

XToolkitNoChange - The current color is the same as the new color.


Parameters:
Color
The new color to use when drawing a graphics entity. If this is null method returns existing color
Returns:
Modfified color


ModifyTextColor

/*optional*/ ColorRGBModifyTextColor ( /*optional*/ ColorRGB Color)


     Changes the color used to draw any subsequent graphics window text color

Exceptions thrown (but not limited to):

XToolkitNoChange - The current color is the same as the new color.


Parameters:
Color
The new color to use to display text. If this is null method returns existing color
Returns:
Modified color


DrawPolylines

voidDrawPolylines (Polylines SetofPolyline)


     Draws a set of polylines on the screen
Manual References:
Graphics: Displaying Graphics, Graphics: Displaying Graphics
Parameters:
SetofPolyline
A sequence of polyline
Returns: