All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tdg.Perspective

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----javax.swing.JComponent
                           |
                           +----javax.swing.JPanel
                                   |
                                   +----tdg.PerspectiveBase
                                           |
                                           +----tdg.Perspective

public class Perspective
extends PerspectiveBase
implements Serializable, MouseListener, MouseMotionListener, TDGListener, TDGErrorListener, ActionListener, chartingClient, KeyListener
class Perspective - The public interface to Perspective for Java. Copyright (c) 1997 Three D Graphics, Inc. All Rights Reserved.

See Also:
JGraphType, ToolTipCallBack

Variable Index

 o CLOSE_VALUE_MACRO
 o CubeRotationMatrixAttr
 o HI_VALUE_MACRO
 o LOW_VALUE_MACRO
 o NO_CHART_YET
 o OPEN_VALUE_MACRO
 o PFJRes
 o SIZE_VALUE_MACRO
 o ToolTipDelay
 o VIEW_ALL_DATA
 o X_VALUE_MACRO
 o X_Y_VALUE_MACRO
 o Y_VALUE_MACRO

Constructor Index

 o Perspective()
Perspective
Create an instance of Perspective
 o Perspective(Applet)

Method Index

 o _paint(Graphics)
 o actionPerformed(ActionEvent)
actionPerformed
Implements a timer for the purpose of display management of ChartTips.
 o announceLicense()
 o beginDrawProcess()
 o chartCreationFailed(Exception)
 o clearDataLabels()
clearDataLabels - clear all data labels from chart
 o clearDataStorage()
clearDataStorage - clear all data and labels from chart
 o clearGroupLabels()
clearGroupLabels - clear all group labels from chart
 o clearSeriesLabels()
clearSeriesLabels - clear all series labels from chart
 o clearZoomList()
clearZoomList
Clear all entries in the zoom list except "unzoomed".
 o doZoomIn()
doZoomIn
Zoom in on the center of the chart
 o doZoomIn(int, int)
doZoomIn
Zoom in on the specified point (given in virtual coordinates)
 o doZoomIn(Point)
doZoomIn
Zoom in on the specified point (given in virtual coordinates)
 o doZoomIn(Rectangle)
doZoomIn
Zoom in on the specified rectangle (given in virtual coordinates)
 o doZoomOut()
doZoomOut
Zoom out on the center of the chart
 o doZoomOut(int, int)
doZoomOut
Zoom out on the specified point (given in virtual coordinates)
 o doZoomOut(Point)
doZoomOut
Zoom out on the specified point (given in virtual coordinates)
 o errorEvent(TDGError)
 o focusCube(double)
focusCube
No Description
 o getApplet()
getApplet
No Description
 o getBadDogCallBack()
 o getBorderColor(IdentObj)
 o getChartDataValid()
getChartDataValid
Make a quick check of the data to see if there is enough to make a chart.
 o getChartFromFTP(String, String, String, String, String)
 o getChartState()
 o getCubeRotationMatrix()
 o getDataAsDouble(int, int)
 o getDataAsString(int, int)
 o getDataCoord(IdentObj)
 o getDataFromCoord(IdentObj, int)
 o getDataLabel(int, int)
 o getDataRange()
 o getDataValue(IdentObj)
 o getDetectiv()
 o getDocumentBase()
 o getEffectiveGroupOffset()
 o getEffectiveSeriesOffset()
 o getEffectiveViewableGroups()
 o getEffectiveViewableSeries()
 o getExceptionalRiser(int, int)
Returns the exceptional riser specified by series and group.
 o getExceptionalRisers()
Returns the entire hashtable of exceptional risers.
 o getFillColor(IdentObj)
 o getFillType(IdentObj)
 o getFrameDepthOffset()
 o getFrameRect(boolean)
 o getGradientDirection(IdentObj)
 o getGradientNumPins(IdentObj)
 o getGradientPinLeftColor(IdentObj, int)
 o getGradientPinPosition(IdentObj, int)
 o getGradientPinRightColor(IdentObj, int)
 o getGraphObject()
 o getGraphType()
Property Name: GraphType
Change Chart Type
Default Value is (17).
 o getJGraphType()
 o getLegendOrient()
 o getLegendRect()
 o getLineWidth(IdentObj)
 o getLocale()
 o getMarkerShape()
 o getMarkerShape(IdentObj)
 o getMarkerTemplate(IdentObj)
 o getMinimumSize()
 o getNextMarkerTemplateSlot()
 o getNumberFormatCallBack()
 o getNumGroups()
 o getNumNonIgnoredSeries()
 o getNumSeries()
 o getNumTotalGroups()
 o getNumTotalSeries()
 o getO1LabelCallBack()
 o getQuadrantLineValueX(int)
 o getQuadrantLineValueY(int)
 o getSelection()
getSelection
Gets the selection list, a list of "SelectObj" objects.
 o getSelectionBorderColor()
 o getSelectionFillColor()
 o getSelectionID()
 o getSelectionLineWidth()
 o getSelectionSize()
 o getSelGroup()
 o getSelSeries()
 o getSeriesAreRows()
