Class SpotPlotter.SpotStyle
- java.lang.Object
-
- uk.ac.starlink.ttools.plot2.layer.SpotPlotter.SpotStyle
-
- All Implemented Interfaces:
Style
- Enclosing class:
- SpotPlotter
public static class SpotPlotter.SpotStyle extends java.lang.Object implements Style
Style implementation for spots. Only colour is configurable.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.awt.Color
getColor()
javax.swing.Icon
getLegendIcon()
Returns an icon suitable for displaying in a legend for this style.int
hashCode()
-
-
-
Method Detail
-
getColor
public java.awt.Color getColor()
-
getLegendIcon
public javax.swing.Icon getLegendIcon()
Description copied from interface:Style
Returns an icon suitable for displaying in a legend for this style.- Specified by:
getLegendIcon
in interfaceStyle
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-