All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.awt.Component | +----java.awt.Container | +----javax.swing.JComponent | +----javax.swing.JPanel | +----tdg.PerspectiveBase | +----tdg.Perspective
Perspective
Create an instance of Perspective
actionPerformed
Implements a timer for the purpose of display management of ChartTips.
clearZoomList
Clear all entries in the zoom list except "unzoomed".
doZoomIn
Zoom in on the center of the chart
doZoomIn
Zoom in on the specified point (given in virtual coordinates)
doZoomIn
Zoom in on the specified point (given in virtual coordinates)
doZoomIn
Zoom in on the specified rectangle (given in virtual coordinates)
doZoomOut
Zoom out on the center of the chart
doZoomOut
Zoom out on the specified point (given in virtual coordinates)
doZoomOut
Zoom out on the specified point (given in virtual coordinates)
focusCube
No Description
getApplet
No Description
getChartDataValid
Make a quick check of the data to see if there is enough to make a chart.
GraphType
getSelection
Gets the selection list, a list of "SelectObj" objects.
SeriesAreRows
getViewableDataRange
Return the data range (in rows and columns) that will actually be graphed.
getViewableDataRangeSG
Return the data range (in series and groups) that will actually be graphed.
getZoomIndex
Get the current zoom state's index.
isValidZoomIndex
Is the specified zoom state index a valid one?
rotateCubeX
No Description
rotateCubeY
No Description
rotateCubeZ
No Description
scaleCube
No Description
GraphType
setSelection
Sets the selection list to be the object with the given ID
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.
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.setSelection(Vector)
setSelection
Sets the selection list to be the list of objects specified by the given Vector of IdentObjs.setSeriesAreRows(boolean)
- Property Name:
SeriesAreRows
- Are series stored in rows?
Default Value is (TRUE).setSeriesAreRows(boolean, boolean)
setSeriesBorderColor(int, Color)
setSeriesFillColor(int, Color)
setShadowColor(IdentObj, Color)
setSize(Dimension)
setSize(int, int)
setTextureDisplayMode(IdentObj, int)
setTextureDisplayMode(int)
setTextureURL(IdentObj, String)
setTextureURL(String)
setToolTipCallBack(ToolTipCallBack)
setToolTipDelay(int)
- set the object tip delay in milliseconds
setToolTipOff()
setToolTipOn()
setTransparentBorderColor(boolean)
setTransparentBorderColor(IdentObj, boolean)
setTransparentFillColor(boolean)
setTransparentFillColor(IdentObj, boolean)
setUserToolTip(String)
setUserToolTipDefault()
setUseSampleData(boolean)
setZoomIndex(int)
setZoomIndex
Set the current zoom state index.startListeners()
stopListeners()
toggleEditControls()
translateCube(double, double, double)
translateCube
No Descriptionupdate(Graphics)
updateAccess()
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.
public static final String X_VALUE_MACRO
public static final String Y_VALUE_MACRO
public static final String X_Y_VALUE_MACRO
public static final String SIZE_VALUE_MACRO
public static final String OPEN_VALUE_MACRO
public static final String HI_VALUE_MACRO
public static final String LOW_VALUE_MACRO
public static final String CLOSE_VALUE_MACRO
public ResourceBundle PFJRes
public static final int NO_CHART_YET
public static final int VIEW_ALL_DATA
public int ToolTipDelay
public static final int CubeRotationMatrixAttr
public Perspective()
Perspective
Create an instance of Perspective
public Perspective(Applet a)
public static void announceLicense()
public void actionPerformed(ActionEvent event)
actionPerformed
Implements a timer for the purpose of display management of ChartTips.
public void clearDataStorage()
public void clearDataLabels()
public void clearGroupLabels()
public void clearSeriesLabels()
public void doZoomIn()
doZoomIn
Zoom in on the center of the chart
public void doZoomIn(Point pt)
doZoomIn
Zoom in on the specified point (given in virtual coordinates)
public void doZoomIn(int x, int y)
doZoomIn
Zoom in on the specified point (given in virtual coordinates)
public void doZoomIn(Rectangle r)
doZoomIn
Zoom in on the specified rectangle (given in virtual coordinates)
public void doZoomOut()
doZoomOut
Zoom out on the center of the chart
public void doZoomOut(Point pt)
doZoomOut
Zoom out on the specified point (given in virtual coordinates)
public void doZoomOut(int x, int y)
doZoomOut
Zoom out on the specified point (given in virtual coordinates)
public int getZoomIndex()
getZoomIndex
Get the current zoom state's index.
public boolean isValidZoomIndex(int nIndex)
isValidZoomIndex
Is the specified zoom state index a valid one?
public boolean isZoomingArmed()
public void setZoomIndex(int nIndex)
setZoomIndex
Set the current zoom state index. Used for moving among previously defined zoom levels.
public void clearZoomList()
clearZoomList
Clear all entries in the zoom list except "unzoomed".
public Applet getApplet()
getApplet
No Description
public Color getBorderColor(IdentObj id)
public boolean getChartDataValid()
getChartDataValid
Make a quick check of the data to see if there is enough to make a chart.
public DataRange getViewableDataRange()
getViewableDataRange
Return the data range (in rows and columns) that will actually be graphed.
public DataRange getViewableDataRangeSG()
getViewableDataRangeSG
Return the data range (in series and groups) that will actually be graphed.
public double getDataAsDouble(int row, int col) throws AssertionException
public String getDataAsString(int row, int col) throws AssertionException
public int getDataCoord(IdentObj id)
public double getDataFromCoord(IdentObj id, int nCoordVC)
public String getDataLabel(int s, int g)
public double getDataValue(IdentObj id)
public Detectiv getDetectiv()
public ZoomStateList getZoomList()
public URL getDocumentBase()
public int getEffectiveGroupOffset()
public int getEffectiveSeriesOffset()
public int getEffectiveViewableGroups()
public int getEffectiveViewableSeries()
public Color getFillColor(IdentObj id)
public int getFillType(IdentObj id)
public Rectangle getFrameRect(boolean bInner)
public Point getFrameDepthOffset()
public int getGradientDirection(IdentObj id)
public int getGradientNumPins(IdentObj id)
public Color getGradientPinLeftColor(IdentObj id, int nIndex)
public double getGradientPinPosition(IdentObj id, int nIndex)
public Color getGradientPinRightColor(IdentObj id, int nIndex)
public JChart_Base getGraphObject()
public int getGraphType()
GraphType
public void setGraphType(int newValue)
GraphType
public JGraphType getJGraphType()
public Rectangle getLegendRect()
public int getMarkerShape()
public int getMarkerShape(IdentObj id)
public MarkerTemplate getMarkerTemplate(IdentObj id)
public int getNumGroups()
public int getNumNonIgnoredSeries()
public int getNumSeries()
public int getNumTotalGroups()
public int getNumTotalSeries()
public double getX1ScaleMaxAutoValue()
public double getX1ScaleMinAutoValue()
public double getX1MajorGridStepAutoValue()
public double getY1ScaleMaxAutoValue()
public double getY1ScaleMinAutoValue()
public double getY1MajorGridStepAutoValue()
public double getY2ScaleMaxAutoValue()
public double getY2ScaleMinAutoValue()
public double getY2MajorGridStepAutoValue()
public double getQuadrantLineValueX(int nIndex)
public double getQuadrantLineValueY(int nIndex)
public int getSelGroup()
public int getSelSeries()
public Image getTexture(String szURL)
public int getTextureDisplayMode(IdentObj id)
public String getTexture(IdentObj id)
public int getToolTipDelay()
public boolean getTransparentBorderColor(IdentObj id)
public boolean getTransparentFillColor(IdentObj id)
public boolean getUseSampleData()
public boolean isApplet()
public boolean isGroupScrollerPresent()
public boolean isSeriesScrollerPresent()
public boolean isColorByHeight()
public boolean isColorByGroup()
public boolean isFocusTraversable()
public void keyTyped(KeyEvent evt)
public void keyReleased(KeyEvent evt)
public void keyPressed(KeyEvent evt)
public void mouseReleased(MouseEvent evt)
public void mouseMoved(MouseEvent evt)
public void mouseExited(MouseEvent evt)
public void mouseDragged(MouseEvent evt)
public void toggleEditControls()
public synchronized void mousePressed(MouseEvent evt)
public void mouseClicked(MouseEvent evt)
public void mouseEntered(MouseEvent evt)
public synchronized boolean isChartReady()
public synchronized int getChartState()
public synchronized void beginDrawProcess()
public void chartCreationFailed(Exception failureException)
public void needRecalc()
public void print(Graphics g)
public void update(Graphics g)
public synchronized void paintComponent(Graphics g)
public synchronized void paint(Graphics g)
public synchronized void _paint(Graphics g)
public void restoreAllSlices()
public void sendGIFToFTP(String strHost, String strUser, String strPass, String strDir, String strDestFile)
public void sendGIFToStream(OutputStream outS)
public void sendGIFToFile(OutputStream outS)
public boolean sendChartToFTP(String strHost, String strUser, String strPass, String strDir, String strDestFile)
public boolean getChartFromFTP(String strHost, String strUser, String strPass, String strDir, String strOrgFile)
public void sendImageMapToStream(PrintWriter outWriter, String mapName)
public void setBorderColor(Color newValue)
public void setBorderColor(IdentObj id, Color newValue)
public void setLineWidth(int newValue)
public void setLineWidth(IdentObj id, int newValue)
public int getLineWidth(IdentObj id)
public void setData(int row, int col, double fValue)
public void setData(int row, int col, double fValue, boolean bRecalc)
public void setData(int row, int col, Object obj)
public void setData(int row, int col, Object obj, boolean bRecalc)
public void setDataLabel(int s, int g, String newValue)
public Rectangle getDataRange()
public void setDataRange(int rowStop, int colStop)
public void setDataRange(int rowStart, int colStart, int rowStop, int colStop)
public void setDataRangeToExtent()
public void setDataValue(IdentObj id, double newValue)
public void updateAccess()
public Color getShadowColor(IdentObj id)
public void setShadowColor(IdentObj id, Color newValue)
public void setEditChart(PFJEditor Editor, boolean EditOnOff)
public void setEditChart(boolean EditOnOff)
public void setEditZoom(boolean EditZoom)
public IdentObj getExceptionalRiser(int s, int g)
public Hashtable getExceptionalRisers()
public void setExceptionalRiser()
public void setExceptionalRiser(int s, int g)
public void setNoExceptionalRiser()
public boolean isExceptionalAllowed()
public void setFillColor(Color newValue)
public void setFillColor(IdentObj id, Color newValue)
public void setFillType(int newValue)
public void setFillType(IdentObj id, int newValue)
public void setFontSize(int newValue)
public void setFontSize(IdentObj id, int newValue)
public void setGradientDirection(int newValue)
public void setGradientDirection(IdentObj id, int newValue)
public void insertGradientPin(IdentObj id, double newPin, Color leftColor, Color rightColor)
public void setGradientNumPins(int newValue)
public void setGradientNumPins(IdentObj id, int newValue)
public void setGradientPinLeftColor(Color newValue, int nIndex)
public void setGradientPinLeftColor(IdentObj id, Color newValue, int nIndex)
public void setGradientPinPosition(double newValue, int nIndex)
public void setGradientPinPosition(IdentObj id, double newValue, int nIndex)
public void setGradientPinRightColor(Color newValue, int nIndex)
public void setGradientPinRightColor(IdentObj id, Color newValue, int nIndex)
public int getNextMarkerTemplateSlot()
public int registerMarkerTemplate(Polygon newPolygon)
public int registerMarkerTemplate(MarkerTemplate newMarkerTemplate)
public void setMarkerTemplate(int nIndex, Polygon newPolygon)
public void setMarkerTemplate(int nIndex, MarkerTemplate newMarkerTemplate)
public void setMarkerShape(int integerMarkerShape)
public void setMarkerShape(IdentObj id, int integerMarkerShape)
public int getLegendOrient()
public void setLegendOrient(int newValue)
public void setLegendRect(Rectangle newValue)
public void setLegendRect(Rectangle newValue, boolean bSetRecalc)
public void setQuadrantLineValueX(int nIndex, double newValue)
public void setQuadrantLineValueY(int nIndex, double newValue)
public Color getSeriesBorderColor(int s)
public void setSeriesBorderColor(int s, Color newValue)
public Color getSeriesFillColor(int s)
public void setSeriesFillColor(int s, Color newValue)
public boolean getSeriesAreRows()
SeriesAreRows
public void setSeriesAreRows(boolean newValue)
SeriesAreRows
public void setSeriesAreRows(boolean newValue, boolean swapLabels)
public void setTextureDisplayMode(int newValue)
public void setTextureDisplayMode(IdentObj id, int newValue)
public void setTextureURL(String szURL)
public void setTextureURL(IdentObj id, String szURL)
public void setDynamicToolTip(String aTooltip)
public void setToolTipOff()
public void setToolTipOn()
public void setToolTipDelay(int d)
public void setUserToolTipDefault()
public void setUserToolTip(String CustomToolTip)
public void setDeveloperToolTipDefault()
public void setDeveloperToolTip(String CustomToolTip)
public void setTransparentBorderColor(IdentObj id, boolean newValue)
public void setTransparentBorderColor(boolean newValue)
public void setTransparentFillColor(IdentObj id, boolean newValue)
public void setTransparentFillColor(boolean newValue)
public Dimension getMinimumSize()
public void setSize(Dimension d)
public void setSize(int width, int height)
public void setBounds(Rectangle r)
public void setBounds(int x, int y, int width, int height)
public void inputParamString(String szInString)
public void restoreDefaults()
public String outputParamString()
public void load(String szURL, boolean bMerge) throws IOException
public void load(InputStream is, boolean bMerge)
public void save(OutputStream os) throws IOException
public void save(OutputStream os, String ChartObjectName) throws IOException
public void perspectiveEvent(TDGEvent e)
public void errorEvent(TDGError e)
public VC getVC()
public boolean isChartDualY()
public boolean isChartBipolar()
public boolean isChartOrientHorz()
public boolean isChart3DType()
public boolean isChartPieType()
public boolean isChartBLAType()
public boolean isChartStockType()
public boolean isChartScatter()
public boolean isO1AxisPresent()
public boolean isO2AxisPresent()
public boolean isX1AxisPresent()
public boolean isY1AxisPresent()
public boolean isY2AxisPresent()
public boolean isZ1AxisPresent()
public boolean isSelection()
public int getSelectionSize()
public IdentObj getSelectionID()
public boolean isSelectionSeriesRelated()
public boolean isSelectionText()
public boolean isSelectionLine()
public boolean isSelectionRiser()
public boolean isSelectionDataLabel()
public boolean isSelectionGridLine()
public boolean isSelectionCube()
public boolean isSelectionLegend()
public boolean isSelectionFillColorTransparent()
public boolean isSelectionBorderColorTransparent()
public void setSelection(IdentObj id)
setSelection
Sets the selection list to be the object with the given ID
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.
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.
public void setSelection(Vector vList)
setSelection
Sets the selection list to be the list of objects specified by the given Vector of IdentObjs.
public Vector getSelection()
getSelection
Gets the selection list, a list of "SelectObj" objects.
public Color getSelectionFillColor()
public Color getSelectionBorderColor()
public int getSelectionLineWidth()
public void setToolTipCallBack(ToolTipCallBack toolTipObject)
public ToolTipCallBack getToolTipCallBack()
public boolean isToolTipCallBack()
public void setNumberFormatCallBack(NumberFormatCallBack numberFormattingObject)
public NumberFormatCallBack getNumberFormatCallBack()
public boolean isNumberFormatCallBack()
public void setO1LabelCallback(TDGNestedLabel cb)
public TDGNestedLabel getO1LabelCallBack()
public void setBadDogCallback(BadDogCallback cb)
public BadDogCallback getBadDogCallBack()
public void setDataFromCallBack(TDGDataGrid grid)
public void setDataFromDataGrid(TDGDataGrid grid)
public void setDataFromSQL(String SQLQuery, Statement aStmt)
public void setDataFromResultSet(ResultSet rs) throws SQLException
public boolean isSQLTypeNumeric(int SQLType)
public boolean isSQLTypeString(int SQLType)
public void setUseSampleData(boolean newValue)
public void setDataFileURL(String aDataFileURL) throws AssertionException
public void setDataStream(InputStream in) throws AssertionException
public void setLocale(Locale aLocale)
public Locale getLocale()
public void startListeners()
public void stopListeners()
public void focusCube(double focusFactor)
focusCube
No Description
public Matrix3d getCubeRotationMatrix()
public void rotateCubeX(double degreesX)
rotateCubeX
No Description
public void rotateCubeY(double degreesY)
rotateCubeY
No Description
public void rotateCubeZ(double degreesZ)
rotateCubeZ
No Description
public void scaleCube(double scaleFactor)
scaleCube
No Description
public void setCubeRotationMatrix(double rx, double ry, double rz)
public void setCubeRotationMatrix(Matrix3d m)
public void setCubeRotationMatrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
public void translateCube(double tx, double ty, double tz)
translateCube
No Description
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.
All Packages Class Hierarchy This Package Previous Next Index