Class VariabilityRowModel

java.lang.Object
org.proforma.variability.fx.VariabilityRowModel

public class VariabilityRowModel extends Object
  • Property Details

    • current

      public javafx.beans.property.ObjectProperty<V> currentProperty
      See Also:
    • state

      public javafx.beans.property.IntegerProperty stateProperty
    • label

      public javafx.beans.property.ObjectProperty<V> labelProperty
    • pushed

      public javafx.beans.property.BooleanProperty pushedProperty
  • Constructor Details

    • VariabilityRowModel

      public VariabilityRowModel()
      initialize default values
    • VariabilityRowModel

      public VariabilityRowModel(Vp vp, VOptions options, V current)
  • Method Details

    • afterUnmarshal

      public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, Object parent)
      Postprocessing sets parent relationships
    • getVp

      public Vp getVp()
    • setVp

      public void setVp(Vp vp)
    • getOptions

      public VOptions getOptions()
    • getCurrent

      public V getCurrent()
      Gets the value of the property current.
      Property description:
    • setCurrent

      public void setCurrent(V current)
      Sets the value of the property current.
      Property description:
    • currentProperty

      public javafx.beans.property.ObjectProperty<V> currentProperty()
      See Also:
    • setOptionsAndCurrent

      public void setOptionsAndCurrent(VOptions options, V current)
    • stateProperty

      public javafx.beans.property.IntegerProperty stateProperty()
    • labelProperty

      public javafx.beans.property.ObjectProperty<V> labelProperty()
    • pushedProperty

      public javafx.beans.property.BooleanProperty pushedProperty()
    • setLabelToRank

      public void setLabelToRank(long rank)
      This only changes the label but not the current value. This method can be used when moving the slider.
      Parameters:
      rank -
    • pushCurrent

      public void pushCurrent()
    • toString

      public String toString()
      Overrides:
      toString in class Object