Class GatewaySettingsViewModel

    • Field Detail

      • annotationDistance

        @Min(0L)
        protected @javax.validation.constraints.Min(0L) double annotationDistance
      • height

        @Min(0L)
        protected @javax.validation.constraints.Min(0L) double height
      • width

        @Min(0L)
        protected @javax.validation.constraints.Min(0L) double width
    • Constructor Detail

    • Method Detail

      • getAnnotationDistance

        public final double getAnnotationDistance()
        Gets the distance from the gateway shape to the annotation.
        Returns:
        The distance in pixels.
      • setAnnotationDistance

        public final void setAnnotationDistance​(double annotationDistance)
        Sets the distance from the gateway shape to the annotation.
        Parameters:
        annotationDistance - The distance in pixels.
      • getColor

        public final String getColor()
        Gets the color of the gateway shape.
        Returns:
        The color as a CSS color string.
      • setColor

        public final void setColor​(String color)
        Sets the color of the gateway shape.
        Parameters:
        color - The color as a CSS color string.
      • getHeight

        public final double getHeight()
        Gets the height of the gateway shape (a rhombus).
        Returns:
        The height in pixels.
      • setHeight

        public final void setHeight​(double height)
        Sets the height of the gateway shape (a rhombus).
        Parameters:
        height - The height in pixels.
      • getTextSettings

        public final TextSettingsViewModel getTextSettings()
        Gets the text settings for the gateway's name.
        Returns:
        The text settings view model.
      • getWidth

        public final double getWidth()
        Gets the width of the gateway shape (a rhombus).
        Returns:
        The width in pixels.
      • setWidth

        public final void setWidth​(double width)
        Sets the width of the gateway shape (a rhombus).
        Parameters:
        width - The width in pixels.