tdg
Class Perspective

tdg.Perspective

public class Perspective
implements java.io.Serializable, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, TDGListener, java.awt.event.ActionListener, java.awt.event.KeyListener

class Perspective - The public interface to Perspective for Java. Copyright (c) 1997 Three D Graphics, Inc. All Rights Reserved.

See Also:
JGraphType, ToolTipCallBack, Serialized Form

Field Summary
static java.lang.String CLOSE_VALUE_MACRO
           
static tdg.Attr CubeRotationMatrixAttr
          Ask the chart to optimize the data.
static int FIT_EXPONENTIAL
           
static int FIT_GEOMETRIC
           
static int FIT_HYPERBOLIC
           
static int FIT_LINEAR
           
static int FIT_LOGARITHMIC
           
static int FIT_LOGQUADRATIC
           
static int FIT_MODEXPONENTIAL
           
static int FIT_MODHYPERBOLIC
           
static int FIT_NONE
           
static int FIT_POLYNOMIAL
           
static int FIT_QUADRATIC
           
static int FIT_RATIONAL
           
static java.lang.String HI_VALUE_MACRO
           
static java.lang.String LOW_VALUE_MACRO
           
 int m_nToolTipMilliSecDelay
           
static int NO_CHART_YET
           
static java.lang.String OPEN_VALUE_MACRO
           
 java.util.ResourceBundle PFJRes
           
static java.lang.String SIZE_VALUE_MACRO
           
static int VIEW_ALL_DATA
           
static java.lang.String X_VALUE_MACRO
           
static java.lang.String X_Y_VALUE_MACRO
           
static java.lang.String Y_VALUE_MACRO
           
 
Constructor Summary
Perspective()
          Perspective Create an instance of Perspective
Perspective(java.applet.Applet a)
           
 
Method Summary
 void _paint(java.awt.Graphics g)
           
 void actionPerformed(java.awt.event.ActionEvent event)
          actionPerformed Implements a timer for the purpose of display management of ChartTips.
static void announceLicense()
           
 void askForRelease()
          Tell sub-objects to releases references to this object to avoid confusing the gc with circular references.
 void beginDrawProcess()
           
 void calcWithoutDrawing()
          calcWithoutDrawing - This is the Perspective for Java "dry run the graph" equivalent in PGSDK.
 void chartCreationFailed(java.lang.Exception failureException)
           
 void clearDataLabels()
          clearDataLabels - clear all data labels from chart
 void clearDataStorage()
          clearDataStorage - clear all data and labels from chart
 void clearGroupLabels()
          clearGroupLabels - clear all group labels from chart
 void clearSeriesLabels()
          clearSeriesLabels - clear all series labels from chart
 void clearZoomList()
          clearZoomList Clear all entries in the zoom list except "unzoomed".
 tdg.TDGImageMap copyImageMap()
           
 void doZoomIn()
          doZoomIn Zoom in on the center of the chart
 void doZoomIn(int x, int y)
          doZoomIn Zoom in on the specified point (given in virtual coordinates)
 void doZoomIn(java.awt.Point pt)
          doZoomIn Zoom in on the specified point (given in virtual coordinates)
 void doZoomIn(java.awt.Rectangle r)
          doZoomIn Zoom in on the specified rectangle (given in virtual coordinates)
 void doZoomOut()
          doZoomOut Zoom out on the center of the chart
 void doZoomOut(int x, int y)
          doZoomOut Zoom out on the specified point (given in virtual coordinates)
 void doZoomOut(java.awt.Point pt)
          doZoomOut Zoom out on the specified point (given in virtual coordinates)
 void errorEvent(tdg.event.TDGError e)
           
 void focusCube(double focusFactor)
          focusCube No Description
 java.applet.Applet getApplet()
          getApplet No Description
 double getAutoHigherSplitValue(tdg.draw.IdentObj id)
           
 double getAutoLowerSplitValue(tdg.draw.IdentObj id)
           
 tdg.BadDogCallback getBadDogCallBack()
           
 java.awt.Color getBorderColor(tdg.draw.IdentObj id)
           
 boolean getChartDataValid()
          getChartDataValid Make a quick check of the data to see if there is enough to make a chart.
 boolean getChartFromFTP(java.lang.String strHost, java.lang.String strUser, java.lang.String strPass, java.lang.String strDir, java.lang.String strOrgFile)
           
 int getChartState()
           
 tdg.model3d.Matrix3d getCubeRotationMatrix()
           
 double getDataAsDouble(int row, int col)
           
 java.lang.String getDataAsString(int row, int col)
           
 int getDataCoord(tdg.draw.IdentObj id)
           
 double getDataFromCoord(tdg.draw.IdentObj id, int nCoordVC)
           
 TDGDataGrid getDataGridCallback()
           
 java.lang.String getDataLabel(int s, int g)
           
 java.awt.Rectangle getDataRange()
           
 double getDataValue(tdg.draw.IdentObj id)
           
 tdg.draw.Detectiv getDetectiv()
           
 java.net.URL getDocumentBase()
           
 int getEffectiveColorMode()
          Returns the actual color mode used - if the raw setting of ColorMode is CM_AUTOMATIC, we apply the automatic color mode rules.
 int getEffectiveGroupOffset()
           
 int getEffectiveSeriesOffset()
           
 int getEffectiveViewableGroups()
           
 int getEffectiveViewableSeries()
           
 tdg.draw.IdentObj getExceptionalRiser(int s, int g)
          Returns the exceptional riser specified by series and group.
 java.util.Hashtable getExceptionalRisers()
          Returns the entire hashtable of exceptional risers.
 java.awt.Color getFillColor(tdg.draw.IdentObj id)
           
 int getFillType(tdg.draw.IdentObj id)
           
 java.awt.Point getFrameDepthOffset()
           
 java.awt.Rectangle getFrameRect(boolean bInner)
           
 int getGradientDirection(tdg.draw.IdentObj id)
           
 int getGradientNumPins(tdg.draw.IdentObj id)
           
 java.awt.Color getGradientPinLeftColor(tdg.draw.IdentObj id, int nIndex)
           
 double getGradientPinPosition(tdg.draw.IdentObj id, int nIndex)
           
 java.awt.Color getGradientPinRightColor(tdg.draw.IdentObj id, int nIndex)
           
 tdg.JChart_Base getGraphObject()
           
 int getGraphType()
          Property Name: GraphType Change Chart Type
