Logo Search packages:      
Sourcecode: visualvm version File versions  Download package

org::netbeans::lib::profiler::ui::charts::SynchronousXYChart Class Reference

Inheritance diagram for org::netbeans::lib::profiler::ui::charts::SynchronousXYChart:

org::netbeans::lib::profiler::ui::charts::ChartModelListener org::netbeans::lib::profiler::ui::charts::ChartModelListener

List of all members.


Detailed Description

Author:
Tomas Hurka

Jiri Sedlacek

Definition at line 58 of file SynchronousXYChart.java.


Public Member Functions

synchronized void addChartActionListener (ChartActionListener chartActionListener)
synchronized void addChartActionListener (ChartActionListener chartActionListener)
void adjustmentValueChanged (AdjustmentEvent e)
void adjustmentValueChanged (AdjustmentEvent e)
void allowSelection ()
void allowSelection ()
void associateJScrollBar (JScrollBar scrollBar)
void associateJScrollBar (JScrollBar scrollBar)
void chartDataChanged ()
void chartDataChanged ()
void componentHidden (ComponentEvent e)
void componentHidden (ComponentEvent e)
void componentMoved (ComponentEvent e)
void componentMoved (ComponentEvent e)
void componentResized (ComponentEvent e)
void componentResized (ComponentEvent e)
void componentShown (ComponentEvent e)
void componentShown (ComponentEvent e)
boolean containsValidData ()
boolean containsValidData ()
void deassociateJScrollBar ()
void deassociateJScrollBar ()
void denySelection ()
void denySelection ()
void fitToViewRectangle (int viewX, int viewY, int viewWidth, int viewHeight)
void fitToViewRectangle (int viewX, int viewY, int viewWidth, int viewHeight)
AccessibleContext getAccessibleContext ()
AccessibleContext getAccessibleContext ()
boolean getAutoTrackingEnd ()
boolean getAutoTrackingEnd ()
Paint getBackgroundPaint ()
Paint getBackgroundPaint ()
Paint getChartPaint ()
Paint getChartPaint ()
Stroke getChartStroke ()
Stroke getChartStroke ()
int getCopyAcceleration ()
int getCopyAcceleration ()
long getDataToViewHeight (long height, int seriesIndex)
long getDataToViewHeight (long height, int seriesIndex)
long getDataToViewWidth (long width)
long getDataToViewWidth (long width)
long getDataToViewX (long xValue)
long getDataToViewX (long xValue)
long getDataToViewY (long yValue, int seriesIndex)
long getDataToViewY (long yValue, int seriesIndex)
Font getHorizontalAxisFont ()
Font getHorizontalAxisFont ()
Paint getHorizontalMeshPaint ()
Paint getHorizontalMeshPaint ()
Stroke getHorizontalMeshStroke ()
Stroke getHorizontalMeshStroke ()
int getIntBlockIncrement ()
int getIntBlockIncrement ()
int getIntExtent ()
int getIntExtent ()
int getIntMaximum ()
int getIntMaximum ()
int getIntMinimum ()
int getIntMinimum ()
int getIntPosition ()
int getIntPosition ()
int getIntUnitIncrement ()
int getIntUnitIncrement ()
int getLeadingItemIndexForPosition (int x)
int getLeadingItemIndexForPosition (int x)
double getMaximumZoom ()
double getMaximumZoom ()
int getMinimumVerticalMarksDistance ()
int getMinimumVerticalMarksDistance ()
double getMinimumZoom ()
double getMinimumZoom ()
SynchronousXYChartModel getModel ()
SynchronousXYChartModel getModel ()
long getRealExtent ()
long getRealExtent ()
long getRealMaximum ()
long getRealMaximum ()
long getRealMinimum ()
long getRealMinimum ()
long getRealPosition ()
long getRealPosition ()
double getScale ()
double getScale ()
boolean getSelectionTracksMovement ()
boolean getSelectionTracksMovement ()
String getTimeAtPosition (int x)
String getTimeAtPosition (int x)
int getTopChartMargin ()
int getTopChartMargin ()
boolean getUseSecondaryVerticalAxis ()
boolean getUseSecondaryVerticalAxis ()
Font getVerticalAxisFont ()
Font getVerticalAxisFont ()
int getVerticalAxisValueDivider ()
int getVerticalAxisValueDivider ()
int getVerticalAxisValueDivider2 ()
int getVerticalAxisValueDivider2 ()
String getVerticalAxisValueString ()
String getVerticalAxisValueString ()
String getVerticalAxisValueString2 ()
String getVerticalAxisValueString2 ()
Paint getVerticalMeshPaint ()
Paint getVerticalMeshPaint ()
Stroke getVerticalMeshStroke ()
Stroke getVerticalMeshStroke ()
long getViewOffsetX ()
long getViewOffsetX ()
double getViewToDataApproxHeight (long height, int seriesIndex)
double getViewToDataApproxHeight (long height, int seriesIndex)
double getViewToDataApproxWidth (long width)
double getViewToDataApproxWidth (long width)
double getViewToDataApproxX (long xValue)
double getViewToDataApproxX (long xValue)
double getViewToDataApproxY (long yValue, int seriesIndex)
double getViewToDataApproxY (long yValue, int seriesIndex)
long getYValueAtPosition (int x, int seriesIndex)
long getYValueAtPosition (int x, int seriesIndex)
boolean hasValidDataForPosition (int x, int y)
boolean hasValidDataForPosition (Point point)
boolean hasValidDataForPosition (int x, int y)
boolean hasValidDataForPosition (Point point)
boolean isFitToWindow ()
boolean isFitToWindow ()
boolean isMaximumZoom ()
boolean isMaximumZoom ()
boolean isMinimumZoom ()
boolean isMinimumZoom ()
boolean isOverChart (int x, int y)
boolean isOverChart (Point point)
boolean isOverChart (int x, int y)
boolean isOverChart (Point point)
boolean isReady ()
boolean isSelectionAllowed ()
boolean isSelectionAllowed ()
boolean isTrackingEnd ()
boolean isTrackingEnd ()
boolean isVerticalAxisValueAdaptDivider ()
boolean isVerticalAxisValueAdaptDivider ()
boolean isVerticalAxisValueAdaptDivider2 ()
boolean isVerticalAxisValueAdaptDivider2 ()
boolean isWithinData (int x)
boolean isWithinData (int x)
void mouseClicked (MouseEvent e)
void mouseClicked (MouseEvent e)
void mouseDragged (MouseEvent e)
void mouseDragged (MouseEvent e)
void mouseEntered (MouseEvent e)
void mouseEntered (MouseEvent e)
void mouseExited (MouseEvent e)
void mouseExited (MouseEvent e)
void mouseMoved (MouseEvent e)
void mouseMoved (MouseEvent e)
void mousePressed (MouseEvent e)
void mousePressed (MouseEvent e)
void mouseReleased (MouseEvent e)
void mouseReleased (MouseEvent e)
void paintComponent (Graphics g)
void paintComponent (Graphics g)
synchronized void removeChartActionListener (ChartActionListener chartActionListener)
synchronized void removeChartActionListener (ChartActionListener chartActionListener)
void resetChart ()
void resetChart ()
void resetFitToWindow ()
void resetFitToWindow ()
void resetTrackingEnd ()
void resetTrackingEnd ()
void setAccessibleContext (AccessibleContext accessibleContext)
void setAccessibleContext (AccessibleContext accessibleContext)
void setAutoTrackingEnd (boolean autoTrackingEnd)
void setAutoTrackingEnd (boolean autoTrackingEnd)
void setBackgroundPaint (Paint backgroundPaint)
void setBackgroundPaint (Paint backgroundPaint)
void setChartPaint (Paint chartPaint)
void setChartPaint (Paint chartPaint)
void setChartStroke (Stroke chartStroke)
void setChartStroke (Stroke chartStroke)
void setCopyAcceleration (int copyAccel)
void setCopyAcceleration (int copyAccel)
void setFitToWindow ()
void setFitToWindow (boolean fitToWindow)
void setFitToWindow ()
void setFitToWindow (boolean fitToWindow)
void setHorizontalAxisFont (Font horizontalAxisFont)
void setHorizontalAxisFont (Font horizontalAxisFont)
void setHorizontalMeshPaint (Paint horizontalMeshPaint)
void setHorizontalMeshPaint (Paint horizontalMeshPaint)
void setHorizontalMeshStroke (Stroke horizontalMeshStroke)
void setHorizontalMeshStroke (Stroke horizontalMeshStroke)
void setMinimumVerticalMarksDistance (int minimumVerticalMarksDistance)
void setMinimumVerticalMarksDistance (int minimumVerticalMarksDistance)
void setModel (SynchronousXYChartModel model)
void setModel (SynchronousXYChartModel model)
void setScale (double viewScaleX)
void setScale (double viewScaleX)
void setScaleAndOffsetX (double viewScaleX, long viewOffsetX)
void setScaleAndOffsetX (double viewScaleX, long viewOffsetX)
void setSelectionTracksMovement (boolean selectionTracksMovement)
void setSelectionTracksMovement (boolean selectionTracksMovement)
void setTopChartMargin (int topChartMargin)
void setTopChartMargin (int topChartMargin)
void setTrackingEnd ()
void setTrackingEnd (boolean trackingEnd)
void setTrackingEnd (double viewScaleX)
void setTrackingEnd ()
void setTrackingEnd (boolean trackingEnd)
void setTrackingEnd (double viewScaleX)
void setupInitialAppearance (long firstValueH, long lastValueH, long firstValueV, long lastValueV)
void setupInitialAppearance (long firstValueH, long lastValueH, long firstValueV, long lastValueV)
void setUseSecondaryVerticalAxis (boolean useSecondaryVerticalAxis)
void setUseSecondaryVerticalAxis (boolean useSecondaryVerticalAxis)
void setVerticalAxisFont (Font verticalAxisFont)
void setVerticalAxisFont (Font verticalAxisFont)
void setVerticalAxisValueAdaptDivider (boolean verticalAxisValueAdaptDivider)
void setVerticalAxisValueAdaptDivider (boolean verticalAxisValueAdaptDivider)
void setVerticalAxisValueAdaptDivider2 (boolean verticalAxisValueAdaptDivider2)
void setVerticalAxisValueAdaptDivider2 (boolean verticalAxisValueAdaptDivider2)
void setVerticalAxisValueDivider (int verticalAxisValueDivider)
void setVerticalAxisValueDivider (int verticalAxisValueDivider)
void setVerticalAxisValueDivider2 (int verticalAxisValueDivider2)
void setVerticalAxisValueDivider2 (int verticalAxisValueDivider2)
void setVerticalAxisValueString (String verticalAxisValueString)
void setVerticalAxisValueString (String verticalAxisValueString)
void setVerticalAxisValueString2 (String verticalAxisValueString2)
void setVerticalAxisValueString2 (String verticalAxisValueString2)
void setVerticalMeshPaint (Paint verticalMeshPaint)
void setVerticalMeshPaint (Paint verticalMeshPaint)
void setVerticalMeshStroke (Stroke verticalMeshStroke)
void setVerticalMeshStroke (Stroke verticalMeshStroke)
void setViewOffsetX (long viewOffsetX)
void setViewOffsetX (long viewOffsetX)
 SynchronousXYChart (int type, int dataType, double initialZoom)
 SynchronousXYChart (int type, int dataType)
 SynchronousXYChart (int type)
 SynchronousXYChart ()
 SynchronousXYChart (int type, int dataType, double initialZoom)
 SynchronousXYChart (int type, int dataType)
 SynchronousXYChart (int type)
 SynchronousXYChart ()
