Class HaloImpl

Object
HaloImpl
All Implemented Interfaces:
Cloneable, Halo, Cloneable

public class HaloImpl extends Object implements Halo, Cloneable
Direct implementation of Halo.
Author:
Ian Turton, CCG
  • Constructor Details

    • HaloImpl

      public HaloImpl()
    • HaloImpl

      public HaloImpl(FilterFactory factory)
  • Method Details

    • setFilterFactory

      public void setFilterFactory(FilterFactory factory)
    • getFill

      public FillImpl getFill()
      Getter for property fill.
      Specified by:
      getFill in interface Halo
      Returns:
      Value of property fill.
    • setFill

      public void setFill(Fill fill)
      Setter for property fill.
      Specified by:
      setFill in interface Halo
      Parameters:
      fill - New value of property fill.
    • getRadius

      public Expression getRadius()
      Getter for property radius.
      Specified by:
      getRadius in interface Halo
      Returns:
      Value of property radius.
    • setRadius

      public void setRadius(Expression radius)
      Setter for property radius.
      Specified by:
      setRadius in interface Halo
      Parameters:
      radius - New value of property radius.
    • accept

      public Object accept(TraversingStyleVisitor visitor, Object data)
      Description copied from interface: Halo
      calls the visit method of a StyleVisitor
      Specified by:
      accept in interface Halo
      Parameters:
      visitor - the style visitor
    • accept

      public void accept(StyleVisitor visitor)
      Specified by:
      accept in interface Halo
    • clone

      public Object clone()
      Creates a deep copy clone of the Halo.
      Specified by:
      clone in interface Cloneable
      Overrides:
      clone in class Object
      Returns:
      The clone.
      See Also:
    • equals

      public boolean equals(Object obj)
      Compares this HaloImpl with another for equality.
      Overrides:
      equals in class Object
      Parameters:
      obj - THe other HaloImpl.
      Returns:
      True if they are equal. They are equal if their fill and radius is equal.
      See Also:
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object