Default Value is (17).
 tdg.JGraphType getJGraphType()
           
 int getLegendMinWidth()
           
 java.awt.Rectangle getLegendRect()
           
 int getLineWidth(tdg.draw.IdentObj id)
           
 java.util.Locale getLocale()
           
 int getMarkerShape()
           
 int getMarkerShape(tdg.draw.IdentObj id)
           
 tdg.MarkerTemplate getMarkerTemplate(tdg.draw.IdentObj id)
           
 java.awt.Dimension getMinimumSize()
           
 int getNextMarkerTemplateSlot()
           
 NumberFormatCallBack getNumberFormatCallBack()
           
 int getNumGroups()
           
 int getNumNonIgnoredSeries()
           
 int getNumSeries()
           
 int getNumTotalGroups()
           
 int getNumTotalSeries()
           
 TDGNestedLabel getO1LabelCallBack()
           
 TDGPreScaleIF getPreScaleCallback()
           
 double getQuadrantLineValueX(int nIndex)
           
 double getQuadrantLineValueY(int nIndex)
           
 java.util.Vector getSelection()
          getSelection Gets the selection list, a list of "SelectObj" objects.
 java.awt.Color getSelectionBorderColor()
           
 java.awt.Color getSelectionFillColor()
           
 tdg.draw.IdentObj getSelectionID()
           
 int getSelectionLineWidth()
           
 int getSelectionSize()
           
 int getSelGroup()
           
 int getSelSeries()
           
 boolean getSeriesAreRows()
          Property Name: SeriesAreRows Are series stored in rows?
Default Value is (TRUE).
 java.awt.Color getSeriesBorderColor(int s)
           
 java.awt.Color getSeriesFillColor(int s)
           
 java.awt.Color getShadowColor(tdg.draw.IdentObj id)
           
 java.lang.String getTexture(tdg.draw.IdentObj id)
           
 java.awt.Image getTexture(java.lang.String szURL)
           
 int getTextureDisplayMode(tdg.draw.IdentObj id)
           
 ToolTipCallBack getToolTipCallBack()
           
 int getToolTipDelay()
          get the object tip delay in milliseconds
 boolean getTransparentBorderColor(tdg.draw.IdentObj id)
           
 boolean getTransparentFillColor(tdg.draw.IdentObj id)
           
 TDGDataCallbackIF getTrueDataCallback()
           
 boolean getUseSampleData()
           
 tdg.VC getVC()
           
 tdg.DataRange getViewableDataRange()
          getViewableDataRange Return the data range (in rows and columns) that will actually be graphed.
 tdg.DataRange getViewableDataRangeSG()
          getViewableDataRangeSG Return the data range (in series and groups) that will actually be graphed.
 double getX1MajorGridStepAutoValue()
           
 double getX1ScaleMaxAutoValue()
           
 double getX1ScaleMinAutoValue()
           
 double getY1MajorGridStepAutoValue()
           
 double getY1ScaleMaxAutoValue()
           
 double getY1ScaleMinAutoValue()
           
 double getY2MajorGridStepAutoValue()
           
 double getY2ScaleMaxAutoValue()
           
 double getY2ScaleMinAutoValue()
           
 int getZoomIndex()
          getZoomIndex Get the current zoom state's index.
 tdg.ZoomStateList getZoomList()
           
 boolean hasBarOrMarkerSeries()
          Is there a series displayed as a Bar or Line-with-markers?
 void inputParamString(java.lang.String szInString)
           
 void insertGradientPin(tdg.draw.IdentObj id, double newPin, java.awt.Color leftColor, java.awt.Color rightColor)
          Do everything necessary to add a new pin.
 boolean isApplet()
          This method was created by a SmartGuide.
 boolean isChart3DType()
           
 boolean isChartBipolar()
           
 boolean isChartBLAType()
           
 boolean isChartDualY()
           
 boolean isChartOrientHorz()
           
 boolean isChartPieType()
           
 boolean isChartReady()
           
 boolean isChartScatter()
           
 boolean isChartStockType()
           
 boolean isColorByGroup()
          Is this chart colored by group?
 boolean isColorByHeight()
          Is this chart colored by height?
 boolean isExceptionalAllowed()
          Returns true if exceptional risers are allowed for the current graph type.
 boolean isFocusTraversable()
          Returns whether this object can accept focus or not.
 boolean isGroupScrollerPresent()
          Is the group scroller drawn?
 boolean isNumberFormatCallBack()
           
 boolean isO1AxisPresent()
          Does this chart type have the O1 axis?
 boolean isO2AxisPresent()
          Does this chart type have the O2 axis?
 boolean isSelection()
           
 boolean isSelectionBorderColorTransparent()
           
 boolean isSelectionCube()
           
 boolean isSelectionDataLabel()
           
 boolean isSelectionFillColorTransparent()
           
 boolean isSelectionGridLine()
           
 boolean isSelectionLegend()
           
 boolean isSelectionLine()
           
 boolean isSelectionRiser()
           
 boolean isSelectionSeriesRelated()
           
 boolean isSelectionText()
           
 boolean isSeriesScrollerPresent()
          Is the series scroller drawn?
 boolean isSQLTypeNumeric(int SQLType)
           
 boolean isSQLTypeString(int SQLType)
           
 boolean isToolTipCallBack()
           
 boolean isValidZoomIndex(int nIndex)
          isValidZoomIndex Is the specified zoom state index a valid one?
 boolean isX1AxisPresent()
          Does this chart type have the X1 axis?
 boolean isY1AxisPresent()
          Does this chart type have the Y1 axis?
 boolean isY2AxisPresent()
          Does this chart type have the Y2 axis?
 boolean isZ1AxisPresent()
          Does this chart type have the Z1 axis?
 boolean isZoomingArmed()
          Is zooming enabled and ready to use?
 void keyPressed(java.awt.event.KeyEvent evt)
           
 void keyReleased(java.awt.event.KeyEvent evt)
           
 void keyTyped(java.awt.event.KeyEvent evt)
           
 void load(java.io.InputStream is, boolean bMerge)
           
 void load(java.lang.String szURL, boolean bMerge)
           
 void mouseClicked(java.awt.event.MouseEvent evt)
           
 void mouseDragged(java.awt.event.MouseEvent evt)
           
 void mouseEntered(java.awt.event.MouseEvent evt)
           
 void mouseExited(java.awt.event.MouseEvent evt)
           
 void mouseMoved(java.awt.event.MouseEvent evt)
           
 void mousePressed(java.awt.event.MouseEvent evt)
           
 void mouseReleased(java.awt.event.MouseEvent evt)
           
 void needRecalc()
           
 boolean optimizeData()
          Ask the chart to optimize the data.
 java.lang.String outputParamString()
           
 void paint(java.awt.Graphics g)
           
 void paintComponent(java.awt.Graphics g)
           
 void perspectiveEvent(TDGEvent e)
           
 void print(java.awt.Graphics g)
           
 int registerMarkerTemplate(tdg.MarkerTemplate newMarkerTemplate)
           
 int registerMarkerTemplate(java.awt.Polygon newPolygon)
           
 void reloadOriginalData()
          Called when the "original data" should be reloaded, either because it has changed, or the user wants to back out a tweak or optimization.
 void resetNonMatrixTransformParameters()
          resetNonMatrixTransformParams Resets the non-marix trnasformation parameters: pan, scalecube, focus, etc.
 void restoreAllSlices()
           
 void restoreDefaults()
           
 void rotateCubeX(double degreesX)
          rotateCubeX No Description
 void rotateCubeY(double degreesY)
          rotateCubeY No Description
 void rotateCubeZ(double degreesZ)
          rotateCubeZ No Description
 void save(java.io.OutputStream os)
           
 void save(java.io.OutputStream os, java.lang.String ChartObjectName)
           
 void saveNonMatrixTransformParameters()
          saveNonMatrixTransformParams Saves the non-marix trnasformation parameters: pan, scalecube, focus, etc.
 void scaleCube(double scaleFactor)
          scaleCube No Description
 boolean sendChartToFTP(java.lang.String strHost, java.lang.String strUser, java.lang.String strPass, java.lang.String strDir, java.lang.String strDestFile)
           
 void sendGIFToFile(java.io.OutputStream outS)
           
 void sendGIFToFTP(java.lang.String strHost, java.lang.String strUser, java.lang.String strPass, java.lang.String strDir, java.lang.String strDestFile)
           
 void sendGIFToStream(java.io.OutputStream outS)
           
 void sendImageMapToStream(java.io.PrintWriter outWriter, java.lang.String mapName, java.lang.String pathName, boolean bPage)
           
 void sendPNGToFile(java.io.File pngFile)
          Writes the chart image to the file specified, in .png format.
 void sendPNGToStream(java.io.OutputStream pngStream)
          Writes the chart image to the stream specified, in .png format.
 void setBadDogCallback(tdg.BadDogCallback cb)
           
 void setBorderColor(java.awt.Color newValue)
           
 void setBorderColor(tdg.draw.IdentObj id, java.awt.Color newValue)
           
 void setBounds(int x, int y, int width, int height)
           
 void setBounds(java.awt.Rectangle r)
           
 void setCubeRotationMatrix(double rx, double ry, double rz)
           
 void setCubeRotationMatrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
           
 void setCubeRotationMatrix(tdg.model3d.Matrix3d m)
           
 void setData(int row, int col, double fValue)
           
 void setData(int row, int col, double fValue, boolean bRecalc)
           
 void setData(int row, int col, java.lang.Object obj)
           
 void setData(int row, int col, java.lang.Object obj, boolean bRecalc)
           
 void setDataFileURL(java.lang.String aDataFileURL)
           
 void setDataFromCallBack(TDGDataGrid grid)
           
 void setDataFromDataGrid(TDGDataGrid grid)
           
 void setDataFromResultSet(java.sql.ResultSet rs)
           
 void setDataFromSQL(java.lang.String SQLQuery, java.sql.Statement aStmt)
           
 void setDataLabel(int s, int g, java.lang.String newValue)
           
 void setDataRange(int rowStop, int colStop)
           
 void setDataRange(int rowStart, int colStart, int rowStop, int colStop)
           
 void setDataRangeToExtent()
           
 void setDataStream(java.io.InputStream in)
           
 void setDataValue(tdg.draw.IdentObj id, double newValue)
           
 void setDeveloperToolTip(java.lang.String CustomToolTip)
           
 void setDeveloperToolTipDefault()
           
 void setDynamicToolTip(java.lang.String aTooltip)
           
 void setEditChart(boolean EditOnOff)
           
 void setEditChart(tdg.PFJEditor Editor, boolean EditOnOff)
           
 void setEditZoom(boolean EditZoom)
           
 void setExceptionalRiser()
          Create an exceptional riser using the current selection.
 void setExceptionalRiser(int s, int g)
          Create an exceptional riser using the specified series and group.
 void setFillColor(java.awt.Color newValue)
           
 void setFillColor(tdg.draw.IdentObj id, java.awt.Color newValue)
           
 void setFillType(tdg.draw.IdentObj id, int newValue)
           
 void setFillType(int newValue)
           
 void setGradientDirection(tdg.draw.IdentObj id, int newValue)
           
 void setGradientDirection(int newValue)
           
 void setGradientNumPins(tdg.draw.IdentObj id, int newValue)
           
 void setGradientNumPins(int newValue)
           
 void setGradientPinLeftColor(java.awt.Color newValue, int nIndex)
           
 void setGradientPinLeftColor(tdg.draw.IdentObj id, java.awt.Color newValue, int nIndex)
           
 void setGradientPinPosition(double newValue, int nIndex)
           
 void setGradientPinPosition(tdg.draw.IdentObj id, double newValue, int nIndex)
           
 void setGradientPinRightColor(java.awt.Color newValue, int nIndex)
           
 void setGradientPinRightColor(tdg.draw.IdentObj id, java.awt.Color newValue, int nIndex)
           
 void setGraphType(int newValue)
          Property Name: GraphType Change Chart Type
