Class DottedChart
- java.lang.Object
-
- org.jfree.chart.plot.Plot
-
- org.processmining.logprojection.plugins.dottedchart.DottedChart
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.EventListener,org.jfree.chart.event.AnnotationChangeListener,org.jfree.chart.event.AxisChangeListener,org.jfree.chart.event.MarkerChangeListener,org.jfree.chart.LegendItemSource,org.jfree.chart.plot.Pannable,org.jfree.chart.plot.ValueAxisPlot,org.jfree.chart.plot.Zoomable,org.jfree.data.general.DatasetChangeListener,org.jfree.util.PublicCloneable
public class DottedChart extends org.jfree.chart.plot.Plot implements org.jfree.chart.plot.ValueAxisPlot, org.jfree.chart.plot.Pannable, org.jfree.chart.plot.Zoomable, org.jfree.chart.LegendItemSourceA fast scatter plot. The code is taken from FastScatterPlot in JFreeChart, but this class did not allow for sufficient access to private fields through the appropriate getters and setters. Access to various methods of this class are synchronized as they can be very time consuming on larger datasets. The callers should ensure that these methods are not called from the EventDispatchThread is not absolutely necessary.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDottedChart.AttributeTypestatic classDottedChart.DottedChartException
-
Field Summary
Fields Modifier and Type Field Description protected static java.text.DateFormatDATEFORMATABSprotected static java.text.DateFormatDATEFORMATRELstatic java.awt.PaintDEFAULT_GRIDLINE_PAINTThe default grid line paint.static java.awt.StrokeDEFAULT_GRIDLINE_STROKEThe default grid line stroke.static java.awt.StrokeDEFAULT_LINE_STROKEThe default outline stroke.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEventFilter(EventFilter eventFilter, boolean signalChange)voidapplyEventFilters(boolean signalChange)protected org.jfree.chart.axis.AxisSpacecalculateAxisSpace(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea)protected org.jfree.chart.axis.AxisSpacecalculateDomainAxisSpace(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea, org.jfree.chart.axis.AxisSpace space)Calculates the space required for the domain axis/axes.protected org.jfree.chart.axis.AxisSpacecalculateRangeAxisSpace(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea, org.jfree.chart.axis.AxisSpace space)Calculates the space required for the range axis/axes.voiddraw(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D area, java.awt.geom.Point2D anchor, org.jfree.chart.plot.PlotState parentState, org.jfree.chart.plot.PlotRenderingInfo info)Draws the fast scatter plot on a Java 2D graphics device (such as the screen or a printer).protected voiddrawDomainGridlines(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, java.util.List ticks)Draws the gridlines for the plot, if they are visible.protected voiddrawRangeGridlines(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, java.util.List ticks)Draws the gridlines for the plot, if they are visible.booleanequals(java.lang.Object obj)Tests an arbitrary object for equality with this plot.LightLogexportViewToLightLog(boolean visibleOnly, java.lang.String name)org.deckfour.xes.model.XLogexportViewToXLog(boolean visibleOnly, java.lang.String name)AttributegetAttribute(DottedChart.AttributeType type)static java.awt.ColorgetColor(float x)AttributegetColorAttribute()java.util.Map<java.lang.String,java.awt.Color>getColorMap()org.jfree.data.RangegetDataRange(org.jfree.chart.axis.ValueAxis axis)Returns the range of data values to be plotted along the axis, ornullif the specified axis isn't the domain axis or the range axis for the plot.doublegetDefaultSize()org.jfree.chart.axis.ValueAxisgetDomainAxis()Returns the domain axis for the plot.java.awt.PaintgetDomainGridlinePaint()Returns the paint for the grid lines (if any) plotted against the domain axis.java.awt.StrokegetDomainGridlineStroke()Returns the stroke for the grid-lines (if any) plotted against the domain axis.doublegetDotScale()java.lang.StringgetEventClass(DataManager<?> manager, int e)org.jfree.chart.LegendItemCollectiongetLegendItems()LogViewgetLogView()org.jfree.chart.plot.PlotOrientationgetOrientation()Returns the orientation of the plot.java.lang.StringgetPercentageRendered()java.lang.StringgetPlotType()Returns a short string describing the plot type.org.jfree.chart.axis.ValueAxisgetRangeAxis()Returns the range axis for the plot.java.awt.PaintgetRangeGridlinePaint()Returns the paint for the grid lines (if any) plotted against the range axis.java.awt.StrokegetRangeGridlineStroke()Returns the stroke for the grid lines (if any) plotted against the range axis.java.lang.StringgetRenderTime()AttributegetShapeAttribute()java.lang.StringgetToolTipForScreenLocation(org.jfree.chart.ChartPanel panel, java.awt.event.MouseEvent event)AttributegetXAxisAttribute()AttributegetYAxisAttribute()booleanisDomainGridlinesVisible()Returnstrueif the domain gridlines are visible, andfalseotherwise.booleanisDomainPannable()Returnstrueif panning is enabled for the domain axes, andfalseotherwise.booleanisDomainZoomable()Returnstrue.booleanisRangeGridlinesVisible()Returnstrueif the range axis grid is visible, andfalseotherwise.booleanisRangePannable()Returnstrueif panning is enabled for the range axes, andfalseotherwise.booleanisRangeZoomable()Returnstrue.booleanisXAxisContinuous()booleanisYAxisContinuous()voidpanDomainAxes(double percent, org.jfree.chart.plot.PlotRenderingInfo info, java.awt.geom.Point2D source)Pans the domain axes by the specified percentage.voidpanRangeAxes(double percent, org.jfree.chart.plot.PlotRenderingInfo info, java.awt.geom.Point2D source)Pans the range axes by the specified percentage.voidremoveEventFilter(EventFilter eventFilter, boolean signalChange)voidrender(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, org.jfree.chart.plot.PlotRenderingInfo info, org.jfree.chart.plot.CrosshairState crosshairState)Draws a representation of the data within the dataArea region.protected voidrenderShape(java.awt.Graphics2D g2, double halfDotSize, int transX, int transY, byte shape)voidsetAttribute(DottedChart.AttributeType type, Attribute attribute, boolean signalChange)voidsetColorAttribute(Attribute colorAttribute, boolean signalChange)voidsetDefaultSize(double size)voidsetDomainAxis(org.jfree.chart.axis.ValueAxis axis)Sets the domain axis and sends aPlotChangeEventto all registered listeners.voidsetDomainGridlinePaint(java.awt.Paint paint)Sets the paint for the grid lines plotted against the domain axis and sends aPlotChangeEventto all registered listeners.voidsetDomainGridlineStroke(java.awt.Stroke stroke)Sets the stroke for the grid lines plotted against the domain axis and sends aPlotChangeEventto all registered listeners.voidsetDomainGridlinesVisible(boolean visible)Sets the flag that controls whether or not the domain grid-lines are visible.voidsetDomainPannable(boolean pannable)Sets the flag that enables or disables panning of the plot along the domain axes.voidsetDotScale(double scale, boolean signalChange)voidsetIntensityPanel(javax.swing.JPanel intensityPanel, IntensityChart intensityChart)voidsetLinesOn(boolean lines, boolean signalChange)voidsetRangeAxis(org.jfree.chart.axis.ValueAxis axis)Sets the range axis and sends aPlotChangeEventto all registered listeners.voidsetRangeGridlinePaint(java.awt.Paint paint)Sets the paint for the grid lines plotted against the range axis and sends aPlotChangeEventto all registered listeners.voidsetRangeGridlineStroke(java.awt.Stroke stroke)Sets the stroke for the grid lines plotted against the range axis and sends aPlotChangeEventto all registered listeners.voidsetRangeGridlinesVisible(boolean visible)Sets the flag that controls whether or not the range axis grid lines are visible.voidsetRangePannable(boolean pannable)Sets the flag that enables or disables panning of the plot along the range axes.voidsetShapeAttribute(Attribute shapeAttribute, boolean signalChange)voidsetXAxisAttribute(Attribute attribute, boolean signalChange)voidsetYAxisAttribute(Attribute attribute, boolean signalChange)voidzoomDomainAxes(double lowerPercent, double upperPercent, org.jfree.chart.plot.PlotRenderingInfo info, java.awt.geom.Point2D source)Zooms in on the domain axes.voidzoomDomainAxes(double factor, org.jfree.chart.plot.PlotRenderingInfo info, java.awt.geom.Point2D source)/** Multiplies the range on the domain axis by the specified factor.voidzoomDomainAxes(double factor, org.jfree.chart.plot.PlotRenderingInfo info, java.awt.geom.Point2D source, boolean useAnchor)Multiplies the range on the domain axis by the specified factor.voidzoomRangeAxes(double lowerPercent, double upperPercent, org.jfree.chart.plot.PlotRenderingInfo info, java.awt.geom.Point2D source)Zooms in on the range axes.voidzoomRangeAxes(double factor, org.jfree.chart.plot.PlotRenderingInfo info, java.awt.geom.Point2D source)Multiplies the range on the range axis/axes by the specified factor.voidzoomRangeAxes(double factor, org.jfree.chart.plot.PlotRenderingInfo info, java.awt.geom.Point2D source, boolean useAnchor)Multiplies the range on the range axis by the specified factor.-
Methods inherited from class org.jfree.chart.plot.Plot
addChangeListener, annotationChanged, axisChanged, clone, createAndAddEntity, datasetChanged, drawBackground, drawBackgroundImage, drawNoDataMessage, drawOutline, fillBackground, fillBackground, fireChangeEvent, getBackgroundAlpha, getBackgroundImage, getBackgroundImageAlignment, getBackgroundImageAlpha, getBackgroundPaint, getDatasetGroup, getDrawingSupplier, getForegroundAlpha, getInsets, getNoDataMessage, getNoDataMessageFont, getNoDataMessagePaint, getOutlinePaint, getOutlineStroke, getParent, getRectX, getRectY, getRootPlot, handleClick, isNotify, isOutlineVisible, isSubplot, markerChanged, notifyListeners, removeChangeListener, resolveDomainAxisLocation, resolveRangeAxisLocation, setBackgroundAlpha, setBackgroundImage, setBackgroundImageAlignment, setBackgroundImageAlpha, setBackgroundPaint, setDatasetGroup, setDrawingSupplier, setDrawingSupplier, setForegroundAlpha, setInsets, setInsets, setNoDataMessage, setNoDataMessageFont, setNoDataMessagePaint, setNotify, setOutlinePaint, setOutlineStroke, setOutlineVisible, setParent, zoom
-
-
-
-
Field Detail
-
DATEFORMATABS
protected static final java.text.DateFormat DATEFORMATABS
-
DATEFORMATREL
protected static final java.text.DateFormat DATEFORMATREL
-
DEFAULT_GRIDLINE_STROKE
public static final java.awt.Stroke DEFAULT_GRIDLINE_STROKE
The default grid line stroke.
-
DEFAULT_LINE_STROKE
public static final java.awt.Stroke DEFAULT_LINE_STROKE
The default outline stroke.
-
DEFAULT_GRIDLINE_PAINT
public static final java.awt.Paint DEFAULT_GRIDLINE_PAINT
The default grid line paint.
-
-
Constructor Detail
-
DottedChart
public DottedChart(LogView log, Attribute xAttribute, Attribute yAttribute, Attribute colorAttribute, Attribute shapeAttribute) throws DottedChart.DottedChartException
- Throws:
DottedChart.DottedChartException
-
-
Method Detail
-
setXAxisAttribute
public void setXAxisAttribute(Attribute attribute, boolean signalChange) throws DottedChart.DottedChartException
- Throws:
DottedChart.DottedChartException
-
setYAxisAttribute
public void setYAxisAttribute(Attribute attribute, boolean signalChange) throws DottedChart.DottedChartException
- Throws:
DottedChart.DottedChartException
-
addEventFilter
public void addEventFilter(EventFilter eventFilter, boolean signalChange)
-
removeEventFilter
public void removeEventFilter(EventFilter eventFilter, boolean signalChange)
-
applyEventFilters
public void applyEventFilters(boolean signalChange)
-
setColorAttribute
public void setColorAttribute(Attribute colorAttribute, boolean signalChange) throws DottedChart.DottedChartException
- Throws:
DottedChart.DottedChartException
-
getColor
public static java.awt.Color getColor(float x)
-
setShapeAttribute
public void setShapeAttribute(Attribute shapeAttribute, boolean signalChange) throws DottedChart.DottedChartException
- Throws:
DottedChart.DottedChartException
-
getPlotType
public java.lang.String getPlotType()
Returns a short string describing the plot type.- Specified by:
getPlotTypein classorg.jfree.chart.plot.Plot- Returns:
- A short string describing the plot type.
-
getOrientation
public org.jfree.chart.plot.PlotOrientation getOrientation()
Returns the orientation of the plot.- Specified by:
getOrientationin interfaceorg.jfree.chart.plot.Pannable- Specified by:
getOrientationin interfaceorg.jfree.chart.plot.Zoomable- Returns:
- The orientation (always
PlotOrientation.VERTICAL).
-
getDomainAxis
public org.jfree.chart.axis.ValueAxis getDomainAxis()
Returns the domain axis for the plot.- Returns:
- The domain axis (never
null). - See Also:
setDomainAxis(ValueAxis)
-
setDomainAxis
public void setDomainAxis(org.jfree.chart.axis.ValueAxis axis)
Sets the domain axis and sends aPlotChangeEventto all registered listeners.- Parameters:
axis- the axis (nullnot permitted).- Since:
- 1.0.3
- See Also:
getDomainAxis()
-
getRangeAxis
public org.jfree.chart.axis.ValueAxis getRangeAxis()
Returns the range axis for the plot.- Returns:
- The range axis (never
null). - See Also:
setRangeAxis(ValueAxis)
-
setRangeAxis
public void setRangeAxis(org.jfree.chart.axis.ValueAxis axis)
Sets the range axis and sends aPlotChangeEventto all registered listeners.- Parameters:
axis- the axis (nullnot permitted).- Since:
- 1.0.3
- See Also:
getRangeAxis()
-
isDomainGridlinesVisible
public boolean isDomainGridlinesVisible()
Returnstrueif the domain gridlines are visible, andfalseotherwise.- Returns:
trueorfalse.- See Also:
setDomainGridlinesVisible(boolean),setDomainGridlinePaint(Paint)
-
setDomainGridlinesVisible
public void setDomainGridlinesVisible(boolean visible)
Sets the flag that controls whether or not the domain grid-lines are visible. If the flag value is changed, aPlotChangeEventis sent to all registered listeners.- Parameters:
visible- the new value of the flag.- See Also:
getDomainGridlinePaint()
-
getDomainGridlineStroke
public java.awt.Stroke getDomainGridlineStroke()
Returns the stroke for the grid-lines (if any) plotted against the domain axis.- Returns:
- The stroke (never
null). - See Also:
setDomainGridlineStroke(Stroke)
-
setDomainGridlineStroke
public void setDomainGridlineStroke(java.awt.Stroke stroke)
Sets the stroke for the grid lines plotted against the domain axis and sends aPlotChangeEventto all registered listeners.- Parameters:
stroke- the stroke (nullnot permitted).- See Also:
getDomainGridlineStroke()
-
getDomainGridlinePaint
public java.awt.Paint getDomainGridlinePaint()
Returns the paint for the grid lines (if any) plotted against the domain axis.- Returns:
- The paint (never
null). - See Also:
setDomainGridlinePaint(Paint)
-
setDomainGridlinePaint
public void setDomainGridlinePaint(java.awt.Paint paint)
Sets the paint for the grid lines plotted against the domain axis and sends aPlotChangeEventto all registered listeners.- Parameters:
paint- the paint (nullnot permitted).- See Also:
getDomainGridlinePaint()
-
isRangeGridlinesVisible
public boolean isRangeGridlinesVisible()
Returnstrueif the range axis grid is visible, andfalseotherwise.- Returns:
trueorfalse.- See Also:
setRangeGridlinesVisible(boolean)
-
setRangeGridlinesVisible
public void setRangeGridlinesVisible(boolean visible)
Sets the flag that controls whether or not the range axis grid lines are visible. If the flag value is changed, aPlotChangeEventis sent to all registered listeners.- Parameters:
visible- the new value of the flag.- See Also:
isRangeGridlinesVisible()
-
getRangeGridlineStroke
public java.awt.Stroke getRangeGridlineStroke()
Returns the stroke for the grid lines (if any) plotted against the range axis.- Returns:
- The stroke (never
null). - See Also:
setRangeGridlineStroke(Stroke)
-
setRangeGridlineStroke
public void setRangeGridlineStroke(java.awt.Stroke stroke)
Sets the stroke for the grid lines plotted against the range axis and sends aPlotChangeEventto all registered listeners.- Parameters:
stroke- the stroke (nullpermitted).- See Also:
getRangeGridlineStroke()
-
getRangeGridlinePaint
public java.awt.Paint getRangeGridlinePaint()
Returns the paint for the grid lines (if any) plotted against the range axis.- Returns:
- The paint (never
null). - See Also:
setRangeGridlinePaint(Paint)
-
setRangeGridlinePaint
public void setRangeGridlinePaint(java.awt.Paint paint)
Sets the paint for the grid lines plotted against the range axis and sends aPlotChangeEventto all registered listeners.- Parameters:
paint- the paint (nullnot permitted).- See Also:
getRangeGridlinePaint()
-
draw
public void draw(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D area, java.awt.geom.Point2D anchor, org.jfree.chart.plot.PlotState parentState, org.jfree.chart.plot.PlotRenderingInfo info)Draws the fast scatter plot on a Java 2D graphics device (such as the screen or a printer).- Specified by:
drawin classorg.jfree.chart.plot.Plot- Parameters:
g2- the graphics device.area- the area within which the plot (including axis labels) should be drawn.anchor- the anchor point (nullpermitted).parentState- the state from the parent plot (ignored).info- collects chart drawing information (nullpermitted).
-
calculateAxisSpace
protected org.jfree.chart.axis.AxisSpace calculateAxisSpace(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea)
-
calculateDomainAxisSpace
protected org.jfree.chart.axis.AxisSpace calculateDomainAxisSpace(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea, org.jfree.chart.axis.AxisSpace space)Calculates the space required for the domain axis/axes.- Parameters:
g2- the graphics device.plotArea- the plot area.space- a carrier for the result (nullpermitted).- Returns:
- The required space.
-
calculateRangeAxisSpace
protected org.jfree.chart.axis.AxisSpace calculateRangeAxisSpace(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea, org.jfree.chart.axis.AxisSpace space)Calculates the space required for the range axis/axes.- Parameters:
g2- the graphics device.plotArea- the plot area.space- a carrier for the result (nullpermitted).- Returns:
- The required space.
-
render
public void render(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, org.jfree.chart.plot.PlotRenderingInfo info, org.jfree.chart.plot.CrosshairState crosshairState)Draws a representation of the data within the dataArea region. TheinfoandcrosshairStatearguments may benull.- Parameters:
g2- the graphics device.dataArea- the region in which the data is to be drawn.info- an optional object for collection dimension information.crosshairState- collects crosshair information (nullpermitted).
-
setLinesOn
public void setLinesOn(boolean lines, boolean signalChange)
-
renderShape
protected void renderShape(java.awt.Graphics2D g2, double halfDotSize, int transX, int transY, byte shape)
-
getDotScale
public double getDotScale()
-
setDotScale
public void setDotScale(double scale, boolean signalChange)
-
setDefaultSize
public void setDefaultSize(double size)
-
getDefaultSize
public double getDefaultSize()
-
drawDomainGridlines
protected void drawDomainGridlines(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, java.util.List ticks)Draws the gridlines for the plot, if they are visible.- Parameters:
g2- the graphics device.dataArea- the data area.ticks- the ticks.
-
drawRangeGridlines
protected void drawRangeGridlines(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, java.util.List ticks)Draws the gridlines for the plot, if they are visible.- Parameters:
g2- the graphics device.dataArea- the data area.ticks- the ticks.
-
getDataRange
public org.jfree.data.Range getDataRange(org.jfree.chart.axis.ValueAxis axis)
Returns the range of data values to be plotted along the axis, ornullif the specified axis isn't the domain axis or the range axis for the plot.- Specified by:
getDataRangein interfaceorg.jfree.chart.plot.ValueAxisPlot- Parameters:
axis- the axis (nullpermitted).- Returns:
- The range (possibly
null).
-
zoomDomainAxes
public void zoomDomainAxes(double factor, org.jfree.chart.plot.PlotRenderingInfo info, java.awt.geom.Point2D source)/** Multiplies the range on the domain axis by the specified factor.- Specified by:
zoomDomainAxesin interfaceorg.jfree.chart.plot.Zoomable- Parameters:
factor- the zoom factor.info- the plot rendering info.source- the source point.
-
zoomDomainAxes
public void zoomDomainAxes(double factor, org.jfree.chart.plot.PlotRenderingInfo info, java.awt.geom.Point2D source, boolean useAnchor)Multiplies the range on the domain axis by the specified factor.- Specified by:
zoomDomainAxesin interfaceorg.jfree.chart.plot.Zoomable- Parameters:
factor- the zoom factor.info- the plot rendering info.source- the source point (in Java2D space).useAnchor- use source point as zoom anchor?- Since:
- 1.0.7
- See Also:
zoomRangeAxes(double, PlotRenderingInfo, Point2D, boolean)
-
zoomDomainAxes
public void zoomDomainAxes(double lowerPercent, double upperPercent, org.jfree.chart.plot.PlotRenderingInfo info, java.awt.geom.Point2D source)Zooms in on the domain axes.- Specified by:
zoomDomainAxesin interfaceorg.jfree.chart.plot.Zoomable- Parameters:
lowerPercent- the new lower bound as a percentage of the current range.upperPercent- the new upper bound as a percentage of the current range.info- the plot rendering info.source- the source point.
-
zoomRangeAxes
public void zoomRangeAxes(double factor, org.jfree.chart.plot.PlotRenderingInfo info, java.awt.geom.Point2D source)Multiplies the range on the range axis/axes by the specified factor.- Specified by:
zoomRangeAxesin interfaceorg.jfree.chart.plot.Zoomable- Parameters:
factor- the zoom factor.info- the plot rendering info.source- the source point.
-
zoomRangeAxes
public void zoomRangeAxes(double factor, org.jfree.chart.plot.PlotRenderingInfo info, java.awt.geom.Point2D source, boolean useAnchor)Multiplies the range on the range axis by the specified factor.- Specified by:
zoomRangeAxesin interfaceorg.jfree.chart.plot.Zoomable- Parameters:
factor- the zoom factor.info- the plot rendering info.source- the source point (in Java2D space).useAnchor- use source point as zoom anchor?- Since:
- 1.0.7
- See Also:
zoomDomainAxes(double, PlotRenderingInfo, Point2D, boolean)
-
zoomRangeAxes
public void zoomRangeAxes(double lowerPercent, double upperPercent, org.jfree.chart.plot.PlotRenderingInfo info, java.awt.geom.Point2D source)Zooms in on the range axes.- Specified by:
zoomRangeAxesin interfaceorg.jfree.chart.plot.Zoomable- Parameters:
lowerPercent- the new lower bound as a percentage of the current range.upperPercent- the new upper bound as a percentage of the current range.info- the plot rendering info.source- the source point.
-
isDomainZoomable
public boolean isDomainZoomable()
Returnstrue.- Specified by:
isDomainZoomablein interfaceorg.jfree.chart.plot.Zoomable- Returns:
- A boolean.
-
isRangeZoomable
public boolean isRangeZoomable()
Returnstrue.- Specified by:
isRangeZoomablein interfaceorg.jfree.chart.plot.Zoomable- Returns:
- A boolean.
-
isDomainPannable
public boolean isDomainPannable()
Returnstrueif panning is enabled for the domain axes, andfalseotherwise.- Specified by:
isDomainPannablein interfaceorg.jfree.chart.plot.Pannable- Returns:
- A boolean.
- Since:
- 1.0.13
-
setDomainPannable
public void setDomainPannable(boolean pannable)
Sets the flag that enables or disables panning of the plot along the domain axes.- Parameters:
pannable- the new flag value.- Since:
- 1.0.13
-
isRangePannable
public boolean isRangePannable()
Returnstrueif panning is enabled for the range axes, andfalseotherwise.- Specified by:
isRangePannablein interfaceorg.jfree.chart.plot.Pannable- Returns:
- A boolean.
- Since:
- 1.0.13
-
setRangePannable
public void setRangePannable(boolean pannable)
Sets the flag that enables or disables panning of the plot along the range axes.- Parameters:
pannable- the new flag value.- Since:
- 1.0.13
-
panDomainAxes
public void panDomainAxes(double percent, org.jfree.chart.plot.PlotRenderingInfo info, java.awt.geom.Point2D source)Pans the domain axes by the specified percentage.- Specified by:
panDomainAxesin interfaceorg.jfree.chart.plot.Pannable- Parameters:
percent- the distance to pan (as a percentage of the axis length).info- the plot infosource- the source point where the pan action started.- Since:
- 1.0.13
-
panRangeAxes
public void panRangeAxes(double percent, org.jfree.chart.plot.PlotRenderingInfo info, java.awt.geom.Point2D source)Pans the range axes by the specified percentage.- Specified by:
panRangeAxesin interfaceorg.jfree.chart.plot.Pannable- Parameters:
percent- the distance to pan (as a percentage of the axis length).info- the plot infosource- the source point where the pan action started.- Since:
- 1.0.13
-
equals
public boolean equals(java.lang.Object obj)
Tests an arbitrary object for equality with this plot. Note thatFastScatterPlotcarries its data around with it (rather than referencing a dataset), and the data is included in the equality test.- Overrides:
equalsin classorg.jfree.chart.plot.Plot- Parameters:
obj- the object (nullpermitted).- Returns:
- A boolean.
-
getXAxisAttribute
public Attribute getXAxisAttribute()
-
getYAxisAttribute
public Attribute getYAxisAttribute()
-
getColorAttribute
public Attribute getColorAttribute()
-
getShapeAttribute
public Attribute getShapeAttribute()
-
setAttribute
public void setAttribute(DottedChart.AttributeType type, Attribute attribute, boolean signalChange) throws DottedChart.DottedChartException
- Throws:
DottedChart.DottedChartException
-
getAttribute
public Attribute getAttribute(DottedChart.AttributeType type)
-
getToolTipForScreenLocation
public java.lang.String getToolTipForScreenLocation(org.jfree.chart.ChartPanel panel, java.awt.event.MouseEvent event)
-
isYAxisContinuous
public boolean isYAxisContinuous()
-
isXAxisContinuous
public boolean isXAxisContinuous()
-
exportViewToXLog
public org.deckfour.xes.model.XLog exportViewToXLog(boolean visibleOnly, java.lang.String name) throws DottedChart.DottedChartException- Throws:
DottedChart.DottedChartException
-
exportViewToLightLog
public LightLog exportViewToLightLog(boolean visibleOnly, java.lang.String name) throws DottedChart.DottedChartException
- Throws:
DottedChart.DottedChartException
-
getLogView
public LogView getLogView()
-
setIntensityPanel
public void setIntensityPanel(javax.swing.JPanel intensityPanel, IntensityChart intensityChart)
-
getPercentageRendered
public java.lang.String getPercentageRendered()
-
getRenderTime
public java.lang.String getRenderTime()
-
getColorMap
public java.util.Map<java.lang.String,java.awt.Color> getColorMap()
-
getEventClass
public java.lang.String getEventClass(DataManager<?> manager, int e)
-
getLegendItems
public org.jfree.chart.LegendItemCollection getLegendItems()
- Specified by:
getLegendItemsin interfaceorg.jfree.chart.LegendItemSource- Overrides:
getLegendItemsin classorg.jfree.chart.plot.Plot
-
-