Methods Index

These methods are described in the Perspective for Java Methods Guide.

Return Value

Method

Description

void

addErrorListener()

Add an error listener

void

addPerspectiveListener()

Add a perspective listener

void

announceLicense()

Send license information to SysOut

void

askForRelease()

Ask Java to reclaim memory used by Perspective

void

calcWithoutDrawing()

Calculate without drawing the graph (PGSDK DryRunTheGraph())

void

clearDataLabels()

Clear labels from the look, not the data

void

clearDataStorage()

Clear all data storage from a chart

void

clearGroupLabels()

Clear group labels from the chart

void

clearSeriesLabels()

Clear series labels from the chart

void

clearZoomList()

Clear the current zoom list

TDGImageMap

copyImageMap()

Creates a copy of an ImageMap.

double

dateInMillisecs()

Returns the date in milliseconds

void

deleteGroup()

Delete a group and update the display

void

deleteSeries()

Delete a series and update the display

void

doZoomIn()

Zoom in on the chart

void

doZoomOut()

Zoom out from the chart

String

getAlertLabel()

Return a series alert label from a gantt chart

int

getAltFmtFrameNumColors()

Get number of alternate formatting sections/colors

double

getAltFmtFrameSeparator()

Get alternate formatting frame separator

boolean

getAnnotationsDisplay()

Determine if annotations are displayed

Applet

getApplet()

Used by Java development to get the context for the Perspective applet

boolean

getAutofit()

Get autofit mode

int

getAutoSkip()

Get label automatic skip mode

int

getAxisAssignment()

Get axis assignment

boolean

getAxisDescending()

Get axis descending

int

getAxisOffset()

Get axis offset value for Multi-Y chart

int

getAxisSide()

Get axis side

int

getAxisSize()

Get axis size value for Multi-Y chart

color

getBorderColor()

Get the border color of an object

int

getBorderType()

Get the border type

int

getBottomInset()

Get the bottom insets of a border

boolean

getChartDataValid()

Determine if chart data is valid

boolean

getChartFromFTP()

Get a chart from an FTP server

Dimension

getContainerSize

Get the size of the container in which the chart resides

int

getCornerArcHeight()

Get the corner arc height of an border

int

getCornerArcWidth()

Get the corner arc width of an border

Matrix3d

getCubeRotationMatrix()

Get the rotation matrix of the 3D cube

double

getCurrentDate()

Get the current date in a gantt chart

int

getCurveFitPolynomialOrder()

Get polynomial order for a curve fit line.

int

getCurveFitType()

Get the curve fit type.

boolean

getCustomDataText()

Get custom data text

double

getDataAsDouble()

Get data at row/col as double

String

getDataAsString()

Get data at row/col as a string

int

getDataCoord()

Get data coordinates

double

getDataFromCoord()

Get data from coordinates

TDGDataGrid

getDataGridCallback()

Get the TDGDataGrid interface defined by setDataFromDataGrid()

String

getDataLabel()

Get the data label at series/group

Rectangle

getDataRange()

Get the range of data in a chart

int

getDataTextAngle()

Get data text angle

int

getDataTextRadius()

Get data text radius

double

getDataValue()

Get data value assigned to the object identified by id

boolean

getDisplay()

Get the display mode of an object

boolean

getDisplayOffScale()

Get display offscale mode

URL

getDocumentBase()

Get document URL

int

getDocumentHeightInPoints()

Get document height in points

int

getDocumentWidthInPoints()

Get document width in points

boolean

getDrawTicksPerpendicular()

Get draw ticks perpendicular setting

int

getEffectiveColorMode()

Returns the actual color mode used.

int

getEffectiveGroupOffset()

Get the effective group offset

int

getEffectiveSeriesOffset()

Get the effective series offset

int

getEffectiveViewableGroups()

Get the effective number of viewable groups

int

getEffectiveViewableSeries()

Get the effective number of viewable series

double

getEndDate()

Get the end date in a gantt chart

Hashtable

getExceptionalRisers()

Determine if there are any exceptional risers

boolean

getExcludeMaxLabel()

Determine if maximum label is imaged on an axis

boolean

getExcludeMinLabel()

Determine if minimum label is imaged on an axis

Color

getFillColor()

Get fill color

int

getFillType()

Get fill type

String

getFontName()

Get the font name assigned to a text object

int

getFontSize()

Get the font size in destination coordinates.

boolean

getFontSizeAbsolute()

Get font size absolute setting

int

getFontSizeInPoints()

Get font size in points

int

getFontSizeVC()

Get the font size in virtual coordinates

int

getFontStyle()

Get the font style of a text object

Point

getFrameDepthOffset()

Get frame depth offset

Rectangle

getFrameRect()

Get the size and location of the chart frame

double

getGaugeAlphaChannel()

Get the transparency assigned to a gauge object

double

getGaugeBandMax()

Get the maximum value of a gauge band

double

getGaugeBandMin()

Get the minimum value of a gauge band

int

getGradientDirection()

Get the gradient direction

int

getGradientNumPins()

Get the number of pins in a gradient

Color