void update (Graphics g)
void update (Graphics g)

Static Public Member Functions

static void main (String[] args)
static void main (String[] args)

Static Public Attributes

static final int COPY_ACCEL_GENERIC = 100
static final int COPY_ACCEL_RASTER = 101
static final int TYPE_FILL = 2
static final int TYPE_LINE = 1
static final int VALUES_DISCRETE = 51
static final int VALUES_INTERPOLATED = 50

Protected Member Functions

void fireChartDataChanged ()
void fireChartDataChanged ()
void fireChartFitToWindowChanged ()
void fireChartFitToWindowChanged ()
void fireChartPanned ()
void fireChartPanned ()
void fireChartTrackingEndChanged ()
void fireChartTrackingEndChanged ()
void fireChartZoomed ()
void fireChartZoomed ()

Private Member Functions

void changeFitToWindow (boolean newValue)
void changeFitToWindow (boolean newValue)
void changePan (long newValue)
void changePan (long newValue)
void changeTrackingEnd (boolean newValue)
void changeTrackingEnd (boolean newValue)
void changeZoom (double newValue)
void changeZoom (double newValue)
boolean checkBottomChartMargin ()
boolean checkBottomChartMargin ()
void checkChartMargins ()
void checkChartMargins ()
boolean checkLeftChartMargin ()
boolean checkLeftChartMargin ()
boolean checkRightChartMargin ()
boolean checkRightChartMargin ()
void doRepaint (boolean rescale)
void doRepaint (boolean rescale)
void drawChart (Graphics2D g2)
void drawChart (Graphics2D g2)
void drawChartFitToWindow (Graphics2D g2)
void drawChartFitToWindow (Graphics2D g2)
void drawChartFromCurrentViewOffsetX (Graphics2D g2)
void drawChartFromCurrentViewOffsetX (Graphics2D g2)
void drawChartFromOffset (Graphics2D g2, int leadingItemIndex, int startClipX, int endClipX)
void drawChartFromOffset (Graphics2D g2, long offsetX)
void drawChartFromOffset (Graphics2D g2, int leadingItemIndex, int startClipX, int endClipX)
void drawChartFromOffset (Graphics2D g2, long offsetX)
void drawChartLegend (Graphics2D g2, Shape chartClip, int startClipX, int endClipX)
void drawChartLegend (Graphics2D g2, Shape chartClip, int startClipX, int endClipX)
void drawChartLegendEmpty (Graphics2D g2)
void drawChartLegendEmpty (Graphics2D g2)
void drawFillSeriesItem (Graphics2D g2, Color color, int x1, int y1, int x2, int y2)
void drawFillSeriesItem (Graphics2D g2, Color color, int x1, int y1, int x2, int y2)
void drawHorizontalAxisLegendSegment (Graphics2D g2, long currentMark, int x)
void drawHorizontalAxisLegendSegment (Graphics2D g2, long currentMark, int x)
void drawHorizontalChartLegend (Graphics2D g2, Shape chartClip, int startClipX, int endClipX, long firstValue, long lastValue)
void drawHorizontalChartLegend (Graphics2D g2, Shape chartClip, int startClipX, int endClipX, long firstValue, long lastValue)
void drawHorizontalMeshSegment (Graphics2D g2, Shape chartClip, int x1, int y1, int x2, int y2)
void drawHorizontalMeshSegment (Graphics2D g2, Shape chartClip, int x1, int y1, int x2, int y2)
void drawLineSeriesItem (Graphics2D g2, Color color, int x1, int y1, int x2, int y2)
void drawLineSeriesItem (Graphics2D g2, Color color, int x1, int y1, int x2, int y2)
void drawSelection (Graphics2D g2)
void drawSelection (Graphics2D g2)
void drawSeriesItem (Graphics2D g2, Color color, long x1, long y1, long x2, long y2)
void drawSeriesItem (Graphics2D g2, Color color, long x1, long y1, long x2, long y2)
void drawVerticalAxisLegendSegment (Graphics2D g2, long currentMark, long optimalUnits, int y)
void drawVerticalAxisLegendSegment (Graphics2D g2, long currentMark, long optimalUnits, int y)
void drawVerticalAxisLegendSegment2 (Graphics2D g2, long currentMark, long optimalUnits, int y)
void drawVerticalAxisLegendSegment2 (Graphics2D g2, long currentMark, long optimalUnits, int y)
void drawVerticalChartLegend (Graphics2D g2, Shape chartClip, int startClipX, int endClipX, double firstValue, double lastValue)
void drawVerticalChartLegend (Graphics2D g2, Shape chartClip, int startClipX, int endClipX, double firstValue, double lastValue)
void drawVerticalMeshSegment (Graphics2D g2, Shape chartClip, int x1, int y1, int x2, int y2)
void drawVerticalMeshSegment (Graphics2D g2, Shape chartClip, int x1, int y1, int x2, int y2)
void fitToSelection ()
void fitToSelection ()
void fitToWindow ()
void fitToWindow ()
int getBottomHorizontalAxisLegendHeight ()
int getBottomHorizontalAxisLegendHeight ()
int getLeadingItemIndex (long offsetX, int lastLeadingItemIndex)
int getLeadingItemIndex (long offsetX)
int getLeadingItemIndex (long offsetX, int lastLeadingItemIndex)
int getLeadingItemIndex (long offsetX)
int getLeftVerticalAxisLegendWidth ()
int getLeftVerticalAxisLegendWidth ()
int getRightVerticalAxisLegendWidth ()
int getRightVerticalAxisLegendWidth ()
String getVerticalAxisMarkString (long mark)
String getVerticalAxisMarkString (long mark)
String getVerticalAxisMarkString2 (long mark)
String getVerticalAxisMarkString2 (long mark)
double getXValueAtPosition (int x)
double getXValueAtPosition (int x)
void paintHorizontalTimeMarkString (Graphics2D g2, long currentMark, int x)
void paintHorizontalTimeMarkString (Graphics2D g2, long currentMark, int x)
void paintVerticalTimeMarkString (Graphics2D g2, long currentMark, long optimalUnits, int y)
void paintVerticalTimeMarkString (Graphics2D g2, long currentMark, long optimalUnits, int y)
void paintVerticalTimeMarkString2 (Graphics2D g2, long currentMark, long optimalUnits, int y)
void paintVerticalTimeMarkString2 (Graphics2D g2, long currentMark, long optimalUnits, int y)
void performSelectionDone ()
void performSelectionDone ()
void updateOffScreenImageSize ()
void updateOffScreenImageSize ()
void updateScaleFactors ()
void updateScaleFactors ()
void updateScrollBarValues ()
void updateScrollBarValues ()
void updateTrailingItemVisible ()
void updateTrailingItemVisible ()