Property Name: SeriesAreRows
Are series stored in rows?
Default Value is (TRUE).
 o getSeriesBorderColor(int)
 o getSeriesFillColor(int)
 o getShadowColor(IdentObj)
 o getTexture(IdentObj)
 o getTexture(String)
 o getTextureDisplayMode(IdentObj)
 o getToolTipCallBack()
 o getToolTipDelay()
get the object tip delay in milliseconds
 o getTransparentBorderColor(IdentObj)
 o getTransparentFillColor(IdentObj)
 o getUseSampleData()
 o getVC()
 o getViewableDataRange()
getViewableDataRange
Return the data range (in rows and columns) that will actually be graphed.
 o getViewableDataRangeSG()
getViewableDataRangeSG
Return the data range (in series and groups) that will actually be graphed.
 o getX1MajorGridStepAutoValue()
 o getX1ScaleMaxAutoValue()
 o getX1ScaleMinAutoValue()
 o getY1MajorGridStepAutoValue()
 o getY1ScaleMaxAutoValue()
 o getY1ScaleMinAutoValue()
 o getY2MajorGridStepAutoValue()
 o getY2ScaleMaxAutoValue()
 o getY2ScaleMinAutoValue()
 o getZoomIndex()
getZoomIndex
Get the current zoom state's index.
 o getZoomList()
 o inputParamString(String)
 o insertGradientPin(IdentObj, double, Color, Color)
Do everything necessary to add a new pin.
 o isApplet()
This method was created by a SmartGuide.
 o isChart3DType()
 o isChartBipolar()
 o isChartBLAType()
 o isChartDualY()
 o isChartOrientHorz()
 o isChartPieType()
 o isChartReady()
 o isChartScatter()
 o isChartStockType()
 o isColorByGroup()
Is this chart colored by group?
 o isColorByHeight()
Is this chart colored by height?
 o isExceptionalAllowed()
Returns true if exceptional risers are allowed for the current graph type.
 o isFocusTraversable()
Returns whether this object can accept focus or not.
 o isGroupScrollerPresent()
Is the group scroller drawn?
 o isNumberFormatCallBack()
 o isO1AxisPresent()
Does this chart type have the O1 axis?
 o isO2AxisPresent()
Does this chart type have the O2 axis?
 o isSelection()
 o isSelectionBorderColorTransparent()
 o isSelectionCube()
 o isSelectionDataLabel()
 o isSelectionFillColorTransparent()
 o isSelectionGridLine()
 o isSelectionLegend()
 o isSelectionLine()
 o isSelectionRiser()
 o isSelectionSeriesRelated()
 o isSelectionText()
 o isSeriesScrollerPresent()
Is the series scroller drawn?
 o isSQLTypeNumeric(int)
 o isSQLTypeString(int)
 o isToolTipCallBack()
 o isValidZoomIndex(int)
isValidZoomIndex
Is the specified zoom state index a valid one?
 o isX1AxisPresent()
Does this chart type have the X1 axis?
 o isY1AxisPresent()
Does this chart type have the Y1 axis?
 o isY2AxisPresent()
Does this chart type have the Y2 axis?
 o isZ1AxisPresent()
Does this chart type have the Z1 axis?
 o isZoomingArmed()
Is zooming enabled and ready to use?
 o keyPressed(KeyEvent)
 o keyReleased(KeyEvent)
 o keyTyped(KeyEvent)
 o load(InputStream, boolean)
 o load(String, boolean)
 o mouseClicked(MouseEvent)
 o mouseDragged(MouseEvent)
 o mouseEntered(MouseEvent)
 o mouseExited(MouseEvent)
 o mouseMoved(MouseEvent)
 o mousePressed(MouseEvent)
 o mouseReleased(MouseEvent)
 o needRecalc()
 o outputParamString()
 o paint(Graphics)
 o paintComponent(Graphics)
 o perspectiveEvent(TDGEvent)
 o print(Graphics)
 o registerMarkerTemplate(MarkerTemplate)
 o registerMarkerTemplate(Polygon)
 o restoreAllSlices()
 o restoreDefaults()
 o rotateCubeX(double)
rotateCubeX
No Description
 o rotateCubeY(double)
rotateCubeY
No Description
 o rotateCubeZ(double)
rotateCubeZ
No Description
 o save(OutputStream)
 o save(OutputStream, String)
 o scaleCube(double)
scaleCube
No Description
 o sendChartToFTP(String, String, String, String, String)
 o sendGIFToFile(OutputStream)
 o sendGIFToFTP(String, String, String, String, String)
 o sendGIFToStream(OutputStream)
 o sendImageMapToStream(PrintWriter, String)
 o setBadDogCallback(BadDogCallback)
 o setBorderColor(Color)
 o setBorderColor(IdentObj, Color)
 o setBounds(int, int, int, int)
 o setBounds(Rectangle)
 o setCubeRotationMatrix(double, double, double)
 o setCubeRotationMatrix(double, double, double, double, double, double, double, double, double)
 o setCubeRotationMatrix(Matrix3d)
 o setData(int, int, double)
 o setData(int, int, double, boolean)
 o setData(int, int, Object)
 o setData(int, int, Object, boolean)
 o setDataFileURL(String)
 o setDataFromCallBack(TDGDataGrid)
 o setDataFromDataGrid(TDGDataGrid)
 o setDataFromResultSet(ResultSet)
 o setDataFromSQL(String, Statement)
 o setDataLabel(int, int, String)
 o setDataRange(int, int)
 o setDataRange(int, int, int, int)
 o setDataRangeToExtent()
 o setDataStream(InputStream)
 o setDataValue(IdentObj, double)
 o setDeveloperToolTip(String)
 o setDeveloperToolTipDefault()
 o setDynamicToolTip(String)
 o setEditChart(boolean)
 o setEditChart(PFJEditor, boolean)
 o setEditZoom(boolean)
 o setExceptionalRiser()
