Class PropertyPanel.Prop

  • Enclosing class:
    PropertyPanel

    public static class PropertyPanel.Prop
    extends java.lang.Object
    Simple data carrier for a property, composed of a key/label/value trio.
    • Constructor Summary

      Constructors 
      Constructor Description
      Prop​(java.lang.String key, java.lang.String label, java.lang.String value)
      Constructs a property data value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.lang.String key()
      Returns the property's key.
      java.lang.String label()
      Returns the property's (localized) label.
      java.lang.String toString()  
      java.lang.String value()
      Returns the property's value.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Prop

        public Prop​(java.lang.String key,
                    java.lang.String label,
                    java.lang.String value)
        Constructs a property data value.
        Parameters:
        key - property key (localization key)
        label - property label (localization value)
        value - property value
    • Method Detail

      • key

        public java.lang.String key()
        Returns the property's key.
        Returns:
        the key
      • label

        public java.lang.String label()
        Returns the property's (localized) label.
        Returns:
        the label
      • value

        public java.lang.String value()
        Returns the property's value.
        Returns:
        the value
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object