Private Attributes

AccessibleContext accessibleContext
boolean allowSelection
boolean autoTrackingEnd
Paint backgroundPaint
Vector chartActionListeners
int chartHeight
Insets chartInsets
Paint chartPaint
Stroke chartStroke
int chartWidth
int copyAccel = COPY_ACCEL_GENERIC
boolean customizedEmptyAppearance = false
long[] dataOffsetsY
long dataOffsetX
int dataType
long dataViewWidth
double dataWidthAtTrackingEndSwitch
int drawHeight
int drawWidth
Color evenSelectionSegmentsColor
Stroke evenSelectionSegmentsStroke
long firstValueH
long firstValueV
boolean fitToWindow
Rectangle horizontalAxisClip = new Rectangle()
Font horizontalAxisFont
Font horizontalAxisFontSmall
Rectangle horizontalAxisMarksClip = new Rectangle()
Paint horizontalAxisPaint
Stroke horizontalAxisStroke
Paint horizontalMeshPaint
Stroke horizontalMeshStroke
double initialZoom
Insets insets
boolean internalScrollBarChange
int lastLeadingItemIndex
boolean lastLeadingItemIsForBuffer
long lastMaxY
long[] lastMaxYs
long lastMinY
long[] lastMinYs
boolean lastScaleXValid
boolean lastScaleYValid
int lastTrailingItemIndex
boolean lastTrailingItemIndexValid
long lastValueH
long lastValueV
long lastViewOffsetX
boolean lastViewOffsetXValid
Color limitYColor = Color.WHITE
long limitYValue = Long.MAX_VALUE
int minimumVerticalMarksDistance
SynchronousXYChartModel model
boolean mouseInProgress
Color oddSelectionSegmentColor
Stroke oddSelectionSegmentStroke
Graphics2D offScreenGraphics
BufferedImage offScreenImage
boolean offScreenImageInvalid
long optimalUnits
boolean scaleFactorsNeedUpdate
double[] scaleFactorsY
double scaleFactorX
JScrollBar scrollBar
double scrollBarLongToIntFactor
boolean scrollBarValuesDirty
int selectionHeight
boolean selectionTracksMovement
int selectionWidth
int selectionX
int selectionY
int topChartMargin
boolean trackingEnd
boolean trailingItemVisible
int type
boolean useDayInTimeLegend
boolean useSecondaryVerticalAxis
Rectangle verticalAxisClip = new Rectangle()
Rectangle verticalAxisClip2 = new Rectangle()
Font verticalAxisFont
Paint verticalAxisPaint
Stroke verticalAxisStroke
boolean verticalAxisValueAdaptDivider
boolean verticalAxisValueAdaptDivider2
int verticalAxisValueDivider
int verticalAxisValueDivider2
String verticalAxisValueString = ""
String verticalAxisValueString2 = ""
Paint verticalMeshPaint
Stroke verticalMeshStroke
long viewOffsetX
double viewScaleX

Static Private Attributes

static final String FIT_TO_WINDOW_STRING = messages.getString("SynchronousXYChart_FitToWindowString")
static final int HORIZONTAL_LEGEND_MARGIN = 5
static final double maximumZoom = DateTimeAxisUtils.getMaximumScale(minimumOptimalUnits)
static final ResourceBundle messages = ResourceBundle.getBundle("org.netbeans.lib.profiler.ui.charts.Bundle")
static final long minimumOptimalUnits = 100
static final double minimumVisibleDataWidthRel = 0.1d

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index