getGradientPinLeftColor()

Get the left color used by the gradient pin

double

getGradientPinPosition()

Get the gradient pin position

Color

getGradientPinRightColor()

Get the right color used by the gradient pin

int

getGridCount()

Get grid count

double

getGridStep()

Get number of grid steps on an axis

boolean

getGridStepAuto()

Determine if grid steps are automatically calculated

int

getGridStyle()

Get style of grid lines assigned to an axis

String

getGroupLabel()

Get a group label

boolean

getIgnoreSeries()

Determine if a series is ignored

boolean

getLabelStagger()

Determine if staggered labels are used

int

getLeftInset()

Get the left insets of a border

int

getLegendMinWidth()

Get the minimum legend width

Rectangle

getLegendRect()

Get the size and location of the legend area

String

getLevelDateFormat()

Get level date format for time scale axis

Color

getLevelFillColor()

Get level fill color for time scale axis

int

getLevelHeight()

Get level height for time scale axis

int

getLevelInterval()

Get level interval for time scale axis

int

getLevelTextFormat()

Get level test format for time scale axis

int

getLineBasicStrokeType()

Get a Java 2D line object's basic stroke type

int

getLineCap()

Get a Java 2D line object's cap style

Vector

getLineDash()

Get a Java 2D line object's dash definition as a vector

float[]

getLineDashFloat()

Get a Java 2D line object's dash definition as a floating point array

float

getLineDashPhase()

Get a Java 2D line object's dash offset

int

getLineJoin()

Get a Java 2D line object's join style

float

getLineMiterLimit()

Get a Java 2D line object's line miter limit

int

getLineWidth()

Get the width of a line

Locale

getLocale()

Inherited by Perspective from Java Components

boolean

getLogScale()

Get logarithmic/linear scaling assigned to an axis

double

getLogScaleBase()

Get logarithmic scale base

int

getMarkerShape()

Get marker shape

int

getMarkerSize()

Get marker size

MarkerTemplate

getMarkerTemplate()

Get a marker template

int

getMaxNumAnnotations()

Get the maxinum number of notations

Dimension

getMinimumSize()

Get the minimum size of a chart

int

getMinNumGroups()

Get minimum # of groups for this graph type

int

getMinNumSeries()

Get minimum # of series for the graph type.

long

getMillisFromDate()

Returns the current date as a long

int

getNextMarkerTemplateSlot()

Get the next marker template slot

boolean

getNonZeroBaseline()

Get the designated baseline

double

getNonZeroBaselineValue()

Get the designated non-zero baseline value

NumberFormat CallBack

getNumberFormatCallBack()

Get the NumberFormatCallBack assigned by setNumberFormatCallBack()

int

getNumColumnsInGroup()

Get # of columns in a group for this graphtype

int

getNumGroups()

Get the number of groups in the chart

int

getNumNonIgnoredSeries();

Get the number of the series in the chart that are not ignored.

int

getNumSeries()

Get the number of series in the chart

int

getNumTotalGroups()

Get the total number of groups in the chart

int

getNumTotalSeries()

Get the total number of series in the chart

TDGNestedLabel

getO1LabelCallBack()

Get the value assigned to the O1 nested labels callback

boolean

getPieSliceDelete()

Determine if a pie slice is deleted

int

getPieSliceDetach()

Determine if a pie slice is detached

int

getPlaceAlign()

Get alignment setting for automatic chart layout manager

Rectangle

getPlaceMargin()

Get chart margin used by automatic chart layout manager

int

getPlaceMaxNumWordWrapLines()

Get maximum number of word-wrap lines for automatic chart layout

int

getPlaceMinFontSize()

Get minimum font point size for automatic chart layout

int

getPlacePosition()

Get place position for automatic chart layout

Rectangle

getPlaceRect()

Get the bounding rectangle for automatic chart layout

int

getPlaceResize()

Get resize setting for automatic chart layout

int

setPlaceRotate()

Get rotation setting for automatic chart layout

int

getPlaceSkip()

Get label skip mode for automatic chart layout

int

getPlaceTruncateCount()

Get truncate count for automatic chart layout

int

getPlaceWordWrap()

Get word wrap mode for automatic chart layout

Color

getQOColor()

Gantt Chart: Get Quality Object Color

String

getQOLabel()

Gantt Chart: Get Quality Object Label

int

getQuadrantLineValueX()

Get vertical location of the X quadrant line

int

getQuadrantLineValueY()

Get horizontal location of the Y quadrant line

Rectangle

getQualityLegendRect()

Get Quality Legend Rectangle in a Gantt chart

Rectangle

getRect()

Get size and location of an object

int

getReferenceLineCount()

Get Reference Line Count

double

getReferenceLineValue()

Get Reference Line Value

int

getRightInset()

Get right insets of a border

double

getScaleMax()

Get scale maximum value

boolean

getScaleMaxAuto()

Get automatic maximum scaling

double

getScaleMin()

Get minimum scale value

boolean

getScaleMinAuto()

Get automatic minimum scaling

boolean

getScaleMustIncludeZero()

Get scale must include zero