Default Value is (17).
 void setLegendRect(java.awt.Rectangle newValue)
           
 void setLegendRect(java.awt.Rectangle newValue, boolean bSetRecalc)
           
 void setLineWidth(tdg.draw.IdentObj id, int newValue)
           
 void setLineWidth(int newValue)
           
 void setLocale(java.util.Locale aLocale)
           
 void setMarkerShape(tdg.draw.IdentObj id, int integerMarkerShape)
           
 void setMarkerShape(int integerMarkerShape)
           
 void setMarkerTemplate(int nIndex, tdg.MarkerTemplate newMarkerTemplate)
           
 void setMarkerTemplate(int nIndex, java.awt.Polygon newPolygon)
           
 void setNoExceptionalRiser()
          Remove all exceptional risers.
 void setNoSelection()
          setNoSelection De-select all items in the selection list.
 void setNumberFormatCallBack(NumberFormatCallBack numberFormattingObject)
           
 void setO1LabelCallback(TDGNestedLabel cb)
           
 void setQuadrantLineValueX(int nIndex, double newValue)
           
 void setQuadrantLineValueY(int nIndex, double newValue)
           
 void setSelection(tdg.draw.IdentObj id)
          setSelection Sets the selection list to be the object with the given ID
 void setSelection(tdg.draw.IdentObj id, boolean bAdd)
          setSelection If bAdd is true, adds the object with the given ID to the selection list; if false, it sets the selection list to be only the specified object.
 void setSelection(tdg.draw.IdentObj id, boolean bAdd, boolean bSelectRelatedObjects)
          setSelection If bAdd is true, adds the object with the given ID to the selection list; if false, it sets the selection list to be only the specified object.
 void setSelection(java.util.Vector vList)
          setSelection Sets the selection list to be the list of objects specified by the given Vector of IdentObjs.
 void setSeriesAreRows(boolean newValue)
          Property Name: SeriesAreRows Are series stored in rows?
