|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--tdg.PerspectiveBase | +--tdg.Perspective
class Perspective - The public interface to Perspective for Java. Copyright (c) 1997 Three D Graphics, Inc. All Rights Reserved.
JGraphType
,
ToolTipCallBack
, Serialized FormInner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Field Summary | |
static java.lang.String |
CLOSE_VALUE_MACRO
|
static int |
CubeRotationMatrixAttr
|
static java.lang.String |
HI_VALUE_MACRO
|
static java.lang.String |
LOW_VALUE_MACRO
|
static int |
NO_CHART_YET
|
static java.lang.String |
OPEN_VALUE_MACRO
|
java.util.ResourceBundle |
PFJRes
|
static java.lang.String |
SIZE_VALUE_MACRO
|
int |
ToolTipDelay
|
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
|
Fields inherited from class tdg.PerspectiveBase |
m_config,
MAX_EXCEPTIONAL_RISERS |
Fields inherited from class javax.swing.JComponent |
TOOL_TIP_TEXT_KEY,
UNDEFINED_CONDITION,
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,
WHEN_FOCUSED,
WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
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 |
beginDrawProcess()
|
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". |
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 |
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)
|
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 |
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 TypeDefault Value is (17). |
tdg.JGraphType |
getJGraphType()
|
int |
getLegendOrient()
|
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()
|
tdg.TDGNestedLabel |
getO1LabelCallBack()
|
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)
|
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()
|
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()
|
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 |
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 |
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)
|
void |
setBadDogCallback(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 |
setFontSize(tdg.draw.IdentObj id,
int newValue)
|
void |
setFontSize(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 TypeDefault Value is (17). |
void |
setLegendOrient(int newValue)
|
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 |
setNumberFormatCallBack(NumberFormatCallBack numberFormattingObject)
|
void |
setO1LabelCallback(tdg.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(java.lang.String szURL)
|
void |
setToolTipCallBack(ToolTipCallBack toolTipObject)
|
void |
setToolTipDelay(int d)
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 |
setUserToolTip(java.lang.String CustomToolTip)
|
void |
setUserToolTipDefault()
|
void |
setUseSampleData(boolean newValue)
|
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. |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext,
getUIClassID,
updateUI |
Methods inherited from class javax.swing.JComponent |
addAncestorListener,
addNotify,
addPropertyChangeListener,
addVetoableChangeListener,
computeVisibleRect,
contains,
createToolTip,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
getActionForKeyStroke,
getAlignmentX,
getAlignmentY,
getAutoscrolls,
getBorder,
getBounds,
getClientProperty,
getConditionForKeyStroke,
getDebugGraphicsOptions,
getGraphics,
getHeight,
getInsets,
getInsets,
getLocation,
getMaximumSize,
getNextFocusableComponent,
getPreferredSize,
getRegisteredKeyStrokes,
getRootPane,
getSize,
getToolTipLocation,
getToolTipText,
getToolTipText,
getTopLevelAncestor,
getVisibleRect,
getWidth,
getX,
getY,
grabFocus,
hasFocus,
isDoubleBuffered,
isFocusCycleRoot,
isLightweightComponent,
isManagingFocus,
isOpaque,
isOptimizedDrawingEnabled,
isPaintingTile,
isRequestFocusEnabled,
isValidateRoot,
paintImmediately,
paintImmediately,
putClientProperty,
registerKeyboardAction,
registerKeyboardAction,
removeAncestorListener,
removeNotify,
removePropertyChangeListener,
removeVetoableChangeListener,
repaint,
repaint,
requestDefaultFocus,
requestFocus,
resetKeyboardActions,
reshape,
revalidate,
scrollRectToVisible,
setAlignmentX,
setAlignmentY,
setAutoscrolls,
setBackground,
setBorder,
setDebugGraphicsOptions,
setDoubleBuffered,
setEnabled,
setFont,
setForeground,
setMaximumSize,
setMinimumSize,
setNextFocusableComponent,
setOpaque,
setPreferredSize,
setRequestFocusEnabled,
setToolTipText,
setVisible,
unregisterKeyboardAction |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
printComponents,
remove,
remove,
removeAll,
removeContainerListener,
setLayout,
validate |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
contains,
createImage,
createImage,
disable,
dispatchEvent,
enable,
enable,
enableInputMethods,
getBackground,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getInputContext,
getInputMethodRequests,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getSize,
getToolkit,
getTreeLock,
gotFocus,
handleEvent,
hide,
imageUpdate,
inside,
isDisplayable,
isEnabled,
isLightweight,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
postEvent,
prepareImage,
prepareImage,
printAll,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
resize,
resize,
setComponentOrientation,
setCursor,
setDropTarget,
setLocation,
setLocation,
setName,
show,
show,
size,
toString,
transferFocus |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String X_VALUE_MACRO
public static final java.lang.String Y_VALUE_MACRO
public static final java.lang.String X_Y_VALUE_MACRO
public static final java.lang.String SIZE_VALUE_MACRO
public static final java.lang.String OPEN_VALUE_MACRO
public static final java.lang.String HI_VALUE_MACRO
public static final java.lang.String LOW_VALUE_MACRO
public static final java.lang.String CLOSE_VALUE_MACRO
public java.util.ResourceBundle PFJRes
public static final int NO_CHART_YET
public static final int VIEW_ALL_DATA
public int ToolTipDelay
public static final int CubeRotationMatrixAttr
Constructor Detail |
public Perspective()
Perspective
Create an instance of Perspective
PerspectiveBase
public Perspective(java.applet.Applet a)
Method Detail |
public static void announceLicense()
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
Implements a timer for the purpose of display management of ChartTips.
TDGTimer
public void clearDataStorage()
Access
,
DataStorage
public void clearDataLabels()
public void clearGroupLabels()
public void clearSeriesLabels()
public void doZoomIn()
doZoomIn
Zoom in on the center of the chart
public void doZoomIn(java.awt.Point pt)
doZoomIn
Zoom in on the specified point (given in virtual coordinates)
pt
- Pointpublic void doZoomIn(int x, int y)
doZoomIn
Zoom in on the specified point (given in virtual coordinates)
x
- inty
- intpublic void doZoomIn(java.awt.Rectangle r)
doZoomIn
Zoom in on the specified rectangle (given in virtual coordinates)
rZoom
- Rectanglepublic void doZoomOut()
doZoomOut
Zoom out on the center of the chart
public void doZoomOut(java.awt.Point pt)
doZoomOut
Zoom out on the specified point (given in virtual coordinates)
pt
- Pointpublic void doZoomOut(int x, int y)
doZoomOut
Zoom out on the specified point (given in virtual coordinates)
x
- inty
- intpublic 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?
nIndex
- intpublic boolean isZoomingArmed()
Perspective
public void setZoomIndex(int nIndex)
setZoomIndex
Set the current zoom state index. Used for moving among previously defined zoom levels.
nIndex
- intpublic void clearZoomList()
clearZoomList
Clear all entries in the zoom list except "unzoomed".
public java.applet.Applet getApplet()
getApplet
No Description
public java.awt.Color getBorderColor(tdg.draw.IdentObj id)
public boolean getChartDataValid()
getChartDataValid
Make a quick check of the data to see if there is enough to make a chart.
public tdg.DataRange getViewableDataRange()
getViewableDataRange
Return the data range (in rows and columns) that will actually be graphed.
public tdg.DataRange getViewableDataRangeSG()
getViewableDataRangeSG
Return the data range (in series and groups) that will actually be graphed.
public double getDataAsDouble(int row, int col) throws tdg.AssertionException
public java.lang.String getDataAsString(int row, int col) throws tdg.AssertionException
public int getDataCoord(tdg.draw.IdentObj id)
public double getDataFromCoord(tdg.draw.IdentObj id, int nCoordVC)
public java.lang.String getDataLabel(int s, int g)
public double getDataValue(tdg.draw.IdentObj id)
public tdg.draw.Detectiv getDetectiv()
public tdg.ZoomStateList getZoomList()
public java.net.URL getDocumentBase()
public int getEffectiveGroupOffset()
public int getEffectiveSeriesOffset()
public int getEffectiveViewableGroups()
public int getEffectiveViewableSeries()
public java.awt.Color getFillColor(tdg.draw.IdentObj id)
public int getFillType(tdg.draw.IdentObj id)
public java.awt.Rectangle getFrameRect(boolean bInner)
public java.awt.Point getFrameDepthOffset()
public int getGradientDirection(tdg.draw.IdentObj id)
public int getGradientNumPins(tdg.draw.IdentObj id)
public java.awt.Color getGradientPinLeftColor(tdg.draw.IdentObj id, int nIndex)
public double getGradientPinPosition(tdg.draw.IdentObj id, int nIndex)
public java.awt.Color getGradientPinRightColor(tdg.draw.IdentObj id, int nIndex)
public tdg.JChart_Base getGraphObject()
public int getGraphType()
GraphType
public void setGraphType(int newValue)
GraphType
public tdg.JGraphType getJGraphType()
public java.awt.Rectangle getLegendRect()
public int getMarkerShape()
public int getMarkerShape(tdg.draw.IdentObj id)
public tdg.MarkerTemplate getMarkerTemplate(tdg.draw.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 java.awt.Image getTexture(java.lang.String szURL)
public int getTextureDisplayMode(tdg.draw.IdentObj id)
public java.lang.String getTexture(tdg.draw.IdentObj id)
public int getToolTipDelay()
public boolean getTransparentBorderColor(tdg.draw.IdentObj id)
public boolean getTransparentFillColor(tdg.draw.IdentObj id)
public boolean getUseSampleData()
public boolean isApplet()
public boolean isGroupScrollerPresent()
public boolean isSeriesScrollerPresent()
public boolean isColorByHeight()
Perspective
public boolean isColorByGroup()
Perspective
public boolean isFocusTraversable()
public void keyTyped(java.awt.event.KeyEvent evt)
public void keyReleased(java.awt.event.KeyEvent evt)
public void keyPressed(java.awt.event.KeyEvent evt)
public void mouseReleased(java.awt.event.MouseEvent evt)
public void mouseMoved(java.awt.event.MouseEvent evt)
public void mouseExited(java.awt.event.MouseEvent evt)
public void mouseDragged(java.awt.event.MouseEvent evt)
public void toggleEditControls()
public void mousePressed(java.awt.event.MouseEvent evt)
public void mouseClicked(java.awt.event.MouseEvent evt)
public void mouseEntered(java.awt.event.MouseEvent evt)
public boolean isChartReady()
public int getChartState()
public void beginDrawProcess()
public void chartCreationFailed(java.lang.Exception failureException)
public void needRecalc()
public void print(java.awt.Graphics g)
public void update(java.awt.Graphics g)
public void paintComponent(java.awt.Graphics g)
public void paint(java.awt.Graphics g)
public void _paint(java.awt.Graphics g)
public void restoreAllSlices()
public void sendGIFToFTP(java.lang.String strHost, java.lang.String strUser, java.lang.String strPass, java.lang.String strDir, java.lang.String strDestFile)
public void sendGIFToStream(java.io.OutputStream outS)
public void sendGIFToFile(java.io.OutputStream outS)
public boolean sendChartToFTP(java.lang.String strHost, java.lang.String strUser, java.lang.String strPass, java.lang.String strDir, java.lang.String strDestFile)
public boolean getChartFromFTP(java.lang.String strHost, java.lang.String strUser, java.lang.String strPass, java.lang.String strDir, java.lang.String strOrgFile)
public void sendImageMapToStream(java.io.PrintWriter outWriter, java.lang.String mapName)
public void setBorderColor(java.awt.Color newValue)
public void setBorderColor(tdg.draw.IdentObj id, java.awt.Color newValue)
public void setLineWidth(int newValue)
public void setLineWidth(tdg.draw.IdentObj id, int newValue)
public int getLineWidth(tdg.draw.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, java.lang.Object obj)
public void setData(int row, int col, java.lang.Object obj, boolean bRecalc)
public void setDataLabel(int s, int g, java.lang.String newValue)
public java.awt.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(tdg.draw.IdentObj id, double newValue)
public void updateAccess()
public java.awt.Color getShadowColor(tdg.draw.IdentObj id)
public void setShadowColor(tdg.draw.IdentObj id, java.awt.Color newValue)
public void setEditChart(tdg.PFJEditor Editor, boolean EditOnOff)
public void setEditChart(boolean EditOnOff)
public void setEditZoom(boolean EditZoom)
public tdg.draw.IdentObj getExceptionalRiser(int s, int g)
s
- intg
- intpublic java.util.Hashtable getExceptionalRisers()
public void setExceptionalRiser()
public void setExceptionalRiser(int s, int g)
s
- intg
- intpublic void setNoExceptionalRiser()
public boolean isExceptionalAllowed()
public void setFillColor(java.awt.Color newValue)
public void setFillColor(tdg.draw.IdentObj id, java.awt.Color newValue)
public void setFillType(int newValue)
public void setFillType(tdg.draw.IdentObj id, int newValue)
public void setFontSize(int newValue)
public void setFontSize(tdg.draw.IdentObj id, int newValue)
public void setGradientDirection(int newValue)
public void setGradientDirection(tdg.draw.IdentObj id, int newValue)
public void insertGradientPin(tdg.draw.IdentObj id, double newPin, java.awt.Color leftColor, java.awt.Color rightColor)
id
- IdentObjnewPin
- doubleleftColor
- ColorrightColor
- Colorpublic void setGradientNumPins(int newValue)
public void setGradientNumPins(tdg.draw.IdentObj id, int newValue)
public void setGradientPinLeftColor(java.awt.Color newValue, int nIndex)
public void setGradientPinLeftColor(tdg.draw.IdentObj id, java.awt.Color newValue, int nIndex)
public void setGradientPinPosition(double newValue, int nIndex)
public void setGradientPinPosition(tdg.draw.IdentObj id, double newValue, int nIndex)
public void setGradientPinRightColor(java.awt.Color newValue, int nIndex)
public void setGradientPinRightColor(tdg.draw.IdentObj id, java.awt.Color newValue, int nIndex)
public int getNextMarkerTemplateSlot()
public int registerMarkerTemplate(java.awt.Polygon newPolygon)
public int registerMarkerTemplate(tdg.MarkerTemplate newMarkerTemplate)
public void setMarkerTemplate(int nIndex, java.awt.Polygon newPolygon)
public void setMarkerTemplate(int nIndex, tdg.MarkerTemplate newMarkerTemplate)
public void setMarkerShape(int integerMarkerShape)
public void setMarkerShape(tdg.draw.IdentObj id, int integerMarkerShape)
public int getLegendOrient()
public void setLegendOrient(int newValue)
public void setLegendRect(java.awt.Rectangle newValue)
public void setLegendRect(java.awt.Rectangle newValue, boolean bSetRecalc)
public void setQuadrantLineValueX(int nIndex, double newValue)
public void setQuadrantLineValueY(int nIndex, double newValue)
public java.awt.Color getSeriesBorderColor(int s)
public void setSeriesBorderColor(int s, java.awt.Color newValue)
public java.awt.Color getSeriesFillColor(int s)
public void setSeriesFillColor(int s, java.awt.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(tdg.draw.IdentObj id, int newValue)
public void setTextureURL(java.lang.String szURL)
public void setTextureURL(tdg.draw.IdentObj id, java.lang.String szURL)
public void setDynamicToolTip(java.lang.String aTooltip)
public void setToolTipOff()
public void setToolTipOn()
public void setToolTipDelay(int d)
public void setUserToolTipDefault()
public void setUserToolTip(java.lang.String CustomToolTip)
public void setDeveloperToolTipDefault()
public void setDeveloperToolTip(java.lang.String CustomToolTip)
public void setTransparentBorderColor(tdg.draw.IdentObj id, boolean newValue)
public void setTransparentBorderColor(boolean newValue)
public void setTransparentFillColor(tdg.draw.IdentObj id, boolean newValue)
public void setTransparentFillColor(boolean newValue)
public java.awt.Dimension getMinimumSize()
public void setSize(java.awt.Dimension d)
public void setSize(int width, int height)
public void setBounds(java.awt.Rectangle r)
public void setBounds(int x, int y, int width, int height)
public void inputParamString(java.lang.String szInString)
public void restoreDefaults()
public java.lang.String outputParamString()
public void load(java.lang.String szURL, boolean bMerge) throws java.io.IOException
public void load(java.io.InputStream is, boolean bMerge)
public void save(java.io.OutputStream os) throws java.io.IOException
public void save(java.io.OutputStream os, java.lang.String ChartObjectName) throws java.io.IOException
public void perspectiveEvent(TDGEvent e)
public void errorEvent(tdg.event.TDGError e)
public tdg.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 tdg.draw.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(tdg.draw.IdentObj id)
setSelection
Sets the selection list to be the object with the given ID
id
- IdentObjpublic 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.
id
- IdentObjbAdd
- booleanpublic 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.
id
- IdentObjbAdd
- booleanbSelectRelatedObjects
- booleanpublic void setSelection(java.util.Vector vList)
setSelection
Sets the selection list to be the list of objects specified by the given Vector of IdentObjs.
vList
- Vectorpublic java.util.Vector getSelection()
getSelection
Gets the selection list, a list of "SelectObj" objects.
public java.awt.Color getSelectionFillColor()
public java.awt.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(tdg.TDGNestedLabel cb)
public tdg.TDGNestedLabel getO1LabelCallBack()
public void setBadDogCallback(BadDogCallback cb)
public BadDogCallback getBadDogCallBack()
public void setDataFromCallBack(TDGDataGrid grid)
public void setDataFromDataGrid(TDGDataGrid grid)
public void setDataFromSQL(java.lang.String SQLQuery, java.sql.Statement aStmt)
public void setDataFromResultSet(java.sql.ResultSet rs) throws java.sql.SQLException
public boolean isSQLTypeNumeric(int SQLType)
public boolean isSQLTypeString(int SQLType)
public void setUseSampleData(boolean newValue)
public void setDataFileURL(java.lang.String aDataFileURL) throws tdg.AssertionException
public void setDataStream(java.io.InputStream in) throws tdg.AssertionException
public void setLocale(java.util.Locale aLocale)
public java.util.Locale getLocale()
public void startListeners()
public void stopListeners()
public void focusCube(double focusFactor)
focusCube
No Description
focusFactor
- doubleJChart_3D
public tdg.model3d.Matrix3d getCubeRotationMatrix()
public void rotateCubeX(double degreesX)
rotateCubeX
No Description
degreesX
- doubleJChart_3D
public void rotateCubeY(double degreesY)
rotateCubeY
No Description
degreesY
- doubleJChart_3D
public void rotateCubeZ(double degreesZ)
rotateCubeZ
No Description
degreesZ
- doubleJChart_3D
public void scaleCube(double scaleFactor)
scaleCube
No Description
scaleFactor
- doubleJChart_3D
public void setCubeRotationMatrix(double rx, double ry, double rz)
public void setCubeRotationMatrix(tdg.model3d.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
tx
- doublety
- doubletz
- doubleJChart_3D
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.tx
- doublety
- doubletz
- doubleJChart_3D
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |