Class JValueField

    • Constructor Detail

      • JValueField

        public JValueField()
        Default constructor
    • Method Detail

      • addValueChangedListener

        public void addValueChangedListener​(ValueChangedListener listener)
        Register a new listener. If the listener is already registered this method does nothing.
        Parameters:
        listener - the listener to register
      • removeValueChangedListener

        public void removeValueChangedListener​(ValueChangedListener listener)
        Remove the given listener. If the listener is not registered this method does nothing.
        Parameters:
        listener - the listener to remove
      • fireValueChangedEvent

        protected void fireValueChangedEvent​(ValueChangedEvent ev)
        Notify listeners of a value change
        Parameters:
        ev - the event with details of the value change