Vector

getSelection()

Get a vector of selection objects

Color

getSelectionBorderColor()

Get the border color of the currently selected object

Color

getSelectionFillColor()

Get the fill color of the currently selected object

int

getSelectionLineWidth()

Get the line width of the first item in the selection list

int

getSelectionSize()

Get the size of the first item in the selection list

int

getSelGroup()

Get the group of the currently selected object

int

getSelSeries()

Get the series of the currently selected object

Color

getSeriesBorderColor()

Get the border color of a series

Color

getSeriesFillColor()

Get the fill color of a series

String

getSeriesLabel()

Get series label

int

getSeriesType()

Get series type

Color

getShadowColor()

Get the Shadow Color of an object

boolean

getShadowDisplay()

Determine if a shadow has been applied to an object

int

getShadowFillType()

Get the fill type assigned to a Java 2D text object

Color

getShadowGradientEndColor()

Get the end color for setShadowFillType (FILL_COLOR)

Color

getShadowGradientStartColor()

Get the start color for setShadowFillType (FILL_COLOR)

Image/String

getShadowTextureURL()

Get the texture for setShadowFillType (FILL_TEXTURE)

int

getShadowXOffset()

Get shadow X-Offset

int

getShadowYOffset()

Get shadow Y-Offset

int

getSkipBegin()

Get label skip beginning number

int

getSkipCount()

Get label skip count

double

getStartDate()

Get the start date in a Gantt chart

Color

getTextBackgroundColor()

Get a Java 2D text object's background color

String

getTextFormatPattern()

Get text format pattern

int

getTextFormatPreset()

Get text format preset

int

getTextJustHoriz()

Get text horizontal justification

int

getTextJustVert()

Get text vertical justification

int

getTextRotation()

Get text rotation

boolean

getTextStrikethrough()

Get a Java 2D text object's strike-through mode

String

getTextString()

Get text string

int

getTextUnderlineType()

Get a Java 2D text object's underline type

String

getTexture()

Get texture

Color

getTextureBGColor()

Get texture background color

int

getTextureDisplayMode()

Get texture display mode assigned to object id

int

getTextureFlipMode()

Get texture flip mode

boolean

getTextWrap()

Get text wrap mode (on or off)

int

getTickCount()

Get tick count

int

getTickLength()

Get tick length

double

getTickStep()

Get tick step

boolean

getTickStepAuto()

Get tick step auto setting

int

getTickStyle()

Get tick style

int

getTickWidth()

Get tick width

ToolTipCallBack

getToolTipCallBack()

Determine if a tool tip callback has been assigned with setToolTipCallBack()

int

getTopInset()

Get top insets of a border

boolean

getTransparentBorderColor()

Get transparent border color

boolean

getTransparentFillColor()

Get transparent fill color

String

getURL()

Get Universal Resource Locator

String

getURLTarget()

Get Frame Target for URL

boolean

getUseTextBackgroundColor()

Get a Java 2D text object's use of background color

DataRange

getViewableDataRange()

Get the viewable data range

DataRange

getViewableDataRangeSG()

Get the data range (in series and groups) that will actually be graphed

int

getWaterfallGroupMode()

Get Waterfall Chart group mode

double

getX1MajorGridStepAutoValue()

Get automatically calculated major grid steps on the X-Axis.

double

getX1ScaleMaxAutoValue()

Get automatically calculated maximum scale value on the X-Axis.

double

getX1ScaleMinAutoValue()

Get automatically calculated minimum scale value on the X-Axis.

double

getY1MajorGridStepAutoValue()

Get automatically calculated major grid steps on the Y1-Axis.

double

getY1ScaleMaxAutoValue()

Get automatically calculated maximum scale value on the Y1-Axis.

double

getY1ScaleMinAutoValue()

Get automatically calculated minimum scale value on the Y1-Axis.

double

getY2MajorGridStepAutoValue()

Get automatically calculated major grid steps on the Y2-Axis.

double

getY2ScaleMaxAutoValue()

Get automatically calculated maximum scale value on the Y2-Axis.

double

getY2ScaleMinAutoValue()

Get automatically calculated minimum scale value on the Y2-Axis.

int

getZoomIndex()

Get the most recent entry in the zoom list

boolean

hasBarOrMarkerSeries()

Does chart contain a series displayed as a Bar or Line-with-markers?

void

inputParamString()

HTML Parsing interface

void

insertGradientPin()

Insert a gradient pin

boolean

isChart3DType()

Determine whether or not the current chart is one of the 3D graphs

boolean

isChartBiPolar()

Determine whether or not the current chart is bi-polar

boolean

isChartBLAType()

Determine whether or not the current chart is a Bar, Line, or Area Chart.

boolean

isChartDualY()

Determine whether or not the current chart is a dual-axes chart

boolean

isChartOrientHorz()

Determine whether or not the current chart is horizontal.

boolean

isChartPieType()

Determine whether or not the current chart is one of the pie charts

boolean

isChartScatter()

Determine whether or not the current chart is a scatter chart.

boolean

isChartStockType()

Determine whether or not the current chart is one of the stock charts.

