All Implemented Interfaces:
Serializable

public class Stop extends AbstractConfigurationObject

Stop class.

Version:
$Id: $Id
Author:
Vaadin
See Also:
  • Constructor Details

    • Stop

      public Stop(float position, Color color)

      Constructor for Stop.

      Parameters:
      position - a float.
      color - a Color object.
  • Method Details

    • getPosition

      public float getPosition()

      Getter for the field position.

      Returns:
      a float.
    • setPosition

      public void setPosition(float position)

      Setter for the field position.

      Parameters:
      position - a float.
    • getColor

      public Color getColor()

      Getter for the field color.

      Returns:
      a Color object.
    • setColor

      public void setColor(Color color)

      Setter for the field color.

      Parameters:
      color - a Color object.