Default Value is (TRUE).
 void setSeriesAreRows(boolean newValue, boolean swapLabels)
           
 void setSeriesBorderColor(int s, java.awt.Color newValue)
           
 void setSeriesFillColor(int s, java.awt.Color newValue)
           
 void setShadowColor(tdg.draw.IdentObj id, java.awt.Color newValue)
           
 void setSize(java.awt.Dimension d)
           
 void setSize(int width, int height)
           
 void setTextureDisplayMode(tdg.draw.IdentObj id, int newValue)
           
 void setTextureDisplayMode(int newValue)
           
 void setTextureURL(tdg.draw.IdentObj id, java.lang.String szURL)
           
 void setTextureURL(tdg.draw.IdentObj id, java.lang.String szURL, java.awt.Image theImage)
           
 void setTextureURL(java.lang.String szURL)
           
 void setTextureURL(java.lang.String szURL, java.awt.Image theImage)
           
 void setToolTipCallBack(ToolTipCallBack toolTipObject)
           
 void setToolTipDelay(int nMilliSecDelay)
          set the object tip delay in milliseconds
 void setToolTipOff()
           
 void setToolTipOn()
           
 void setTransparentBorderColor(boolean newValue)
           
 void setTransparentBorderColor(tdg.draw.IdentObj id, boolean newValue)
           
 void setTransparentFillColor(boolean newValue)
           
 void setTransparentFillColor(tdg.draw.IdentObj id, boolean newValue)
           
 void setTrueDataCallback(TDGDataCallbackIF dataCB)
           
 void setUserToolTip(java.lang.String CustomToolTip)
           
 void setUserToolTipDefault()
           
 void setUseSampleData(boolean bNewValue)
           
 void setZoomIndex(int nIndex)
          setZoomIndex Set the current zoom state index.
 void startListeners()
           
 void stopListeners()
           
 void toggleEditControls()
           
 void translateCube(double tx, double ty, double tz)
          translateCube No Description
 void update(java.awt.Graphics g)
           
 void updateAccess()
           
 void updateParamsFromMatrix()
          updateParamsFromMatrix After calling translateCube, focusCube, rotateCubeX, rotateCubeY, rotateCubeZ, or scaleCube, call updateParamsFromMatrix to keep the rotation matrix and scalar parameters stored in the look in sync.
 

Field Detail

X_VALUE_MACRO

public static final java.lang.String X_VALUE_MACRO

Y_VALUE_MACRO

public static final java.lang.String Y_VALUE_MACRO

X_Y_VALUE_MACRO

public static final java.lang.String X_Y_VALUE_MACRO

SIZE_VALUE_MACRO

public static final java.lang.String SIZE_VALUE_MACRO

OPEN_VALUE_MACRO

public static final java.lang.String OPEN_VALUE_MACRO

HI_VALUE_MACRO

public static final java.lang.String HI_VALUE_MACRO

LOW_VALUE_MACRO

public static final java.lang.String LOW_VALUE_MACRO

CLOSE_VALUE_MACRO

public static final java.lang.String CLOSE_VALUE_MACRO

FIT_NONE

public static final int FIT_NONE

FIT_LINEAR

public static final int FIT_LINEAR

FIT_QUADRATIC

public static final int FIT_QUADRATIC

FIT_POLYNOMIAL

public static final int FIT_POLYNOMIAL

FIT_HYPERBOLIC

public static final int FIT_HYPERBOLIC

FIT_LOGARITHMIC

public static final int FIT_LOGARITHMIC

FIT_MODHYPERBOLIC

public static final int FIT_MODHYPERBOLIC

FIT_RATIONAL

public static final int FIT_RATIONAL

FIT_EXPONENTIAL

public static final int FIT_EXPONENTIAL

FIT_MODEXPONENTIAL

public static final int FIT_MODEXPONENTIAL

FIT_LOGQUADRATIC

public static final int FIT_LOGQUADRATIC

FIT_GEOMETRIC

public static final int FIT_GEOMETRIC

PFJRes

public java.util.ResourceBundle PFJRes

NO_CHART_YET

public static final int NO_CHART_YET

VIEW_ALL_DATA

public static final int VIEW_ALL_DATA

m_nToolTipMilliSecDelay

public int m_nToolTipMilliSecDelay

CubeRotationMatrixAttr

public static final tdg.Attr CubeRotationMatrixAttr
Ask the chart to optimize the data. In general, this is a no-op, but some charts can apply optimization methods.
Since:
JDK1.1
Constructor Detail

Perspective

public Perspective()
Perspective
Create an instance of Perspective
Since:
JDK1.1
See Also:
PerspectiveBase

Perspective

public Perspective(java.applet.Applet a)
Method Detail

announceLicense

public static void announceLicense()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
Implements a timer for the purpose of display management of ChartTips.
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Since:
JDK1.1
See Also:
TDGTimer

calcWithoutDrawing

public void calcWithoutDrawing()
calcWithoutDrawing - This is the Perspective for Java "dry run the graph" equivalent in PGSDK.
Since:
JDK1.1

hasBarOrMarkerSeries

public boolean hasBarOrMarkerSeries()
Is there a series displayed as a Bar or Line-with-markers?
Returns:
boolean
Since:
JDK1.1

clearDataStorage

public void clearDataStorage()
clearDataStorage - clear all data and labels from chart
Since:
JDK1.1
See Also:
Access, DataStorage

clearDataLabels

public void clearDataLabels()
clearDataLabels - clear all data labels from chart
Since:
JDK1.1

clearGroupLabels

public void clearGroupLabels()
clearGroupLabels - clear all group labels from chart
Since:
JDK1.1

clearSeriesLabels

public void clearSeriesLabels()
clearSeriesLabels - clear all series labels from chart
Since:
JDK1.1

doZoomIn

public void doZoomIn()
doZoomIn
Zoom in on the center of the chart
Since:
JDK1.1

doZoomIn

public void doZoomIn(java.awt.Point pt)
doZoomIn
Zoom in on the specified point (given in virtual coordinates)
Parameters:
pt - Point
Since:
JDK1.1

doZoomIn

public void doZoomIn(int x,
                     int y)
doZoomIn
Zoom in on the specified point (given in virtual coordinates)
Parameters:
x - int
y - int
Since:
JDK1.1

doZoomIn

public void doZoomIn(java.awt.Rectangle r)
doZoomIn
Zoom in on the specified rectangle (given in virtual coordinates)
Parameters:
rZoom - Rectangle
Since:
JDK1.1

doZoomOut

public void doZoomOut()
doZoomOut
Zoom out on the center of the chart
Since:
JDK1.1

doZoomOut

public void doZoomOut(java.awt.Point pt)
doZoomOut
Zoom out on the specified point (given in virtual coordinates)
Parameters:
pt - Point
Since:
JDK1.1

doZoomOut

public void doZoomOut(int x,
                      int y)
doZoomOut
Zoom out on the specified point (given in virtual coordinates)
Parameters:
x - int
y - int
Since:
JDK1.1

getZoomIndex

public int getZoomIndex()
getZoomIndex
Get the current zoom state's index.
Returns:
int
Since:
JDK1.1

isValidZoomIndex

public boolean isValidZoomIndex(int nIndex)
isValidZoomIndex
Is the specified zoom state index a valid one?
Parameters:
nIndex - int
Returns:
boolean
Since:
JDK1.1

isZoomingArmed

public boolean isZoomingArmed()
Is zooming enabled and ready to use?
Returns:
boolean
Since:
JDK1.1
See Also:
Perspective

setZoomIndex

public void setZoomIndex(int nIndex)
setZoomIndex
Set the current zoom state index. Used for moving among previously defined zoom levels.
Parameters:
nIndex - int
Since:
JDK1.1

clearZoomList

public void clearZoomList()
clearZoomList
Clear all entries in the zoom list except "unzoomed".
Since:
JDK1.1

getApplet

public java.applet.Applet getApplet()
getApplet
No Description
Returns:
Applet
Since:
JDK1.1

