java.lang.Object
com.inductiveautomation.factorypmi.application.components.PropChangeHolder<T>

public class PropChangeHolder<T> extends Object
Little helper class that holds an old value of something for property-change listener purposes. Typically this is something calculated - i.e. the old value isn't obvious
  • Constructor Details

    • PropChangeHolder

      public PropChangeHolder(Component component, String propertyName)
    • PropChangeHolder

      public PropChangeHolder(Component component, String propertyName, T originalValue)
  • Method Details

    • valueChanged

      public void valueChanged(T newValue)
    • getValue

      public T getValue()