Create an exceptional riser using the current selection.
 o setExceptionalRiser(int, int)
Create an exceptional riser using the specified series and group.
 o setFillColor(Color)
 o setFillColor(IdentObj, Color)
 o setFillType(IdentObj, int)
 o setFillType(int)
 o setFontSize(IdentObj, int)
 o setFontSize(int)
 o setGradientDirection(IdentObj, int)
 o setGradientDirection(int)
 o setGradientNumPins(IdentObj, int)
 o setGradientNumPins(int)
 o setGradientPinLeftColor(Color, int)
 o setGradientPinLeftColor(IdentObj, Color, int)
 o setGradientPinPosition(double, int)
 o setGradientPinPosition(IdentObj, double, int)
 o setGradientPinRightColor(Color, int)
 o setGradientPinRightColor(IdentObj, Color, int)
 o setGraphType(int)
Property Name: GraphType
Change Chart Type
Default Value is (17).
 o setLegendOrient(int)
 o setLegendRect(Rectangle)
 o setLegendRect(Rectangle, boolean)
 o setLineWidth(IdentObj, int)
 o setLineWidth(int)
 o setLocale(Locale)
 o setMarkerShape(IdentObj, int)
 o setMarkerShape(int)
 o setMarkerTemplate(int, MarkerTemplate)
 o setMarkerTemplate(int, Polygon)
 o setNoExceptionalRiser()
Remove all exceptional risers.
 o setNumberFormatCallBack(NumberFormatCallBack)
 o setO1LabelCallback(TDGNestedLabel)
 o setQuadrantLineValueX(int, double)
 o setQuadrantLineValueY(int, double)
 o setSelection(IdentObj)
setSelection
Sets the selection list to be the object with the given ID
 o setSelection(IdentObj, boolean)
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.
 o setSelection(IdentObj, boolean, boolean)
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.
 o setSelection(Vector)
setSelection
Sets the selection list to be the list of objects specified by the given Vector of IdentObjs.
 o setSeriesAreRows(boolean)
Property Name: SeriesAreRows
Are series stored in rows?
Default Value is (TRUE).
 o setSeriesAreRows(boolean, boolean)
 o setSeriesBorderColor(int, Color)
 o setSeriesFillColor(int, Color)
 o setShadowColor(IdentObj, Color)
 o setSize(Dimension)
 o setSize(int, int)
 o setTextureDisplayMode(IdentObj, int)
 o setTextureDisplayMode(int)
 o setTextureURL(IdentObj, String)
 o setTextureURL(String)
 o setToolTipCallBack(ToolTipCallBack)
 o setToolTipDelay(int)
set the object tip delay in milliseconds
 o setToolTipOff()
 o setToolTipOn()
 o setTransparentBorderColor(boolean)
 o setTransparentBorderColor(IdentObj, boolean)
 o setTransparentFillColor(boolean)
 o setTransparentFillColor(IdentObj, boolean)
 o setUserToolTip(String)
 o setUserToolTipDefault()
 o setUseSampleData(boolean)
 o setZoomIndex(int)
setZoomIndex
Set the current zoom state index.
 o startListeners()
 o stopListeners()
 o toggleEditControls()
 o translateCube(double, double, double)
translateCube
No Description
 o update(Graphics)
 o updateAccess()
 o 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.

Variables

 o X_VALUE_MACRO
 public static final String X_VALUE_MACRO
 o Y_VALUE_MACRO
 public static final String Y_VALUE_MACRO
 o X_Y_VALUE_MACRO
 public static final String X_Y_VALUE_MACRO
 o SIZE_VALUE_MACRO
 public static final String SIZE_VALUE_MACRO
 o OPEN_VALUE_MACRO
 public static final String OPEN_VALUE_MACRO
 o HI_VALUE_MACRO
 public static final String HI_VALUE_MACRO
 o LOW_VALUE_MACRO
 public static final String LOW_VALUE_MACRO
 o CLOSE_VALUE_MACRO
 public static final String CLOSE_VALUE_MACRO
 o PFJRes
 public ResourceBundle PFJRes
 o NO_CHART_YET
 public static final int NO_CHART_YET
 o VIEW_ALL_DATA
 public static final int VIEW_ALL_DATA
 o ToolTipDelay
 public int ToolTipDelay
 o CubeRotationMatrixAttr
 public static final int CubeRotationMatrixAttr

Constructors

 o Perspective
 public Perspective()