boolean

isColorByGroup()

Determine whether or not the chart is colored by group

boolean

isColorByHeight()

Determine whether or not the chart is colored by height

boolean

isExceptionalAllowed()

Determine if excpetional risers are allowed

boolean

isGroupScrollerPresent()

Determine if the group data scroller bar is present

boolean

isNumberFormatCallBack()

Determine if the object is a number format callback

boolean

isO1AxisPresent()

Determine if the O1 axis is present in the chart

boolean

isO2AxisPresent()

Determine if the O2 axis is present in the chart

boolean

isPropertySet()

Determine if a property is set for a particular chart object

boolean

isSelection()

Determine if there are any items in the selection list

boolean

isSelectionBorderColorTransparent()

Determine if first item in selection list has a transparent border color

boolean

isSelectionCube()

Determine if the first item in the selection list is a 3D cube

boolean

isSelectionDataLabel()

Determine if the first item in the selection list is a data label object

boolean

isSelectionFillColorTransparent()

Determine if the first item in the selection list has a transparent fill color

boolean

isSelectionGridLine()

Determine if the first item in the selection list is a grid line

boolean

isSelectionLegend()

Determine if first item in the selection list is the legend area

boolean

isSelectionLine()

Determine if the first item in the selection list is a line

boolean

isSelectionRiser()

Determine if the first item in the selection list is a riser

boolean

isSelectionSeriesRelated()

Determine if the first item in the selection list is series related

boolean

isSelectionText()

Determine if first item in the selection list is a text object

boolean

isSeriesScrollerPresent()

Determine if the series scroller bar is present

boolean

isSQLTypeNumeric()

Determine if the value is an SQL Numeric data type

boolean

isSQLTypeString()

Determine if the string is an SQL String data type

boolean

isToolTipCallBack()

Determine if the object is a tool tip callback

boolean

isValidZoomIndex()

Determine if a particular data zooming index is valid

boolean

isX1AxisPresent()

Determine if the X1 axis is present in the chart

boolean

isY1AxisPresent()

Determine if the Y1 axis is present in the chart

boolean

isY2AxisPresent()

Determine if the Y2 axis is present in the chart

boolean

isZ1AxisPresent()

Determine if the Z1 axis is present in the chart

boolean

isZoomingArmed()

Determine if doZoomIn() or doZoomOut() has been called

void

load()

Load a chart from an input stream or URL

boolean

optimizeData()

Ask the chart to optimize the data.

String

outputParamString()

Get a list of chart parameters

int

referenceLineInsert()

Insert reference line into vector in an ordered way

int

registerMarkerTemplate()

Register a user-defined marker template

void

reloadOriginalData()

Called when the "original data" should be reloaded.

void

removeErrorListener()

Remove error listener

void

removeLineWidths()

Remove a range of line widths from the chart look.

void

removeMarkerShapes()

Remove a range of marker shapes from the chart look.

void

removePerspectiveListener()

Remove a Perspective listener

void

removeReferenceLineObject()

Remove a reference line object

void

restoreAllSlices()

Restore all deleted/detached slices from a pie

void

restoreDefaults()

Restore all default values

void

save()

Save a chart to an output stream

boolean

sendChartToFTP()

Send a chart to an FTP server

void

sendGIFToFile()

Send a chart to a file as a .GIF image

void

sendGIFToFileExc()

Send a chart fo a file as a GIF image and throw the appropriate exceptions

void

sendGIFToFTP()

Send a chart to an FTP server as a .GIF image

void

sendGIFToStream()

Send a chart to an output stream as a .GIF image

void

sendImageMapToStream()

Send an image map to a stream

void

sendJPEGToStream()

Send a chart to an output stream as a JPEG image

void

sendPNGToFile()

Send a chart to a file as a PGN image

void

sendPNGToFileExc()

Send a chart to a file as a PGN image and throw the appropriate exceptions

void

sendPNGToStream

Send a chart to an output stream as a PGN image

void

sendPNGToStreamExc()

Send a chart to an output stream as a PGN image and throw the appropriate exceptions

void

sendSVGToStream()

Send a chart to an output stream as an SVG image

void

setAlertLabel()

Set a series alert label in a gantt chart

void

setAltFmtFrameNumColors()

Set number of alternate formatting sections/colors

void

setAltFmtFrameSeparator()

Set alternate formatting frame separator

void

setAutofit()

Set/clear automatic fitting

void

setAutoSkip()

Set label skip mode

void

setAxisAssignment()

Set axis assignment

void

setAxisDescending()

Set axis ascending/descending

void

setAxisOffset()

Set Axis Offset in Mult-Y charts

void

setAxisSide()

Set axis side

void

setAxisSize()

Set Axis Size in Mult-Y charts

void

setBorderColor()

Set border color

void

setBorderType()

Set the border type

void

setBottomInset()

Set the bottom insets of a border

void

setBounds

Inherited by Perspective from Java Components.

void

setCornerArcHeight()

Set the corner arc height of an border

void

setCornerArcWidth()

Set the corner arc width of an border

void

