Class JSparklinesMultiLabel

java.lang.Object
no.uib.jsparklines.data.JSparklinesMultiLabel
All Implemented Interfaces:
Serializable

public class JSparklinesMultiLabel
extends Object
implements Serializable
Color labels for use with the JSparklinesMultiLabelTableCellRenderer.
Author:
Harald Barsnes
See Also:
Serialized Form
  • Constructor Details

    • JSparklinesMultiLabel

      public JSparklinesMultiLabel​(String label, Color color)
      Creates a new JSparklinesMultiLabel.
      Parameters:
      label - the label to use as a tooltip
      color - the color for the label
  • Method Details

    • getLabel

      public String getLabel()
      Returns the label.
      Returns:
      the label
    • setLabel

      public void setLabel​(String label)
      The label to set.
      Parameters:
      label - the label to set
    • getColor

      public Color getColor()
      Returns the color.
      Returns:
      the color
    • setColor

      public void setColor​(Color color)
      The color to set.
      Parameters:
      color - the color to set