Perspective
Create an instance of Perspective

See Also:
PerspectiveBase
 o Perspective
 public Perspective(Applet a)

Methods

 o announceLicense
 public static void announceLicense()
 o actionPerformed
 public void actionPerformed(ActionEvent event)
actionPerformed
Implements a timer for the purpose of display management of ChartTips.

See Also:
TDGTimer
 o clearDataStorage
 public void clearDataStorage()
clearDataStorage - clear all data and labels from chart

See Also:
Access, DataStorage
 o clearDataLabels
 public void clearDataLabels()
clearDataLabels - clear all data labels from chart

 o clearGroupLabels
 public void clearGroupLabels()
clearGroupLabels - clear all group labels from chart

 o clearSeriesLabels
 public void clearSeriesLabels()
clearSeriesLabels - clear all series labels from chart

 o doZoomIn
 public void doZoomIn()
doZoomIn
Zoom in on the center of the chart

 o doZoomIn
 public void doZoomIn(Point pt)
doZoomIn
Zoom in on the specified point (given in virtual coordinates)

Parameters:
pt - Point
 o doZoomIn
 public void doZoomIn(int x,
                      int y)
doZoomIn
Zoom in on the specified point (given in virtual coordinates)

Parameters:
x - int
y - int
 o doZoomIn
 public void doZoomIn(Rectangle r)
doZoomIn
Zoom in on the specified rectangle (given in virtual coordinates)

Parameters:
rZoom - Rectangle
 o doZoomOut
 public void doZoomOut()
doZoomOut
Zoom out on the center of the chart

 o doZoomOut
 public void doZoomOut(Point pt)
doZoomOut
Zoom out on the specified point (given in virtual coordinates)

Parameters:
pt - Point
 o doZoomOut
 public void doZoomOut(int x,
                       int y)
doZoomOut
Zoom out on the specified point (given in virtual coordinates)

Parameters:
x - int
y - int
 o getZoomIndex
 public int getZoomIndex()
getZoomIndex
Get the current zoom state's index.

Returns:
int
 o isValidZoomIndex
 public boolean isValidZoomIndex(int nIndex)
isValidZoomIndex
Is the specified zoom state index a valid one?

Parameters:
nIndex - int
Returns:
boolean
 o isZoomingArmed
 public boolean isZoomingArmed()
Is zooming enabled and ready to use?

Returns:
boolean
See Also:
Perspective
 o setZoomIndex
 public void setZoomIndex(int nIndex)
setZoomIndex
Set the current zoom state index. Used for moving among previously defined zoom levels.

Parameters:
nIndex - int
 o clearZoomList
 public void clearZoomList()
clearZoomList
Clear all entries in the zoom list except "unzoomed".

 o getApplet
 public Applet getApplet()
getApplet
No Description

Returns:
Applet
 o getBorderColor
 public Color getBorderColor(IdentObj id)
 o getChartDataValid
 public boolean getChartDataValid()
getChartDataValid
Make a quick check of the data to see if there is enough to make a chart.

Returns:
boolean
 o getViewableDataRange
 public DataRange getViewableDataRange()
getViewableDataRange
Return the data range (in rows and columns) that will actually be graphed.

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

Returns:
DataRange
 o getDataAsDouble
 public double getDataAsDouble(int row,
                               int col) throws AssertionException
 o getDataAsString
 public String getDataAsString(int row,
                               int col) throws AssertionException
 o getDataCoord
 public int getDataCoord(IdentObj id)
 o getDataFromCoord
 public double getDataFromCoord(IdentObj id,
                                int nCoordVC)
 o getDataLabel
 public String getDataLabel(int s,
                            int g)
 o getDataValue
 public double getDataValue(IdentObj id)
 o getDetectiv
 public Detectiv getDetectiv()
Returns:
tdg.draw.Detectiv
 o getZoomList
 public ZoomStateList getZoomList()
Returns:
tdg.ZoomStateList
 o getDocumentBase
 public URL getDocumentBase()
 o getEffectiveGroupOffset
 public int getEffectiveGroupOffset()
 o getEffectiveSeriesOffset
 public int getEffectiveSeriesOffset()
 o getEffectiveViewableGroups
 public int getEffectiveViewableGroups()
 o getEffectiveViewableSeries
 public int getEffectiveViewableSeries()
 o getFillColor
 public Color getFillColor(IdentObj id)
 o getFillType
 public int getFillType(IdentObj id)
 o getFrameRect
 public Rectangle getFrameRect(boolean bInner)
 o getFrameDepthOffset
 public Point getFrameDepthOffset()
 o getGradientDirection
 public int getGradientDirection(IdentObj id)
 o getGradientNumPins
 public int getGradientNumPins(IdentObj id)
 o getGradientPinLeftColor
 public Color getGradientPinLeftColor(IdentObj id,
                                      int nIndex)
 o getGradientPinPosition
 public double getGradientPinPosition(IdentObj id,
                                      int nIndex)
 o getGradientPinRightColor
 public Color getGradientPinRightColor(IdentObj id,
                                       int nIndex)
 o getGraphObject
 public JChart_Base getGraphObject()
 o getGraphType
 public int getGraphType()