setCubeRotationMatrix()

Set the rotation matrix of the 3D cube

void

setCurrentDate()

Set the current date in a Gantt chart

void

setCurveFitPolynomialOrder()

Set polynomial order for a curve fit line.

void

setCurveFitType()

Set the curve fit type.

void

setCustomDataText()

Set custom data text

void

setData()

Set data in a chart

void

setDataFile()

Load chart data from a text file

void

setDataFileURL()

Load a text file from any valid file or Internet URL

void

setDataFromCallBack()

Load data from call back

void

setDataFromDataGrid()

Load data from a data grid

void

setDataFromResultSet()

Load data from an SQL Result set

void

setDataFromSQL()

Load data from SQL

void

setDataLabel()

Assign a data label to a series/group

void

setDataRange()

Set the range of data to be imaged

void

setDataRangeToExtent()

Set the data range to the values set by setData()

void

setDataStream()

Set data stream

void

setDataTextAngle()

Set the angle of data text

void

setDataTextRadius()

Set data text radius

void

setDataValue()

Assign a data value to an object

void

setDeveloperToolTip();

Set developer-mode custom tool tip

void

setDeveloperToolTipDefault()

Select developer-mode default tool tips

void

setDisplay()

Enable/disable display of an object

void

setDisplayOffScale()

Set display off scale

void

setDrawTicksPerpendicular()

Set draw ticks perpendicular to axis

void

setDynamicToolTip()

Define a dynamic tool tip string

void

setEndDate()

Set the end date in a Gantt chart

void

setExceptionalRiser()

Set exceptional risers

void

setExcludeMaxLabel()

Exclude/Include maximum label on an axis

void

setExcludeMinLabel()

Exclude/Include minimum label on an axis

void

setFillColor()

Set the fill color of an object

void

setFillType()

Set fill type

void

setFontName()

Set font name

void

setFontSize()

Set font size in points (deprecated)

void

setFontSizeAbsolute()

FALSE = Use setFontSizeVC() TRUE = Use set FontSizeInPoints().

int

setFontSizeInPoints()

Set font size in points

void

setFontSizeVC()

Set font size in virtual coordinates

void

setFontStyle()

Set font style

void

setGaugeAlphaChannel()

Set the transparency of a gauge object

void

setGaugeBandMax()

Set the maximum value of a gauge band

void

setGaugeBandMin()

Set the minimum value of a gauge band

void

setGradientDirection()

Set gradient direction

void

setGradientNumPins()

Set number of pins in a gradient

void

setGradientPinLeftColor()

Set gradient pin left color

void

setGradientPinPosition()

Set gradient pin position

void

setGradientPinRightColor()

Set gradient pin right color

void

setGridAttributes()

Set color, style, width, & stroke of gridlines

void

setGridCount()

Set grid count

void

setGridStep()

Set number of grid steps

void

setGridStepAuto()

Enable/Disable automatic calculation of grid steps

void

setGridStyle()

Set the style of grid lines

void

setGroupLabel()

Define a group label

void

setIgnoreSeries()

Include/Exclude a series in a chart

void

setLabelStagger()

Enable/Disable staggered labels

void

setLeftInset()

Set the left insets of a border

void

setLegendRect()

Set the location and size of the legend area

void

setLevelBorderColor()

Set level border color for a time scale axis

void

setLevelDateFormat()

Set level date format for a time scale axis

void

setLevelFillColor()

Set level fill color for a time scale axis

void

setLevelHeight()

Set level height for a time scale axis

void

setLevelInterval()

Set level interval for a time scale axis

void

setLevelTextColor()

Set level text color for a time scale axis

void

setLevelTextFormat()

Set level text format for a time scale axis

void

setLineBasicStrokeType()

Set a Java 2D line object's basic stroke type

void

setLineCap()

Set a Java 2D line object's cap style

void

setLineDash()

Set a Java 2D line object's dash definition

void

setLineDashPhase()

Set a Java 2D line object's dash offset

void

setLineJoin()

Set a Java 2D line object's join style

void

setLineMiterLimit()

Set a Java 2D line object's line miter limit

void

setLineWidth()

Set line width

void

setLineWidthAllSeries()

Set the line width for all series in a chart

void

setLocale()

Inherited by Perspective from Java Components.

void

setLogScale()

Set logarithmic/linear scaling

void

setLogScaleBase()

Set logarithmic scale base

void

setMajorTickAttributes()

Set color, style, width, & stroke of major tick marks & include/exclude minimum/maximum ticks.

void

setMarkerShape()

Set the shape of a marker

void

setMarkerSize()

Set marker size for the first item in the selection list

void

setMarkerTemplate()

Define a custom marker shape

void

setMaxNumAnnotations()

Set the maxinum number of notations

void

setNoExceptionalRiser()

Disallow exceptional risers

void

setNonZeroBaseline()

Set Non-Zero Base Line

void

setNonZeroBaselineValue()

Set Non-Zero Base Line Value

void

setNoSelection()

De-select all items in the selection list.

void

setNumberFormatCallBack()

Set a number format callback

void

setO1LabelCallback()

