Klasse PThemeTableEntry

java.lang.Object
com.processing.mnse.themetools.table.PThemeTableEntry

public final class PThemeTableEntry extends Object
The Class PThemeTableEntry. represents a table row entries
  • Konstruktordetails

    • PThemeTableEntry

      public PThemeTableEntry(String label, Color color, String style)
      Instantiates a new theme table entry.
      Parameter:
      label - the label
      color - the color
      style - the style
  • Methodendetails

    • getLabel

      public String getLabel()
      Gets the label.
      Gibt zurück:
      the label
    • setLabel

      public void setLabel(String label)
      Sets the label.
      Parameter:
      label - the new label
    • getColor

      public Color getColor()
      Gets the color.
      Gibt zurück:
      the color
    • setColor

      public void setColor(Color color)
      Sets the color.
      Parameter:
      color - the new color
    • getStyle

      public String getStyle()
      Gets the style.
      Gibt zurück:
      the style
    • setStyle

      public void setStyle(String style)
      Sets the style.
      Parameter:
      style - the new style
    • emptyEntry

      public static PThemeTableEntry emptyEntry()
      Empty entry.
      Gibt zurück:
      the theme table entry
    • fromString

      public static PThemeTableEntry fromString(String key, String value)
      From string.
      Parameter:
      key - the key
      value - the value
      Gibt zurück:
      the theme table entry
    • fromTable

      public static PThemeTableEntry fromTable(DefaultTableModel m, int r)
      From table.
      Parameter:
      m - the m
      r - the r
      Gibt zurück:
      the theme table entry
    • toTableElement

      public Object[] toTableElement()
      To table element.
      Gibt zurück:
      the object[]
    • createPropertyValue

      public String createPropertyValue()
      Creates the property value.
      Gibt zurück:
      the string