java.lang.Object
io.github.tonywasher.joceanus.prometheus.ui.fieldset.PrometheusFieldSetElement<V>
Type Parameters:
V - the value type

public class PrometheusFieldSetElement<V> extends Object
FieldSet Element.
  • Constructor Details

  • Method Details

    • getFieldId

      Obtain the fieldId.
      Returns:
      the fieldId
    • getComponent

      TethysUIComponent getComponent()
      Obtain the component.
      Returns:
      the component
    • setValue

      void setValue(Object pValue)
      Set value.
      Parameters:
      pValue - the value
    • setEditable

      void setEditable(boolean pEditable)
      Set editable.
      Parameters:
      pEditable - true/false
    • setVisible

      void setVisible(boolean pVisible)
      Set visible.
      Parameters:
      pVisible - true/false
    • isVisible

      boolean isVisible()
      Is the element visible.
      Returns:
      true/false
    • getLabelWidth

      int getLabelWidth()
      Obtain the label width.
      Returns:
      the label width
    • setLabelWidth

      void setLabelWidth(int pWidth)
      Set the label width.
      Parameters:
      pWidth - the label width
    • getFieldHeight

      int getFieldHeight()
      Obtain the field height.
      Returns:
      the field height
    • setFieldHeight

      void setFieldHeight(int pHeight)
      Set the field height.
      Parameters:
      pHeight - the field height
    • adjustChanged

      void adjustChanged(boolean pChanged)
      Adjust changed indications.
      Parameters:
      pChanged - is the field changed?
    • setReporter

      void setReporter(Consumer<String> pReporter)
      Set reporter.
      Parameters:
      pReporter - the reporter