getBorderColor

public java.awt.Color getBorderColor(tdg.draw.IdentObj id)

getChartDataValid

public boolean getChartDataValid()
getChartDataValid
Make a quick check of the data to see if there is enough to make a chart.
Returns:
boolean
Since:
JDK1.1

getViewableDataRange

public tdg.DataRange getViewableDataRange()
getViewableDataRange
Return the data range (in rows and columns) that will actually be graphed.
Returns:
DataRange
Since:
JDK1.1

getViewableDataRangeSG

public tdg.DataRange getViewableDataRangeSG()
getViewableDataRangeSG
Return the data range (in series and groups) that will actually be graphed.
Returns:
DataRange
Since:
JDK1.1

getDataAsDouble

public double getDataAsDouble(int row,
                              int col)
                       throws tdg.AssertionException

getDataAsString

public java.lang.String getDataAsString(int row,
                                        int col)
                                 throws tdg.AssertionException

getDataCoord

public int getDataCoord(tdg.draw.IdentObj id)

getDataFromCoord

public double getDataFromCoord(tdg.draw.IdentObj id,
                               int nCoordVC)

getDataLabel

public java.lang.String getDataLabel(int s,
                                     int g)

getDataValue

public double getDataValue(tdg.draw.IdentObj id)

getDetectiv

public tdg.draw.Detectiv getDetectiv()
Returns:
tdg.draw.Detectiv

getZoomList

public tdg.ZoomStateList getZoomList()
Returns:
tdg.ZoomStateList

getDocumentBase

public java.net.URL getDocumentBase()

getAutoLowerSplitValue

public double getAutoLowerSplitValue(tdg.draw.IdentObj id)

getAutoHigherSplitValue

public double getAutoHigherSplitValue(tdg.draw.IdentObj id)

getEffectiveGroupOffset

public int getEffectiveGroupOffset()

getEffectiveSeriesOffset

public int getEffectiveSeriesOffset()

getEffectiveViewableGroups

public int getEffectiveViewableGroups()

getEffectiveViewableSeries

public int getEffectiveViewableSeries()

getFillColor

public java.awt.Color getFillColor(tdg.draw.IdentObj id)

getFillType

public int getFillType(tdg.draw.IdentObj id)

getFrameRect

public java.awt.Rectangle getFrameRect(boolean bInner)

getFrameDepthOffset

public java.awt.Point getFrameDepthOffset()

getGradientDirection

public int getGradientDirection(tdg.draw.IdentObj id)

getGradientNumPins

public int getGradientNumPins(tdg.draw.IdentObj id)

getGradientPinLeftColor

public java.awt.Color getGradientPinLeftColor(tdg.draw.IdentObj id,
                                              int nIndex)

getGradientPinPosition

public double getGradientPinPosition(tdg.draw.IdentObj id,
                                     int nIndex)

getGradientPinRightColor

public java.awt.Color getGradientPinRightColor(tdg.draw.IdentObj id,
                                               int nIndex)

getGraphObject

public tdg.JChart_Base getGraphObject()

getGraphType

public int getGraphType()
Property Name: GraphType
Change Chart Type
Default Value is (17).
Returns:
integer value between 0 - 94 (inclusive)

setGraphType

public void setGraphType(int newValue)
Property Name: GraphType
Change Chart Type
Default Value is (17).

getJGraphType

public tdg.JGraphType getJGraphType()

getLegendRect

public java.awt.Rectangle getLegendRect()

getLegendMinWidth

public int getLegendMinWidth()

getMarkerShape

public int getMarkerShape()

getMarkerShape

public int getMarkerShape(tdg.draw.IdentObj id)

getMarkerTemplate

public tdg.MarkerTemplate getMarkerTemplate(tdg.draw.IdentObj id)

getNumGroups

public int getNumGroups()

getNumNonIgnoredSeries

public int getNumNonIgnoredSeries()

getNumSeries

public int getNumSeries()

getNumTotalGroups

public int getNumTotalGroups()

getNumTotalSeries

public int getNumTotalSeries()

getX1ScaleMaxAutoValue

public double getX1ScaleMaxAutoValue()

getX1ScaleMinAutoValue

public double getX1ScaleMinAutoValue()

getX1MajorGridStepAutoValue

public double getX1MajorGridStepAutoValue()

getY1ScaleMaxAutoValue

public double getY1ScaleMaxAutoValue()

getY1ScaleMinAutoValue

public double getY1ScaleMinAutoValue()

getY1MajorGridStepAutoValue

public double getY1MajorGridStepAutoValue()

getY2ScaleMaxAutoValue

public double getY2ScaleMaxAutoValue()

getY2ScaleMinAutoValue

public double getY2ScaleMinAutoValue()

getY2MajorGridStepAutoValue

public double getY2MajorGridStepAutoValue()

getQuadrantLineValueX

public double getQuadrantLineValueX(int nIndex)

getQuadrantLineValueY

public double getQuadrantLineValueY(int nIndex)

getSelGroup

public int getSelGroup()

getSelSeries

public int getSelSeries()

getTexture

public java.awt.Image getTexture(java.lang.String szURL)

getTextureDisplayMode

public int getTextureDisplayMode(tdg.draw.IdentObj id)

getTexture

public java.lang.String getTexture(tdg.draw.IdentObj id)

getToolTipDelay

public int getToolTipDelay()
get the object tip delay in milliseconds

getTransparentBorderColor

public boolean getTransparentBorderColor(tdg.draw.IdentObj id)

getTransparentFillColor

public boolean getTransparentFillColor(tdg.draw.IdentObj id)

getUseSampleData

public boolean getUseSampleData()

isApplet

public boolean isApplet()
This method was created by a SmartGuide.
Returns:
boolean

isGroupScrollerPresent

public boolean isGroupScrollerPresent()
Is the group scroller drawn?
Returns:
boolean
Since:
JDK1.1

isSeriesScrollerPresent

public boolean isSeriesScrollerPresent()
Is the series scroller drawn?
Returns:
boolean
Since:
JDK1.1

getEffectiveColorMode

public int getEffectiveColorMode()
Returns the actual color mode used - if the raw setting of ColorMode is CM_AUTOMATIC, we apply the automatic color mode rules.
Returns:
int
Since:
JDK1.1

isColorByHeight

public boolean isColorByHeight()
Is this chart colored by height?
Returns:
boolean
Since:
JDK1.1
See Also:
Perspective

isColorByGroup

public boolean isColorByGroup()
Is this chart colored by group?
Returns:
boolean
Since:
JDK1.1
See Also:
Perspective

isFocusTraversable

public boolean isFocusTraversable()
Returns whether this object can accept focus or not.
Returns:
true so we can accept focus

keyTyped

public void keyTyped(java.awt.event.KeyEvent evt)
Specified by:
keyTyped in interface java.awt.event.KeyListener

keyReleased

public void keyReleased(java.awt.event.KeyEvent evt)
Specified by:
keyReleased in interface java.awt.event.KeyListener

keyPressed