Property Name: GraphType
Change Chart Type
Default Value is (17).

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

 o getJGraphType
 public JGraphType getJGraphType()
 o getLegendRect
 public Rectangle getLegendRect()
 o getMarkerShape
 public int getMarkerShape()
 o getMarkerShape
 public int getMarkerShape(IdentObj id)
 o getMarkerTemplate
 public MarkerTemplate getMarkerTemplate(IdentObj id)
 o getNumGroups
 public int getNumGroups()
 o getNumNonIgnoredSeries
 public int getNumNonIgnoredSeries()
 o getNumSeries
 public int getNumSeries()
 o getNumTotalGroups
 public int getNumTotalGroups()
 o getNumTotalSeries
 public int getNumTotalSeries()
 o getX1ScaleMaxAutoValue
 public double getX1ScaleMaxAutoValue()
 o getX1ScaleMinAutoValue
 public double getX1ScaleMinAutoValue()
 o getX1MajorGridStepAutoValue
 public double getX1MajorGridStepAutoValue()
 o getY1ScaleMaxAutoValue
 public double getY1ScaleMaxAutoValue()
 o getY1ScaleMinAutoValue
 public double getY1ScaleMinAutoValue()
 o getY1MajorGridStepAutoValue
 public double getY1MajorGridStepAutoValue()
 o getY2ScaleMaxAutoValue
 public double getY2ScaleMaxAutoValue()
 o getY2ScaleMinAutoValue
 public double getY2ScaleMinAutoValue()
 o getY2MajorGridStepAutoValue
 public double getY2MajorGridStepAutoValue()
 o getQuadrantLineValueX
 public double getQuadrantLineValueX(int nIndex)
 o getQuadrantLineValueY
 public double getQuadrantLineValueY(int nIndex)
 o getSelGroup
 public int getSelGroup()
 o getSelSeries
 public int getSelSeries()
 o getTexture
 public Image getTexture(String szURL)
 o getTextureDisplayMode
 public int getTextureDisplayMode(IdentObj id)
 o getTexture
 public String getTexture(IdentObj id)
 o getToolTipDelay
 public int getToolTipDelay()
get the object tip delay in milliseconds

 o getTransparentBorderColor
 public boolean getTransparentBorderColor(IdentObj id)
 o getTransparentFillColor
 public boolean getTransparentFillColor(IdentObj id)
 o getUseSampleData
 public boolean getUseSampleData()
 o isApplet
 public boolean isApplet()
This method was created by a SmartGuide.

Returns:
boolean
 o isGroupScrollerPresent
 public boolean isGroupScrollerPresent()
Is the group scroller drawn?

Returns:
boolean
 o isSeriesScrollerPresent
 public boolean isSeriesScrollerPresent()
Is the series scroller drawn?

Returns:
boolean
 o isColorByHeight
 public boolean isColorByHeight()
Is this chart colored by height?

Returns:
boolean
See Also:
Perspective
 o isColorByGroup
 public boolean isColorByGroup()
Is this chart colored by group?

Returns:
boolean
See Also:
Perspective
 o isFocusTraversable
 public boolean isFocusTraversable()
Returns whether this object can accept focus or not.

Returns:
true so we can accept focus
Overrides:
isFocusTraversable in class JComponent
 o keyTyped
 public void keyTyped(KeyEvent evt)
 o keyReleased
 public void keyReleased(KeyEvent evt)
 o keyPressed
 public void keyPressed(KeyEvent evt)
 o mouseReleased
 public void mouseReleased(MouseEvent evt)
 o mouseMoved
 public void mouseMoved(MouseEvent evt)
 o mouseExited
 public void mouseExited(MouseEvent evt)
 o mouseDragged
 public void mouseDragged(MouseEvent evt)
 o toggleEditControls
 public void toggleEditControls()
 o mousePressed
 public synchronized void mousePressed(MouseEvent evt)
 o mouseClicked
 public void mouseClicked(MouseEvent evt)
 o mouseEntered
 public void mouseEntered(MouseEvent evt)
 o isChartReady
 public synchronized boolean isChartReady()
 o getChartState
 public synchronized int getChartState()
 o beginDrawProcess
 public synchronized void beginDrawProcess()
 o chartCreationFailed
 public void chartCreationFailed(Exception failureException)
 o needRecalc
 public void needRecalc()
 o print
 public void print(Graphics g)
Overrides:
print in class Container
 o update
 public void update(Graphics g)
Overrides:
update in class JComponent
 o paintComponent
 public synchronized void paintComponent(Graphics g)
Overrides:
paintComponent in class JComponent
 o paint
 public synchronized void paint(Graphics g)