Set a callback for O1-axis nested labels

void

setPieSliceDelete()

Set/clear deleted pie slice

void

setPieSliceDetach()

Set distance a slice is detached from a pie chart

void

setPlaceAlign()

Set alignment mode for automatic chart layout

void

setPlaceMargin()

Set chart margin used by automatic chart layout manager

void

setPlaceMaxNumWordWrapLines()

Set maximum number of word wrap Lines for automatic chart layout

void

setPlaceMinFontSize()

Set minimum font size for automatic chart layout

void

setPlacePosition()

Set position for automatic chart layout

void

setPlaceRect()

Set bounding rectangle for automatic chart layout

void

setPlaceResize()

Set resize mode for automatic chart layout

void

setPlaceRotate()

Set rotation mode for automatic chart layout

void

setPlaceSkip()

Set skip mode for automatic chart layout

void

setPlaceTruncateCount()

Set truncate count for automatic chart layout

void

setPlaceWordWrap()

Set word wrap mode for automatic chart layout

void

setQOColor()

Set Quality Object Color in a Gantt Chart

void

setQOLabel()

Set Quality Object Label in a Gantt Chart

void

setQuadrantLineValueX()

Set scale value at which to place vertical quadrant line

void

setQuadrantLineValueY()

Set scale value at which to place horizontal quadrant line

void

setRect()

Set the location and size of an object

void

setReferenceLine()

Set a reference line in a chart

void

setRightInset()

Set right insets of a border

void

setScaleMax()

Assign a maximum scale value

void

setScaleMaxAuto()

Enable/Disable automatic calculation of the maximum scale value

void

setScaleMin()

Assign a minimum scale value

void

setScaleMinAuto()

Enable/Disable automatic calculation of the minimum scale value

void

setScaleMustIncludeZero()

Enable/Disable zero on scale

void

setSelection()

Set the selection list to be the object with the given ID

void

setSeriesAreRows()

Assign a value to the SeriesAreRows property and enable/disable swapping of labels.

void

setSeriesBorderColor()

Assign a border color to a series

void

setSeriesFillColor()

Assign a fill color to a series

void

setSeriesLabel()

Assign a series label

void

setSeriesType()

Assign a series type

void

setShadowColor()

Assign a shadow color to an object

void

setShadowDisplay()

Enable/Disable shadow display

void

setShadowFillType()

Set the fill type of a Java 2D text object

void

setShadowGradientEndColor()

Set the end color for setShadowFillType (FILL_COLOR)

void

setShadowGradientStartColor()

Set the start color for setShadowFillType (FILL_COLOR)

void

setShadowTextureURL()

Set the texture for setShadowFillType (FILL_TEXTURE)

void

setShadowXOffset()

Set shadow X-offset

void

setShadowYOffset()

Set shadow Y-offset

void

setSize()

Inherited by Perspective from Java Components

void

setSkipBegin()

Assign a label skip begin value

void

setSkipCount()

Assign a label skip interval

void

setStartDate()

Set the start date in a Gantt Chart

void

setTextBackgroundColor()

Set a Java 2D text object's background color

void

setTextFormatPattern()

Assign a standard Java text format pattern

void

setTextFormatPreset()

Assign a preset text format

void

setTextJustHoriz()

Set text horizontal justification

void

setTextJustVert()

Set text vertical justification

void

setTextRotation()

Set text rotation

void

setTextStrikethrough()

Set a Java 2D text object's strike-through mode

void

setTextString()

Set text string

void

setTextUnderlineType()

Set a Java 2D text object's underline type

void

setTextureBGColor()

Set texture background color

void

setTextureDisplayMode()

Set texture display mode

void

setTextureFlipMode()

Set texture flip mode

void

setTextureResource()

Specify a texture file as a resource instead of a file-system URL

void

setTextureURL()

Load a texture from a URL

void

setTextWrap()

Set text wrap mode

void

setTickAttributes()

Set color, style, width, & stroke of tick marks

void

setTickCount()

Set tick count

void

setTickLength()

Set tick length

void

setTickStep()

Set tick step

void

setTickStepAuto()

Enable/disable automatic calculation of tick steps

void

setTickStyle()

Set tick style

void

setTickWidth()

Set tick width

void

setTimeScaleAxisDefaults()

Set time scale axis to default values

void

setToolTipBackdropColor()

Set Tooltip backdrop color

void

setToolTipBackdropSize()

Set Tooltip backdrop size

void

setToolTipBackgroundColor()

Set Tooltip background color

void

setToolTipCallBack()

Set a tool tip callback function

void

setToolTipColor()

Set Tooltip color

void

setToolTipFontName()

Set Tooltip font name as defined in java.awt.Font

void

setToolTipFontSize()

Set Tooltip font size as defined in java.awt.Font

void

setToolTipFontStyle()

Set Tooltip font style as defined in java.awt.Font

void

setToolTipOff()

Disable tool tip event generation

void

setToolTipOn()

Enable tool tip event generation

void

setTopInset()

Set top insets of a border

void

setTransparentBorderColor()

Set transparent border color

void

