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

org::netbeans::lib::profiler::charts::xy::synchronous::SynchronousXYItemPainter Class Reference

Inheritance diagram for org::netbeans::lib::profiler::charts::xy::synchronous::SynchronousXYItemPainter:

org::netbeans::lib::profiler::charts::xy::XYItemPainter org::netbeans::lib::profiler::charts::ItemPainter com::sun::tools::visualvm::charts::xy::XYPainter org::netbeans::lib::profiler::ui::charts::xy::ProfilerGCXYItemPainter

List of all members.

Detailed Description

Jiri Sedlacek

Definition at line 49 of file SynchronousXYItemPainter.java.

Public Member Functions

ItemSelection getClosestSelection (ChartItem item, int viewX, int viewY, ChartContext context)
LongRect getDirtyBounds (ChartItemChange itemChange, ChartContext context)
LongRect getItemBounds (ChartItem item, ChartContext context)
LongRect getItemBounds (ChartItem item)
double getItemValue (double viewY, XYItem item, ChartContext context)
double getItemValueScale (XYItem item, ChartContext context)
double getItemView (double dataY, XYItem item, ChartContext context)
LongRect getSelectionBounds (ItemSelection selection, ChartContext context)
boolean isAppearanceChange (ChartItemChange itemChange)
boolean isBoundsChange (ChartItemChange itemChange)
void paintItem (ChartItem item, List< ItemSelection > highlighted, List< ItemSelection > selected, Graphics2D g, Rectangle dirtyArea, ChartContext context)
boolean supportsHovering (ChartItem item)
boolean supportsSelecting (ChartItem item)
 SynchronousXYItemPainter (float lineWidth, Color lineColor, Color fillColor, int type, int maxValueOffset)

Static Public Member Functions

static SynchronousXYItemPainter absolutePainter (float lineWidth, Color lineColor, Color fillColor)
static SynchronousXYItemPainter relativePainter (float lineWidth, Color lineColor, Color fillColor, int maxOffset)

Static Public Attributes

static final int TYPE_ABSOLUTE = 0
static final int TYPE_RELATIVE = 1

Protected Member Functions

void paint (XYItem item, List< ItemSelection > highlighted, List< ItemSelection > selected, Graphics2D g, Rectangle dirtyArea, SynchronousXYChartContext context)

Protected Attributes

final Color fillColor
final Color lineColor
final Stroke lineStroke
final int lineWidth
final int maxValueOffset
final int type

Private Member Functions

LongRect getDataBounds (LongRect itemBounds)
LongRect getViewBounds (LongRect itemBounds, ChartContext context)
LongRect getViewBoundsRelative (LongRect dataBounds, XYItem item, ChartContext context)

Static Private Member Functions

static int[][] createPoints (XYItem item, Rectangle dirtyArea, SynchronousXYChartContext context, int type, int maxValueOffset)
static double getItemValueFactor (ChartContext context, double maxValueOffset, double itemHeight)
static double getYValue (XYItem item, int valueIndex, int type, ChartContext context, double itemValueFactor)

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

Generated by  Doxygen 1.6.0   Back to index