Class Stop
java.lang.Object
com.vaadin.componentfactory.maps.model.AbstractConfigurationObject
com.vaadin.componentfactory.maps.model.Stop
- All Implemented Interfaces:
Serializable
Stop class.
- Version:
- $Id: $Id
- Author:
- Vaadin
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()Getter for the fieldcolor.floatGetter for the fieldposition.voidSetter for the fieldcolor.voidsetPosition(float position) Setter for the fieldposition.
-
Constructor Details
-
Stop
Constructor for Stop.
- Parameters:
position- a float.color- aColorobject.
-
-
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
Getter for the field
color.- Returns:
- a
Colorobject.
-
setColor
Setter for the field
color.- Parameters:
color- aColorobject.
-