setTransparentFillColor()

Set transparent fill color

double

setupDate()

Returns the date in milliseconds

void

setURL()

Set URL

void

setURLTarget()

Set the Frame Target for a URL

void

setUserToolTip()

Set user-mode custom tool tip string

void

setUserToolTipDefault()

Select default user-mode tool tips

void

setUseTextBackgroundColor()

Enable/Disable a Java 2D text object's background color

void

setWaterfallGroupMode()

Set Waterfall Group Mode in a waterfall chart

void

setZoomIndex()

Set the current zoom index in the zoom list

void

toggleEditControls()

Turn on/off edit controls in the Three |D| Graphics user interface

Reserved for Future Use

Return Value

Method

Description

String

getAltString()

Get ALT string assigned to an object

double

getCustomCurveFitCoeff()

Get custom curve fit coefficient

boolean

getForecast()

Get forecast flag assigned to an object

Color

getForecastColor()

Get forecast color assigned to an object

String

getForecastImage()

Get forecast image assigned to an object

int

getMajorTickSide()

Get major tick side

int

getMinorTickSide()

Get minor tick side

boolean

getQAEnabled()

Quality Axis: Enable/disable

boolean

getQAHighArrow()

Quality Axis: Draw higher band as an arrow or a rectangle.

double

getQAHigherSplitValue()

Quality Axis: High Split Value

int

getQALabelAlignment()

Quality Axis: Label Alignment

boolean

getQALabelMode()

Quality Axis: Label Mode

int

getQALabelPosition()

Quality Axis: Label Position

boolean

getQALowArrow()

Quality Axis: Draw lower band as an arrow or a rectangle.

double

getQALowerSplitValue()

Quality Axis: Lower Split Value

int

getQAOffsetFromAxis()

Quality Axis: Offset of the Quality Axis from the chart frame (virtual coordinates).

boolean

getQASmoothBlend()

Quality Axis: Enable/Disable Smooth Blend

int

getQAThickness()

Quality Axis: Thickness of the band (virtual coordinates)

boolean

getQAUserDefinedHigherSplitValue()

Quality Axis: User-Defined Higher Split Value

boolean

getQAUserDefinedLowerSplitValue()

Quality Axis: User-Defined Lower Split Value

double

getQORangeValue()

Quality Object: Get Quality Object Range Value

String

getSummaryString()

Get summary string assigned to an object

void

setAltString()

Assign ALT string to an object

void

setForecast()

Assign forecast flag to an object

void

setForecastColor()

Assign forecast color to an object

void

setForecastImage()

Assign forecast image to an object

void

setCustomCurveFitCoeff()

Set Custom Curve Fit Coefficient

void

setMajorTickSide()

Set the axis side to draw major ticks

void

setMinorTickSide()

Set the axis side to draw minor ticks

void

setQAEnabled()

Quality Axis: Enable/Disable

void

setQAHighArrow()

Quality Axis: Draw higher band as an arrow or a rectangle.

void

setQAHigherSplitValue()

Quality Axis: Set Higher Split Value

void

setQALabelAlignment()

Quality Axis: Alignment

void

setQALabelMode()

Quality Axis: Mode

void

setQALabelPosition()

Quality Axis: Label Position

void

setQALowArrow()

Quality Axis: Draw lower band as an arrow or a rectangle.

void

setQALowerSplitValue()

Quality Axis: Lower Split Value

void

setQAOffsetFromAxis()

Quality Axis: Offset of the Quality Axis from the chart frame (virtual coordinates).

void

setQASmoothBlend()

Quality Axis: Smooth Blend

void

setQAThickness()

Quality Axis: Thickness of the band (virtual coordinates)

void

setQAUserDefinedHigherSplitValue()

Quality Axis: User-Defined Higher Split Value

void

setQAUserDefinedLowerSplitValue()

Quality Axis: User-Defined Lower Split Value

void

setQORangeValue()

Set Quality Object Range Value

void

setSummaryString()

Assign summary string to an object

Reserved for Internal Use

Return Value

Method

Description

void

_paint()

Paint graphics

void

actionPerformed()

Implement a timer for displaying management of ChartTips.

boolean

applyAntialiasing()

Apply antialiasing

boolean

areNoSeriesIgnored()

Are any series ignore in a given series range

void

beginDrawProcess()

Begin drawing chart

void

calc()

Used by Place functionality

void

chartCreationFailed()

Display a chart state error message

Object

clone()

Returns a chart instance

void

copy()

Copy a chart instance

IdentObj

createTestAnnotation()

Create a test annotation object

void

deleteUserDefinedQAPositions()

Delete user-defined Quality Axis Positions

Exception

doPainting()

Do painting

void

errorEvent()

Respond to error event

void

focusCube()

Set focus for selected 3D chart object

String

get_resstring()

 

Access

getAccess()

Return the Access object

Object

getAttrValue()

Get attribute value

double

getAutoHigherSplitValue()

Retun automatic higher axis split value

double

getAutoLowerSplitValue()

Retun automatic lower axis split value

BadDogCallback

getBadDogCallBack()

