Class TimeWindowValuePanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class TimeWindowValuePanel extends ValuePanel<TimeWindow>
A TimeWindowValuePanel holds a TimeWindow value and allows the user to change it.
Since:
3.3.2
Author:
Peter Hollemans
See Also:
  • Constructor Details

    • TimeWindowValuePanel

      public TimeWindowValuePanel()
      Creates a new value panel. The initial value is set to the epoch start with a 0 minute window.
  • Method Details

    • setValue

      public void setValue(TimeWindow value)
      Description copied from class: ValuePanel
      Sets the value in this panel. Calling this method does not cause the panel to fire a property change event.
      Specified by:
      setValue in class ValuePanel<TimeWindow>
      Parameters:
      value - the new object value.
    • getValue

      public TimeWindow getValue()
      Description copied from class: ValuePanel
      Gets the object value for this panel.
      Specified by:
      getValue in class ValuePanel<TimeWindow>
      Returns:
      the object value.
    • windowChanged

      public void windowChanged()
      Updates the time window and sends a signal of the change if needed.
    • main

      public static void main(String[] argv)
      Tests this class.
      Parameters:
      argv - the array of command line parameters.