Overrides:
paint in class JComponent
 o _paint
 public synchronized void _paint(Graphics g)
 o restoreAllSlices
 public void restoreAllSlices()
 o sendGIFToFTP
 public void sendGIFToFTP(String strHost,
                          String strUser,
                          String strPass,
                          String strDir,
                          String strDestFile)
 o sendGIFToStream
 public void sendGIFToStream(OutputStream outS)
 o sendGIFToFile
 public void sendGIFToFile(OutputStream outS)
 o sendChartToFTP
 public boolean sendChartToFTP(String strHost,
                               String strUser,
                               String strPass,
                               String strDir,
                               String strDestFile)
 o getChartFromFTP
 public boolean getChartFromFTP(String strHost,
                                String strUser,
                                String strPass,
                                String strDir,
                                String strOrgFile)
 o sendImageMapToStream
 public void sendImageMapToStream(PrintWriter outWriter,
                                  String mapName)
 o setBorderColor
 public void setBorderColor(Color newValue)
 o setBorderColor
 public void setBorderColor(IdentObj id,
                            Color newValue)
 o setLineWidth
 public void setLineWidth(int newValue)
 o setLineWidth
 public void setLineWidth(IdentObj id,
                          int newValue)
 o getLineWidth
 public int getLineWidth(IdentObj id)
 o setData
 public void setData(int row,
                     int col,
                     double fValue)
 o setData
 public void setData(int row,
                     int col,
                     double fValue,
                     boolean bRecalc)
 o setData
 public void setData(int row,
                     int col,
                     Object obj)
 o setData
 public void setData(int row,
                     int col,
                     Object obj,
                     boolean bRecalc)
 o setDataLabel
 public void setDataLabel(int s,
                          int g,
                          String newValue)
 o getDataRange
 public Rectangle getDataRange()
 o setDataRange
 public void setDataRange(int rowStop,
                          int colStop)
 o setDataRange
 public void setDataRange(int rowStart,
                          int colStart,
                          int rowStop,
                          int colStop)
 o setDataRangeToExtent
 public void setDataRangeToExtent()
 o setDataValue
 public void setDataValue(IdentObj id,
                          double newValue)
 o updateAccess
 public void updateAccess()
 o getShadowColor
 public Color getShadowColor(IdentObj id)
 o setShadowColor
 public void setShadowColor(IdentObj id,
                            Color newValue)
 o setEditChart
 public void setEditChart(PFJEditor Editor,
                          boolean EditOnOff)
 o setEditChart
 public void setEditChart(boolean EditOnOff)
 o setEditZoom
 public void setEditZoom(boolean EditZoom)
 o getExceptionalRiser
 public 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
 o getExceptionalRisers
 public Hashtable getExceptionalRisers()
Returns the entire hashtable of exceptional risers.

Returns:
Hashtable
 o 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.

 o 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
 o setNoExceptionalRiser
 public void setNoExceptionalRiser()
Remove all exceptional risers.

 o isExceptionalAllowed
 public boolean isExceptionalAllowed()
Returns true if exceptional risers are allowed for the current graph type.

Returns:
boolean
 o setFillColor
 public void setFillColor(Color newValue)
 o setFillColor
 public void setFillColor(IdentObj id,
                          Color newValue)
 o setFillType
 public void setFillType(int newValue)
 o setFillType
 public void setFillType(IdentObj id,
                         int newValue)
 o setFontSize
 public void setFontSize(int newValue)
Overrides:
setFontSize in class PerspectiveBase
 o setFontSize
 public void setFontSize(IdentObj id,
                         int newValue)
Overrides:
setFontSize in class PerspectiveBase
 o setGradientDirection
 public void setGradientDirection(int newValue)
 o setGradientDirection
 public void setGradientDirection(IdentObj id,
                                  int newValue)
 o insertGradientPin
 public void insertGradientPin(IdentObj id,
                               double newPin,
                               Color leftColor,
                               Color rightColor)
Do everything necessary to add a new pin.

Parameters:
id - IdentObj
newPin - double
leftColor - Color
rightColor - Color
 o setGradientNumPins
 public void setGradientNumPins(int newValue)
 o setGradientNumPins
 public void setGradientNumPins(IdentObj id,
                                int newValue)
 o setGradientPinLeftColor
 public void setGradientPinLeftColor(Color newValue,
                                     int nIndex)
 o setGradientPinLeftColor
 public void setGradientPinLeftColor(IdentObj id,
                                     Color newValue,
                                     int nIndex)
 o setGradientPinPosition
 public void setGradientPinPosition(double newValue,
                                    int nIndex)
 o setGradientPinPosition
 public void setGradientPinPosition(IdentObj id,
                                    double newValue,
                                    int nIndex)
 o setGradientPinRightColor
 public void setGradientPinRightColor(Color newValue,
                                      int nIndex)
 o setGradientPinRightColor
 public void setGradientPinRightColor(IdentObj id,
                                      Color newValue,
                                      int nIndex)
 o getNextMarkerTemplateSlot
 public int getNextMarkerTemplateSlot()
 o registerMarkerTemplate
 public int registerMarkerTemplate(Polygon newPolygon)
 o registerMarkerTemplate
 public int registerMarkerTemplate(MarkerTemplate newMarkerTemplate)
 o setMarkerTemplate
 public void setMarkerTemplate(int nIndex,
                               Polygon newPolygon)
 o setMarkerTemplate
 public void setMarkerTemplate(int nIndex,
                               MarkerTemplate newMarkerTemplate)
 o setMarkerShape
 public void setMarkerShape(int integerMarkerShape)
 o setMarkerShape
 public void setMarkerShape(IdentObj id,
                            int integerMarkerShape)
 o getLegendOrient
 public int getLegendOrient()
 o setLegendOrient
 public void setLegendOrient(int newValue)
 o setLegendRect
 public void setLegendRect(Rectangle newValue)
 o setLegendRect
 public void setLegendRect(Rectangle newValue,
                           boolean bSetRecalc)
 o setQuadrantLineValueX
 public void setQuadrantLineValueX(int nIndex,
                                   double newValue)
 o setQuadrantLineValueY
 public void setQuadrantLineValueY(int nIndex,
                                   double newValue)
 o getSeriesBorderColor
 public Color getSeriesBorderColor(int s)
 o setSeriesBorderColor
 public void setSeriesBorderColor(int s,
                                  Color newValue)
 o getSeriesFillColor
 public Color getSeriesFillColor(int s)
 o setSeriesFillColor
 public void setSeriesFillColor(int s,
                                Color newValue)
 o getSeriesAreRows
 public boolean getSeriesAreRows()