public void keyPressed(java.awt.event.KeyEvent evt)
Specified by:
keyPressed in interface java.awt.event.KeyListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent evt)
Specified by:
mouseReleased in interface java.awt.event.MouseListener

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent evt)
Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent evt)
Specified by:
mouseExited in interface java.awt.event.MouseListener

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent evt)
Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener

toggleEditControls

public void toggleEditControls()

mousePressed

public void mousePressed(java.awt.event.MouseEvent evt)
Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent evt)
Specified by:
mouseClicked in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent evt)
Specified by:
mouseEntered in interface java.awt.event.MouseListener

isChartReady

public boolean isChartReady()

getChartState

public int getChartState()

beginDrawProcess

public void beginDrawProcess()

chartCreationFailed

public void chartCreationFailed(java.lang.Exception failureException)

needRecalc

public void needRecalc()

print

public void print(java.awt.Graphics g)

update

public void update(java.awt.Graphics g)

paintComponent

public void paintComponent(java.awt.Graphics g)

paint

public void paint(java.awt.Graphics g)

_paint

public void _paint(java.awt.Graphics g)

restoreAllSlices

public void restoreAllSlices()

sendGIFToFTP

public void sendGIFToFTP(java.lang.String strHost,
                         java.lang.String strUser,
                         java.lang.String strPass,
                         java.lang.String strDir,
                         java.lang.String strDestFile)

sendPNGToFile

public void sendPNGToFile(java.io.File pngFile)
Writes the chart image to the file specified, in .png format. Any errors are passed to TDGErrorListeners with an ID of TDGError.WRITE_ERROR.
Parameters:
pngFile - the file to save the image to; null not allowed

sendPNGToStream

public void sendPNGToStream(java.io.OutputStream pngStream)
Writes the chart image to the stream specified, in .png format. Any errors are passed to TDGErrorListeners with an ID of TDGError.WRITE_ERROR.
Parameters:
pngStream - the stream to write the image to; null not allowed

sendGIFToStream

public void sendGIFToStream(java.io.OutputStream outS)

sendGIFToFile

public void sendGIFToFile(java.io.OutputStream outS)

sendChartToFTP

public boolean sendChartToFTP(java.lang.String strHost,
                              java.lang.String strUser,
                              java.lang.String strPass,
                              java.lang.String strDir,
                              java.lang.String strDestFile)

getChartFromFTP

public boolean getChartFromFTP(java.lang.String strHost,
                               java.lang.String strUser,
                               java.lang.String strPass,
                               java.lang.String strDir,
                               java.lang.String strOrgFile)

sendImageMapToStream

public void sendImageMapToStream(java.io.PrintWriter outWriter,
                                 java.lang.String mapName,
                                 java.lang.String pathName,
                                 boolean bPage)

copyImageMap

public tdg.TDGImageMap copyImageMap()

setBorderColor

public void setBorderColor(java.awt.Color newValue)

setBorderColor

public void setBorderColor(tdg.draw.IdentObj id,
                           java.awt.Color newValue)

setLineWidth

public void setLineWidth(int newValue)

setLineWidth

public void setLineWidth(tdg.draw.IdentObj id,
                         int newValue)

getLineWidth

public int getLineWidth(tdg.draw.IdentObj id)

setData

public void setData(int row,
                    int col,
                    double fValue)

setData

public void setData(int row,
                    int col,
                    double fValue,
                    boolean bRecalc)

setData

public void setData(int row,
                    int col,
                    java.lang.Object obj)

setData

public void setData(int row,
                    int col,
                    java.lang.Object obj,
                    boolean bRecalc)

setDataLabel

public void setDataLabel(int s,
                         int g,
                         java.lang.String newValue)

getDataRange

public java.awt.Rectangle getDataRange()

setDataRange

public void setDataRange(int rowStop,
                         int colStop)

setDataRange

public void setDataRange(int rowStart,
                         int colStart,
                         int rowStop,
                         int colStop)

setDataRangeToExtent

public void setDataRangeToExtent()

setDataValue

public void setDataValue(tdg.draw.IdentObj id,
                         double newValue)

updateAccess

public void updateAccess()

getShadowColor

public java.awt.Color getShadowColor(tdg.draw.IdentObj id)

setShadowColor

public void setShadowColor(tdg.draw.IdentObj id,
                           java.awt.Color newValue)

setEditChart

public void setEditChart(tdg.PFJEditor Editor,
                         boolean EditOnOff)

setEditChart

public void setEditChart(boolean EditOnOff)

setEditZoom

public void setEditZoom(boolean EditZoom)

getExceptionalRiser

public tdg.draw.IdentObj getExceptionalRiser(int s,
                                             int g)
Returns the exceptional riser specified by series and group. Note that s and g are ABSOLUTE series and group (not relative to the current viewable data range).
Parameters:
s - int
g - int
Returns:
IdentObj
Since:
JDK1.1

getExceptionalRisers

public java.util.Hashtable getExceptionalRisers()
Returns the entire hashtable of exceptional risers.
Returns:
Hashtable
Since:
JDK1.1

setExceptionalRiser

public void setExceptionalRiser()
Create an exceptional riser using the current selection. Now that we are using getEffective* methods, this code depends on already knowing the number of groups and series in the data range.
Since:
JDK1.1

setExceptionalRiser

public void setExceptionalRiser(int s,
                                int g)
Create an exceptional riser using the specified series and group. Note that s and g are ABSOLUTE series and group (not relative to the current viewable data range).
Parameters:
s - int
g - int
Since:
JDK1.1

setNoExceptionalRiser

public void setNoExceptionalRiser()
Remove all exceptional risers.
Since:
JDK1.1

isExceptionalAllowed

public boolean isExceptionalAllowed()
Returns true if exceptional risers are allowed for the current graph type.
Returns:
boolean
Since:
JDK1.1

setFillColor

public void setFillColor(java.awt.Color newValue)

setFillColor

public void setFillColor(tdg.draw.IdentObj id,
                         java.awt.Color newValue)

setFillType

public void setFillType(int newValue)

setFillType

public void setFillType(tdg.draw.IdentObj id,
                        int newValue)

setGradientDirection

public void setGradientDirection(int newValue)

setGradientDirection

public void setGradientDirection(tdg.draw.IdentObj id,
                                 int newValue)

insertGradientPin

public void insertGradientPin(tdg.draw.IdentObj id,
                              double newPin,
                              java.awt.Color leftColor,
                              java.awt.Color rightColor)
Do everything necessary to add a new pin.
Parameters:
id - IdentObj
newPin - double
leftColor - Color
rightColor - Color
Since:
JDK1.1

setGradientNumPins

public void setGradientNumPins(int newValue)

setGradientNumPins

public void setGradientNumPins(tdg.draw.IdentObj id,
                               int newValue)

setGradientPinLeftColor

public void setGradientPinLeftColor(java.awt.Color newValue,
                                    int nIndex)

setGradientPinLeftColor

public void setGradientPinLeftColor(tdg.draw.IdentObj id,
                                    java.awt.Color newValue,
                                    int nIndex)

setGradientPinPosition

public void setGradientPinPosition(double newValue,
                                   int nIndex)

setGradientPinPosition