Get BadDogCallBack function

synchronized int

getChartState()

Returns the chart state

String

getCodebase()

Get code base

Rectangle

getDataExtents()

Use by setDataRangeToExtent() to determine the range of data in the chart

DateDataObj

getDateData()

Get date data

Detectiv

getDetectiv()

Get tdg draw detectiv

TDGErrorManager

getErrorManager()

Get Error Manager

TDGEventManager

getEventManager()

Get Event Manager

FontCache

getFontCache()

Get Font Cache

Rectangle

getFrameFrontRect()

Get Frame Front Rectangle

JChart_Base

getGraphObject()

Get Graph Object

boolean

getHasGraphics2D()

Does Perspective instance have Graphics2D object

static CategoryIF

getInstance()

Unknown

JGraphType

getJGraphType()

Returns a J-Graph Type

final int

getKeyByteAt()

Callback delegate to describe collating sequence to RadixSort

int

getLabelMargin()

Get the margin assigned to a label

Frame

getOffscreenFrame()

Get offscreen frame

TDGPreScaleIF

getPreScaleCallback()

Get PreScale Callback

boolean

getPrintingInProgress()

Determine if printing is in progress

Vector

getReferenceLineVector()

Get Reference Line Vector

void

getReferenceObjects()

Get Reference Objects

double

getResourceMax()

Get Maximum allowable allocation for this series

double

getResourceMin()

Get Minimum allowable allocation for this series

SmartText

getSmartText()

Get Smart Text

SVGDrawList

getSVGDrawList()

Get SVG Draw List

String

getTdgCode()

 

boolean

getTextTruncate()

Basic text truncate for PlaceDefaultElements

TDGDataCallbackIF

getTrueDataCallback()

Get True Data Callback

String

getToolTipCustomString()

Custom string for ToolTip Customization

boolean

getToolTipDisplayTimeOut()

Get the actual state of the timeout event

String

getUserTooltipStrings()

Create Image Maps with Tooltip strings

VC

getVC()

Get Virtual Coordinates

ZoomStateList

getZoomList()

Get zoom list

void

initGantt()

Initialize Gantt Chart

void

initGauges()

Initialize Gauge Chart

void

IBIInit()

Initialization function for IBI

void

initQualityObjects()

Initialize Quality Objects

boolean

isApplet()

Method was created by a SmartGuide

synchronized boolean

isChartReady()

Determine if a chart is in the ready state

void

keyPressed()

Key Pressed Event

void

keyReleased()

Key Released Event

void

keyTyped()

Key Typed Event

int

maxNumVisibleTasks()

Maximum number of visible tasks in a Gantt chart

void

mouseClicked()

Mouse Click Event

void

mouseDragged()

Mouse Drag Event

void

mouseEntered()

Mouse Enter Event

void

mouseExited()

Mouse Exit Event

void

mouseMoved()

Mouse Moved Event

void

mousePressed()

Mouse Button Pressed Event

void

mouseReleased()

Mouse Button Released Event

void

needRecalc()

Set chart needs recalculation

void

paint()

First entry point from the framework.

void

place()

Place default elements code

void

print()

Print chart

void

paintComponent()

Paint component

void

resetNonMatrixTransformParameters()

Resets the non-marix trnasformation parameters: pan, scalecube, focus, etc. from a previous save.

void

resetWorkDataStorage()

When user adds or changes data to the "original data", this method is called to make sure we don't try to use a working data set that is obsolete.

void

rotateCubeX()

Rotate Cube X

void

rotateCubeY()

Rotate Cube Y

void

rotateCubeZ()

Rotate Cube Z

void

saveNonMatrixTransformParameters()

Saves the non-marix trnasformation parameters: pan, scale cube, focus, etc. so they can be restored by the user.

void

scaleCube()

Scale Cube

void

setBadDogCallback()

Method in BadDogCallback Interface.

void

setCodebase()

Set code base

void

setDateData()

Set date data

void

setEditChart()

Set Edit Chart On or Off

void

setEditZoom()

Set Edit Zoom On Or Off

void

setGanttData()

Set Gantt chart data

void

setGanttDataDates()

Set Gantt chart data dates

void

setHasGraphics2D()

Set has 2D Graphics

void

setLabelMargin()

Enable/Disable label margins

void

setResourceMax()

Maximum allowable allocation for this series

void

setResourceMin()

Minimum allowable allocation for this series

void

setTextTruncate()

Basic text truncate property

void

setToolTipCustomString()

Custom string for ToolTip Customization

void

setToolTipDisplayTimeOut()

The actual state of the timeout event

void

setTrueDataCallback()

Set TrueDataCallback function

void

startListeners()

Start Event Listeners

void

stopListeners()

Stop Event Listeners

void

sync3DPresetParameters()

Synchronize 3D Parameters

void

translateCube()

Translate Cube

void

update()

Update

void

updateAccess()

Update access

void

updateParamsFromMatrix()

Update Parameters from Matrix

void

useWorkDataStorage()

Make a working copy of the original data and set the data storage to point to it.

void

writeTextRepresentation()

Write text representation