Property Name: SeriesAreRows
Are series stored in rows?
Default Value is (TRUE).

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

 o setSeriesAreRows
 public void setSeriesAreRows(boolean newValue,
                              boolean swapLabels)
 o setTextureDisplayMode
 public void setTextureDisplayMode(int newValue)
 o setTextureDisplayMode
 public void setTextureDisplayMode(IdentObj id,
                                   int newValue)
 o setTextureURL
 public void setTextureURL(String szURL)
 o setTextureURL
 public void setTextureURL(IdentObj id,
                           String szURL)
 o setDynamicToolTip
 public void setDynamicToolTip(String aTooltip)
 o setToolTipOff
 public void setToolTipOff()
 o setToolTipOn
 public void setToolTipOn()
 o setToolTipDelay
 public void setToolTipDelay(int d)
set the object tip delay in milliseconds

 o setUserToolTipDefault
 public void setUserToolTipDefault()
 o setUserToolTip
 public void setUserToolTip(String CustomToolTip)
 o setDeveloperToolTipDefault
 public void setDeveloperToolTipDefault()
 o setDeveloperToolTip
 public void setDeveloperToolTip(String CustomToolTip)
 o setTransparentBorderColor
 public void setTransparentBorderColor(IdentObj id,
                                       boolean newValue)
 o setTransparentBorderColor
 public void setTransparentBorderColor(boolean newValue)
 o setTransparentFillColor
 public void setTransparentFillColor(IdentObj id,
                                     boolean newValue)
 o setTransparentFillColor
 public void setTransparentFillColor(boolean newValue)
 o getMinimumSize
 public Dimension getMinimumSize()
Overrides:
getMinimumSize in class JComponent
 o setSize
 public void setSize(Dimension d)
Overrides:
setSize in class Component
 o setSize
 public void setSize(int width,
                     int height)
Overrides:
setSize in class Component
 o setBounds
 public void setBounds(Rectangle r)
Overrides:
setBounds in class Component
 o setBounds
 public void setBounds(int x,
                       int y,
                       int width,
                       int height)
Overrides:
setBounds in class Component
 o inputParamString
 public void inputParamString(String szInString)
 o restoreDefaults
 public void restoreDefaults()
 o outputParamString
 public String outputParamString()
 o load
 public void load(String szURL,
                  boolean bMerge) throws IOException
 o load
 public void load(InputStream is,
                  boolean bMerge)
 o save
 public void save(OutputStream os) throws IOException
 o save
 public void save(OutputStream os,
                  String ChartObjectName) throws IOException
 o perspectiveEvent
 public void perspectiveEvent(TDGEvent e)
 o errorEvent
 public void errorEvent(TDGError e)
 o getVC
 public VC getVC()
 o isChartDualY
 public boolean isChartDualY()
 o isChartBipolar
 public boolean isChartBipolar()
 o isChartOrientHorz
 public boolean isChartOrientHorz()
 o isChart3DType
 public boolean isChart3DType()
 o isChartPieType
 public boolean isChartPieType()
 o isChartBLAType
 public boolean isChartBLAType()
 o isChartStockType
 public boolean isChartStockType()
 o isChartScatter
 public boolean isChartScatter()
 o isO1AxisPresent
 public boolean isO1AxisPresent()
Does this chart type have the O1 axis?

Returns:
boolean
 o isO2AxisPresent
 public boolean isO2AxisPresent()
Does this chart type have the O2 axis?

Returns:
boolean
 o isX1AxisPresent
 public boolean isX1AxisPresent()
Does this chart type have the X1 axis?

Returns:
boolean
 o isY1AxisPresent
 public boolean isY1AxisPresent()
Does this chart type have the Y1 axis?

Returns:
boolean
 o isY2AxisPresent
 public boolean isY2AxisPresent()
Does this chart type have the Y2 axis?

Returns:
boolean
 o isZ1AxisPresent
 public boolean isZ1AxisPresent()
Does this chart type have the Z1 axis?

