Class Radar.AxisName

All Implemented Interfaces:
HasBorder<Radar.AxisName>, HasShadow<Radar.AxisName>, HasText<Radar.AxisName>, HasPadding<Radar.AxisName>, Serializable
Enclosing class:
Radar

public static class Radar.AxisName extends AbstractRichText<Radar.AxisName> implements HasBorder<Radar.AxisName>, HasShadow<Radar.AxisName>, HasPadding<Radar.AxisName>
Name options for radar indicators.
See Also:
  • Field Details

    • show

      protected Boolean show
    • formatter

      protected String formatter
    • formatterFunction

      protected JsFunction formatterFunction
    • backgroundColor

      protected Color backgroundColor
    • borderColor

      protected Color borderColor
    • borderWidth

      protected Integer borderWidth
    • borderType

      protected String borderType
    • borderDashOffset

      protected Integer borderDashOffset
    • borderRadius

      protected Integer borderRadius
    • padding

      protected Padding padding
    • shadowColor

      protected Color shadowColor
    • shadowBlur

      protected Integer shadowBlur
    • shadowOffsetX

      protected Integer shadowOffsetX
    • shadowOffsetY

      protected Integer shadowOffsetY
  • Constructor Details

    • AxisName

      public AxisName()
  • Method Details

    • getShow

      public Boolean getShow()
    • setShow

      public void setShow(Boolean show)
    • getFormatter

      public String getFormatter()
    • setFormatter

      public void setFormatter(String formatter)
    • getFormatterFunction

      public JsFunction getFormatterFunction()
    • setFormatterFunction

      public void setFormatterFunction(JsFunction formatterFunction)
    • setFormatterFunction

      public void setFormatterFunction(String formatterFunction)
    • getBackgroundColor

      public Color getBackgroundColor()
    • setBackgroundColor

      public void setBackgroundColor(Color backgroundColor)
    • getBorderColor

      public Color getBorderColor()
      Specified by:
      getBorderColor in interface HasBorder<Radar.AxisName>
      Returns:
      border color
    • setBorderColor

      public void setBorderColor(Color borderColor)
      Description copied from interface: HasBorder
      Sets a border color or replaces an existing one.
      Specified by:
      setBorderColor in interface HasBorder<Radar.AxisName>
      Parameters:
      borderColor - color to set
    • getBorderWidth

      public Integer getBorderWidth()
      Specified by:
      getBorderWidth in interface HasBorder<Radar.AxisName>
      Returns:
      border width in pixels
    • setBorderWidth

      public void setBorderWidth(Integer borderWidth)
      Description copied from interface: HasBorder
      Sets a border width or replaces an existing one.
      Specified by:
      setBorderWidth in interface HasBorder<Radar.AxisName>
      Parameters:
      borderWidth - border width in pixels
    • getBorderType

      public String getBorderType()
    • setBorderType

      public void setBorderType(String borderType)
    • getBorderDashOffset

      public Integer getBorderDashOffset()
    • setBorderDashOffset

      public void setBorderDashOffset(Integer borderDashOffset)
    • getBorderRadius

      public Integer getBorderRadius()
      Specified by:
      getBorderRadius in interface HasBorder<Radar.AxisName>
      Returns:
      border radius of the text fragment
    • setBorderRadius

      public void setBorderRadius(Integer borderRadius)
      Description copied from interface: HasBorder
      Sets a border radius of the text fragment or replaces an existing one.
      Specified by:
      setBorderRadius in interface HasBorder<Radar.AxisName>
      Parameters:
      borderRadius - border radius to set in pixels
    • getPadding

      public Padding getPadding()
      Specified by:
      getPadding in interface HasPadding<Radar.AxisName>
      Returns:
      space around content
    • setPadding

      public void setPadding(Integer padding)
      Description copied from interface: HasPadding
      Sets padding on each of the four sides or replaces an existing one. The unit is px.
      Specified by:
      setPadding in interface HasPadding<Radar.AxisName>
      Parameters:
      padding - padding to set
    • setPadding

      public void setPadding(Integer vertical, Integer horizontal)
      Description copied from interface: HasPadding
      Sets the top/bottom and left/right paddings or replaces an existing one. The unit is px.
      Specified by:
      setPadding in interface HasPadding<Radar.AxisName>
      Parameters:
      vertical - top and bottom padding to set
      horizontal - left and right padding to set
    • setPadding

      public void setPadding(Integer top, Integer right, Integer bottom, Integer left)
      Description copied from interface: HasPadding
      Sets each of the four paddings separately. The unit is px.
      Specified by:
      setPadding in interface HasPadding<Radar.AxisName>
      Parameters:
      top - top padding to set
      right - right padding to set
      bottom - bottom padding to set
      left - left padding to set
    • getShadowColor

      public Color getShadowColor()
      Specified by:
      getShadowColor in interface HasShadow<Radar.AxisName>
      Returns:
      shadow color
    • setShadowColor

      public void setShadowColor(Color shadowColor)
      Description copied from interface: HasShadow
      Sets a color for shadow or replaces an existing one.
      Specified by:
      setShadowColor in interface HasShadow<Radar.AxisName>
      Parameters:
      shadowColor - color to set
    • getShadowBlur

      public Integer getShadowBlur()
      Specified by:
      getShadowBlur in interface HasShadow<Radar.AxisName>
      Returns:
      depth of shadow blur
    • setShadowBlur

      public void setShadowBlur(Integer shadowBlur)
      Description copied from interface: HasShadow
      Sets depth of shadow blur or replaces an existing one.
      Specified by:
      setShadowBlur in interface HasShadow<Radar.AxisName>
      Parameters:
      shadowBlur - depth of shadow blur
    • getShadowOffsetX

      public Integer getShadowOffsetX()
      Specified by:
      getShadowOffsetX in interface HasShadow<Radar.AxisName>
      Returns:
      horizontal offset for shadow in pixels
    • setShadowOffsetX

      public void setShadowOffsetX(Integer shadowOffsetX)
      Description copied from interface: HasShadow
      Sets horizontal offset for shadow or replaces an existing one.
      Specified by:
      setShadowOffsetX in interface HasShadow<Radar.AxisName>
      Parameters:
      shadowOffsetX - offset to set in pixels
    • getShadowOffsetY

      public Integer getShadowOffsetY()
      Specified by:
      getShadowOffsetY in interface HasShadow<Radar.AxisName>
      Returns:
      vertical offset for shadow in pixels
    • setShadowOffsetY

      public void setShadowOffsetY(Integer shadowOffsetY)
      Description copied from interface: HasShadow
      Sets vertical offset for shadow or replaces an existing one.
      Specified by:
      setShadowOffsetY in interface HasShadow<Radar.AxisName>
      Parameters:
      shadowOffsetY - offset to set in pixels
    • withShow

      public Radar.AxisName withShow(Boolean show)
    • withFormatter

      public Radar.AxisName withFormatter(String formatter)
    • withFormatterFunction

      public Radar.AxisName withFormatterFunction(JsFunction formatterFunction)
    • withFormatterFunction

      public Radar.AxisName withFormatterFunction(String formatterFunction)
    • withBackgroundColor

      public Radar.AxisName withBackgroundColor(Color backgroundColor)
    • withBorderType

      public Radar.AxisName withBorderType(String borderType)
    • withBorderDashOffset

      public Radar.AxisName withBorderDashOffset(Integer borderDashOffset)