Interface IStyled

All Known Implementing Classes:
Styled

public interface IStyled
  • Method Details

    • getFillColor

      Color getFillColor()
      Get the color used for fill the interior area.
      Returns:
      the fill color.
    • setFillColor

      void setFillColor(Color fillColor)
      Set the color used for fill the interior area.
      Parameters:
      fillColor - the fill color.
    • getBorderColor

      Color getBorderColor()
      Get the color used for symbol borders.
      Returns:
      the symbol border color.
    • setBorderColor

      void setBorderColor(Color borderColor)
      Set the color used for symbol borders.
      Parameters:
      borderColor - the border color.
    • setTextColor

      void setTextColor(Color textColor)
      Set the color used for text.
      Parameters:
      textColor - the text color.
    • getTextColor

      Color getTextColor()
      Get the color used for text.
      Returns:
      the text color.
    • getLineColor

      Color getLineColor()
      Get the color used for the primary line (e.g. an item's outline, a curve's fit line, or a connector's stroke, depending on the implementer).
      Returns:
      the line color.
    • getAuxLineColor

      Color getAuxLineColor()
      Get the color used for auxiliary lines.
      Returns:
      the auxiliary line color.
    • setLineColor

      void setLineColor(Color lineColor)
      Set the color used for the primary line (see getLineColor()).
      Parameters:
      lineColor - the line color.
    • setAuxLineColor

      void setAuxLineColor(Color auxColor)
      Set the color used for auxiliary lines.
      Parameters:
      auxColor - the auxiliary line color.
    • getLineStyle

      LineStyle getLineStyle()
      Get the style used for drawing the primary line (see getLineColor()).
      Returns:
      the primary line style.
    • getAuxLineStyle

      LineStyle getAuxLineStyle()
      Get the style used for drawing auxiliary lines.
      Returns:
      the auxiliary line style.
    • setLineStyle

      void setLineStyle(LineStyle lineStyle)
      Set the style used for drawing the primary line (see setLineColor(java.awt.Color)).
      Parameters:
      lineStyle - the primary line style.
    • setAuxLineStyle

      void setAuxLineStyle(LineStyle lineStyle)
      Set the style used for drawing auxiliary lines.
      Parameters:
      lineStyle - the auxiliary line style.
    • getSymbolType

      SymbolType getSymbolType()
      Get the symbol used for drawing points.
      Returns:
      the symbol used for drawing points.
    • setSymbolType

      void setSymbolType(SymbolType symbolType)
      Set the symbol used for drawing points.
      Parameters:
      symbolType - the symbol used for drawing points.
    • getLineWidth

      float getLineWidth()
      Get the line width for drawing the primary line.
      Returns:
      the primary line width in pixels.
    • getAuxLineWidth

      float getAuxLineWidth()
      Get the line width for drawing auxiliary lines.
      Returns:
      the auxiliary line width in pixels.
    • setLineWidth

      void setLineWidth(float lineWidth)
      Set the line width for drawing the primary line.
      Parameters:
      lineWidth - the line width in pixels.
    • setAuxLineWidth

      void setAuxLineWidth(float lineWidth)
      Set the line width for drawing auxiliary lines.
      Parameters:
      lineWidth - the auxiliary line width in pixels.
    • getSymbolSize

      int getSymbolSize()
      Get the symbol size (full width) in pixels.
      Returns:
      the symbol size (full width) in pixels.
    • setSymbolSize

      void setSymbolSize(int symbolSize)
      Set symbol size (full width) in pixels.
      Parameters:
      symbolSize - symbol size (full width) in pixels.
    • getStroke

      default BasicStroke getStroke()
      Get the stroke derived from the primary line width and style.
      Returns:
      the stroke used for drawing the primary line.