public void setGradientPinPosition(tdg.draw.IdentObj id,
                                   double newValue,
                                   int nIndex)

setGradientPinRightColor

public void setGradientPinRightColor(java.awt.Color newValue,
                                     int nIndex)

setGradientPinRightColor

public void setGradientPinRightColor(tdg.draw.IdentObj id,
                                     java.awt.Color newValue,
                                     int nIndex)

getNextMarkerTemplateSlot

public int getNextMarkerTemplateSlot()

registerMarkerTemplate

public int registerMarkerTemplate(java.awt.Polygon newPolygon)

registerMarkerTemplate

public int registerMarkerTemplate(tdg.MarkerTemplate newMarkerTemplate)

setMarkerTemplate

public void setMarkerTemplate(int nIndex,
                              java.awt.Polygon newPolygon)

setMarkerTemplate

public void setMarkerTemplate(int nIndex,
                              tdg.MarkerTemplate newMarkerTemplate)

setMarkerShape

public void setMarkerShape(int integerMarkerShape)

setMarkerShape

public void setMarkerShape(tdg.draw.IdentObj id,
                           int integerMarkerShape)

setLegendRect

public void setLegendRect(java.awt.Rectangle newValue)

setLegendRect

public void setLegendRect(java.awt.Rectangle newValue,
                          boolean bSetRecalc)

setQuadrantLineValueX

public void setQuadrantLineValueX(int nIndex,
                                  double newValue)

setQuadrantLineValueY

public void setQuadrantLineValueY(int nIndex,
                                  double newValue)

getSeriesBorderColor

public java.awt.Color getSeriesBorderColor(int s)

setSeriesBorderColor

public void setSeriesBorderColor(int s,
                                 java.awt.Color newValue)

getSeriesFillColor

public java.awt.Color getSeriesFillColor(int s)

setSeriesFillColor

public void setSeriesFillColor(int s,
                               java.awt.Color newValue)

getSeriesAreRows

public boolean getSeriesAreRows()
Property Name: SeriesAreRows
Are series stored in rows?
Default Value is (TRUE).
Returns:
boolean

setSeriesAreRows

public void setSeriesAreRows(boolean newValue)
Property Name: SeriesAreRows
Are series stored in rows?
Default Value is (TRUE).

setSeriesAreRows

public void setSeriesAreRows(boolean newValue,
                             boolean swapLabels)

setTextureDisplayMode

public void setTextureDisplayMode(int newValue)

setTextureDisplayMode

public void setTextureDisplayMode(tdg.draw.IdentObj id,
                                  int newValue)

setTextureURL

public void setTextureURL(java.lang.String szURL)

setTextureURL

public void setTextureURL(tdg.draw.IdentObj id,
                          java.lang.String szURL)

setTextureURL

public void setTextureURL(java.lang.String szURL,
                          java.awt.Image theImage)

setTextureURL

public void setTextureURL(tdg.draw.IdentObj id,
                          java.lang.String szURL,
                          java.awt.Image theImage)

setDynamicToolTip

public void setDynamicToolTip(java.lang.String aTooltip)

setToolTipOff

public void setToolTipOff()

setToolTipOn

public void setToolTipOn()

setToolTipDelay

public void setToolTipDelay(int nMilliSecDelay)
set the object tip delay in milliseconds

setUserToolTipDefault

public void setUserToolTipDefault()

setUserToolTip

public void setUserToolTip(java.lang.String CustomToolTip)

setDeveloperToolTipDefault

public void setDeveloperToolTipDefault()

setDeveloperToolTip

public void setDeveloperToolTip(java.lang.String CustomToolTip)

setTransparentBorderColor

public void setTransparentBorderColor(tdg.draw.IdentObj id,
                                      boolean newValue)

setTransparentBorderColor

public void setTransparentBorderColor(boolean newValue)

setTransparentFillColor

public void setTransparentFillColor(tdg.draw.IdentObj id,
                                    boolean newValue)

setTransparentFillColor

public void setTransparentFillColor(boolean newValue)

getMinimumSize

public java.awt.Dimension getMinimumSize()

setSize

public void setSize(java.awt.Dimension d)

setSize

public void setSize(int width,
                    int height)

setBounds

public void setBounds(java.awt.Rectangle r)

setBounds

public void setBounds(int x,
                      int y,
                      int width,
                      int height)

inputParamString

public void inputParamString(java.lang.String szInString)

restoreDefaults

public void restoreDefaults()

outputParamString

public java.lang.String outputParamString()

load

public void load(java.lang.String szURL,
                 boolean bMerge)
          throws java.io.IOException

load

public void load(java.io.InputStream is,
                 boolean bMerge)

save

public void save(java.io.OutputStream os)
          throws java.io.IOException

save

public void save(java.io.OutputStream os,
                 java.lang.String ChartObjectName)
          throws java.io.IOException

perspectiveEvent

public void perspectiveEvent(TDGEvent e)
Specified by:
perspectiveEvent in interface TDGListener

errorEvent

public void errorEvent(tdg.event.TDGError e)

getVC

public tdg.VC getVC()

isChartDualY

public boolean isChartDualY()

isChartBipolar

public boolean isChartBipolar()

isChartOrientHorz

public boolean isChartOrientHorz()

isChart3DType

public boolean isChart3DType()

isChartPieType

public boolean isChartPieType()

isChartBLAType

public boolean isChartBLAType()

isChartStockType

public boolean isChartStockType()

isChartScatter

public boolean isChartScatter()

isO1AxisPresent

public boolean isO1AxisPresent()
Does this chart type have the O1 axis?
Returns:
boolean
Since:
JDK1.1

isO2AxisPresent

public boolean isO2AxisPresent()
Does this chart type have the O2 axis?
Returns:
boolean
Since:
JDK1.1

isX1AxisPresent

public boolean isX1AxisPresent()
Does this chart type have the X1 axis?
Returns:
boolean
Since:
JDK1.1

isY1AxisPresent

public boolean isY1AxisPresent()
Does this chart type have the Y1 axis?
Returns:
boolean
Since:
JDK1.1

isY2AxisPresent

public boolean isY2AxisPresent()
Does this chart type have the Y2 axis?
Returns:
boolean
Since:
JDK1.1

isZ1AxisPresent

public boolean isZ1AxisPresent()
Does this chart type have the Z1 axis?
Returns:
boolean
Since:
JDK1.1

isSelection

public boolean isSelection()

getSelectionSize

public int getSelectionSize()

getSelectionID

public tdg.draw.IdentObj getSelectionID()

isSelectionSeriesRelated

public boolean isSelectionSeriesRelated()

isSelectionText

public boolean isSelectionText()

isSelectionLine

public boolean isSelectionLine()

isSelectionRiser

public boolean isSelectionRiser()

isSelectionDataLabel

public boolean isSelectionDataLabel()

isSelectionGridLine

public boolean isSelectionGridLine()

isSelectionCube

public boolean isSelectionCube()

isSelectionLegend

public boolean isSelectionLegend()

isSelectionFillColorTransparent

public boolean isSelectionFillColorTransparent()

isSelectionBorderColorTransparent

