Class CombineArrayPlotter.CombineArrayStyle
- java.lang.Object
-
- uk.ac.starlink.ttools.plot2.layer.CombineArrayPlotter.CombineArrayStyle
-
- All Implemented Interfaces:
Style
- Direct Known Subclasses:
LineCombineArrayPlotter.LineCombineArrayStyle
,MarkCombineArrayPlotter.MarkCombineArrayStyle
- Enclosing class:
- CombineArrayPlotter<S extends CombineArrayPlotter.CombineArrayStyle>
public abstract static class CombineArrayPlotter.CombineArrayStyle extends java.lang.Object implements Style
Partial Style implementation for use with this class.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CombineArrayStyle(Combiner xCombiner, Combiner yCombiner, LayerOpt layerOpt)
Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Combiner
getCombinerX()
Returns the combination mode for elements of X array values.Combiner
getCombinerY()
Returns the combination mode for elements of Y array values.LayerOpt
getLayerOpt()
Returns the LayerOpt for this style.int
hashCode()
abstract void
paintPoints(PlanarSurface surface, PaperType paperType, Paper paper, java.awt.geom.Point2D.Double[] points)
Do the actual plotting given an array of graphics points corresponding to the combined array elements.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface uk.ac.starlink.ttools.plot.Style
getLegendIcon
-
-
-
-
Method Detail
-
getCombinerX
public Combiner getCombinerX()
Returns the combination mode for elements of X array values.- Returns:
- X combiner
-
getCombinerY
public Combiner getCombinerY()
Returns the combination mode for elements of Y array values.- Returns:
- Y combiner
-
getLayerOpt
public LayerOpt getLayerOpt()
Returns the LayerOpt for this style.- Returns:
- layer opt
-
paintPoints
public abstract void paintPoints(PlanarSurface surface, PaperType paperType, Paper paper, java.awt.geom.Point2D.Double[] points)
Do the actual plotting given an array of graphics points corresponding to the combined array elements.- Parameters:
surface
- plot surfacepaperType
- paper typepaper
- paperpoints
- points in graphics coordinates corresponding to the aggregated per-element values of the input X and Y array coordinates
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-