Returns:
boolean
 o isSelection
 public boolean isSelection()
 o getSelectionSize
 public int getSelectionSize()
 o getSelectionID
 public IdentObj getSelectionID()
 o isSelectionSeriesRelated
 public boolean isSelectionSeriesRelated()
 o isSelectionText
 public boolean isSelectionText()
 o isSelectionLine
 public boolean isSelectionLine()
 o isSelectionRiser
 public boolean isSelectionRiser()
 o isSelectionDataLabel
 public boolean isSelectionDataLabel()
 o isSelectionGridLine
 public boolean isSelectionGridLine()
 o isSelectionCube
 public boolean isSelectionCube()
 o isSelectionLegend
 public boolean isSelectionLegend()
 o isSelectionFillColorTransparent
 public boolean isSelectionFillColorTransparent()
 o isSelectionBorderColorTransparent
 public boolean isSelectionBorderColorTransparent()
 o setSelection
 public void setSelection(IdentObj id)
setSelection
Sets the selection list to be the object with the given ID

Parameters:
id - IdentObj
 o setSelection
 public void setSelection(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
 o setSelection
 public void setSelection(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
 o setSelection
 public void setSelection(Vector vList)
setSelection
Sets the selection list to be the list of objects specified by the given Vector of IdentObjs.

Parameters:
vList - Vector
 o getSelection
 public Vector getSelection()
getSelection
Gets the selection list, a list of "SelectObj" objects.

Returns:
Vector
 o getSelectionFillColor
 public Color getSelectionFillColor()
 o getSelectionBorderColor
 public Color getSelectionBorderColor()
 o getSelectionLineWidth
 public int getSelectionLineWidth()
 o setToolTipCallBack
 public void setToolTipCallBack(ToolTipCallBack toolTipObject)
 o getToolTipCallBack
 public ToolTipCallBack getToolTipCallBack()
 o isToolTipCallBack
 public boolean isToolTipCallBack()
 o setNumberFormatCallBack
 public void setNumberFormatCallBack(NumberFormatCallBack numberFormattingObject)
 o getNumberFormatCallBack
 public NumberFormatCallBack getNumberFormatCallBack()
 o isNumberFormatCallBack
 public boolean isNumberFormatCallBack()
 o setO1LabelCallback
 public void setO1LabelCallback(TDGNestedLabel cb)
 o getO1LabelCallBack
 public TDGNestedLabel getO1LabelCallBack()
 o setBadDogCallback
 public void setBadDogCallback(BadDogCallback cb)
 o getBadDogCallBack
 public BadDogCallback getBadDogCallBack()
 o setDataFromCallBack
 public void setDataFromCallBack(TDGDataGrid grid)
 o setDataFromDataGrid
 public void setDataFromDataGrid(TDGDataGrid grid)
 o setDataFromSQL
 public void setDataFromSQL(String SQLQuery,
                            Statement aStmt)
 o setDataFromResultSet
 public void setDataFromResultSet(ResultSet rs) throws SQLException
 o isSQLTypeNumeric
 public boolean isSQLTypeNumeric(int SQLType)
 o isSQLTypeString
 public boolean isSQLTypeString(int SQLType)
 o setUseSampleData
 public void setUseSampleData(boolean newValue)
 o setDataFileURL
 public void setDataFileURL(String aDataFileURL) throws AssertionException
 o setDataStream
 public void setDataStream(InputStream in) throws AssertionException
 o setLocale
 public void setLocale(Locale aLocale)
Overrides:
setLocale in class Component
 o getLocale
 public Locale getLocale()
Overrides:
getLocale in class Component
 o startListeners
 public void startListeners()
 o stopListeners
 public void stopListeners()
 o focusCube
 public void focusCube(double focusFactor)
focusCube
No Description

Parameters:
focusFactor - double
See Also:
JChart_3D
 o getCubeRotationMatrix
 public Matrix3d getCubeRotationMatrix()
 o rotateCubeX
 public void rotateCubeX(double degreesX)
rotateCubeX
No Description

Parameters:
degreesX - double
See Also:
JChart_3D
 o rotateCubeY
 public void rotateCubeY(double degreesY)
rotateCubeY
No Description

Parameters:
degreesY - double
See Also:
JChart_3D
 o rotateCubeZ
 public void rotateCubeZ(double degreesZ)
rotateCubeZ
No Description

Parameters:
degreesZ - double
See Also:
JChart_3D
 o scaleCube
 public void scaleCube(double scaleFactor)
scaleCube
No Description

Parameters:
scaleFactor - double
See Also:
JChart_3D
 o setCubeRotationMatrix
 public void setCubeRotationMatrix(double rx,
                                   double ry,
                                   double rz)
 o setCubeRotationMatrix
 public void setCubeRotationMatrix(Matrix3d m)
 o setCubeRotationMatrix
 public void setCubeRotationMatrix(double m00,
                                   double m01,
                                   double m02,
                                   double m10,
                                   double m11,
                                   double m12,
                                   double m20,
                                   double m21,
                                   double m22)
 o translateCube
 public void translateCube(double tx,
                           double ty,
                           double tz)
translateCube
No Description

Parameters:
tx - double
ty - double
tz - double
See Also:
JChart_3D
 o 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
See Also:
JChart_3D

All Packages  Class Hierarchy  This Package  Previous  Next  Index