Class ShapeStyle

  • All Implemented Interfaces:
    Style

    @Equality
    public class ShapeStyle
    extends java.lang.Object
    implements Style
    Style that combines information from a ShapeForm and a ShapeMode.
    Since:
    18 Feb 2013
    Author:
    Mark Taylor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      javax.swing.Icon getLegendIcon()
      Returns an icon suitable for displaying in a legend for this style.
      Outliner getOutliner()
      Returns the outline shape of this style.
      Stamper getStamper()
      Returns the colouring for this style.
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShapeStyle

        public ShapeStyle​(Outliner outliner,
                          Stamper stamper)
        Constructor.
        Parameters:
        outliner - outline shape of markers
        stamper - colouring for markers
    • Method Detail

      • getOutliner

        public Outliner getOutliner()
        Returns the outline shape of this style.
        Returns:
        outline shape
      • getStamper

        public Stamper getStamper()
        Returns the colouring for this style.
        Returns:
        colour stamper
      • 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 interface Style
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object