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 protectedCombineArrayStyle(Combiner xCombiner, Combiner yCombiner, LayerOpt layerOpt)Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)CombinergetCombinerX()Returns the combination mode for elements of X array values.CombinergetCombinerY()Returns the combination mode for elements of Y array values.LayerOptgetLayerOpt()Returns the LayerOpt for this style.inthashCode()abstract voidpaintPoints(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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-