public boolean isSelectionBorderColorTransparent()

setSelection

public void setSelection(tdg.draw.IdentObj id)
setSelection
Sets the selection list to be the object with the given ID
Parameters:
id - IdentObj
Since:
JDK1.1

setSelection

public void setSelection(tdg.draw.IdentObj id,
                         boolean bAdd)
setSelection
If bAdd is true, adds the object with the given ID to the selection list; if false, it sets the selection list to be only the specified object.
Parameters:
id - IdentObj
bAdd - boolean
Since:
JDK1.1

setNoSelection

public void setNoSelection()
setNoSelection
De-select all items in the selection list.
Since:
JDK1.1

setSelection

public void setSelection(tdg.draw.IdentObj id,
                         boolean bAdd,
                         boolean bSelectRelatedObjects)
setSelection
If bAdd is true, adds the object with the given ID to the selection list; if false, it sets the selection list to be only the specified object. If the bSelectRelatedObjects is true, related objects are also selected.
Parameters:
id - IdentObj
bAdd - boolean
bSelectRelatedObjects - boolean
Since:
JDK1.1

setSelection

public void setSelection(java.util.Vector vList)
setSelection
Sets the selection list to be the list of objects specified by the given Vector of IdentObjs.
Parameters:
vList - Vector
Since:
JDK1.1

getSelection

public java.util.Vector getSelection()
getSelection
Gets the selection list, a list of "SelectObj" objects.
Returns:
Vector
Since:
JDK1.1

getSelectionFillColor

public java.awt.Color getSelectionFillColor()

getSelectionBorderColor

public java.awt.Color getSelectionBorderColor()

getSelectionLineWidth

public int getSelectionLineWidth()

setToolTipCallBack

public void setToolTipCallBack(ToolTipCallBack toolTipObject)

getToolTipCallBack

public ToolTipCallBack getToolTipCallBack()

isToolTipCallBack

public boolean isToolTipCallBack()

setNumberFormatCallBack

public void setNumberFormatCallBack(NumberFormatCallBack numberFormattingObject)

getNumberFormatCallBack

public NumberFormatCallBack getNumberFormatCallBack()

isNumberFormatCallBack

public boolean isNumberFormatCallBack()

setO1LabelCallback

public void setO1LabelCallback(TDGNestedLabel cb)

getO1LabelCallBack

public TDGNestedLabel getO1LabelCallBack()

setBadDogCallback

public void setBadDogCallback(tdg.BadDogCallback cb)

getBadDogCallBack

public tdg.BadDogCallback getBadDogCallBack()

setTrueDataCallback

public void setTrueDataCallback(TDGDataCallbackIF dataCB)

getTrueDataCallback

public TDGDataCallbackIF getTrueDataCallback()

getPreScaleCallback

public TDGPreScaleIF getPreScaleCallback()

setDataFromCallBack

public void setDataFromCallBack(TDGDataGrid grid)

getDataGridCallback

public TDGDataGrid getDataGridCallback()

setDataFromDataGrid

public void setDataFromDataGrid(TDGDataGrid grid)

setDataFromSQL

public void setDataFromSQL(java.lang.String SQLQuery,
                           java.sql.Statement aStmt)

setDataFromResultSet

public void setDataFromResultSet(java.sql.ResultSet rs)
                          throws java.sql.SQLException

isSQLTypeNumeric

public boolean isSQLTypeNumeric(int SQLType)

isSQLTypeString

public boolean isSQLTypeString(int SQLType)

setUseSampleData

public void setUseSampleData(boolean bNewValue)

setDataFileURL

public void setDataFileURL(java.lang.String aDataFileURL)
                    throws tdg.AssertionException

setDataStream

public void setDataStream(java.io.InputStream in)
                   throws tdg.AssertionException

setLocale

public void setLocale(java.util.Locale aLocale)

getLocale

public java.util.Locale getLocale()

startListeners

public void startListeners()

stopListeners

public void stopListeners()

askForRelease

public void askForRelease()
Tell sub-objects to releases references to this object to avoid confusing the gc with circular references.
Since:
JDK1.1

optimizeData

public boolean optimizeData()
Ask the chart to optimize the data. In general, this is a no-op, but some charts can apply optimization methods.
Returns:
Whether any optimization was successfully done
Since:
JDK1.1

reloadOriginalData

public void reloadOriginalData()
Called when the "original data" should be reloaded, either because it has changed, or the user wants to back out a tweak or optimization.
Since:
JDK1.1

focusCube

public void focusCube(double focusFactor)
focusCube
No Description
Parameters:
focusFactor - double
Since:
JDK1.1
See Also:
JChart_3D

getCubeRotationMatrix

public tdg.model3d.Matrix3d getCubeRotationMatrix()

rotateCubeX

public void rotateCubeX(double degreesX)
rotateCubeX
No Description
Parameters:
degreesX - double
Since:
JDK1.1
See Also:
JChart_3D

rotateCubeY

public void rotateCubeY(double degreesY)
rotateCubeY
No Description
Parameters:
degreesY - double
Since:
JDK1.1
See Also:
JChart_3D

rotateCubeZ

public void rotateCubeZ(double degreesZ)
rotateCubeZ
No Description
Parameters:
degreesZ - double
Since:
JDK1.1
See Also:
JChart_3D

scaleCube

public void scaleCube(double scaleFactor)
scaleCube
No Description
Parameters:
scaleFactor - double
Since:
JDK1.1
See Also:
JChart_3D

setCubeRotationMatrix

public void setCubeRotationMatrix(double rx,
                                  double ry,
                                  double rz)

setCubeRotationMatrix

public void setCubeRotationMatrix(tdg.model3d.Matrix3d m)

setCubeRotationMatrix

public void setCubeRotationMatrix(double m00,
                                  double m01,
                                  double m02,
                                  double m10,
                                  double m11,
                                  double m12,
                                  double m20,
                                  double m21,
                                  double m22)

translateCube

public void translateCube(double tx,
                          double ty,
                          double tz)
translateCube
No Description
Parameters:
tx - double
ty - double
tz - double
Since:
JDK1.1
See Also:
JChart_3D

updateParamsFromMatrix

public void updateParamsFromMatrix()
updateParamsFromMatrix After calling translateCube, focusCube, rotateCubeX, rotateCubeY, rotateCubeZ, or scaleCube, call updateParamsFromMatrix to keep the rotation matrix and scalar parameters stored in the look in sync.
Parameters:
tx - double
ty - double
tz - double
Since:
JDK1.1
See Also:
JChart_3D

saveNonMatrixTransformParameters

public void saveNonMatrixTransformParameters()
saveNonMatrixTransformParams Saves the non-marix trnasformation parameters: pan, scalecube, focus, etc. So they can be restored by the user.
Parameters:
none -  
Since:
JDK1.1
See Also:
JChart_3D

resetNonMatrixTransformParameters

public void resetNonMatrixTransformParameters()
resetNonMatrixTransformParams Resets the non-marix trnasformation parameters: pan, scalecube, focus, etc. from a previous save.
Parameters:
none -  
Since:
JDK1.1
See Also:
JChart_3D