Class PropertyPanel.Prop

  • Enclosing class:
    PropertyPanel

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

      • Prop

        public Prop​(String key,
                    String label,
                    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 String key()
        Returns the property's key.
        Returns:
        the key
      • label

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

        public String value()
        Returns the property's value.
        Returns:
        the value
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object