Class OtsControlPanel.TimeEdit

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable, SwingConstants, AppearanceControl
Enclosing class:
OtsControlPanel

public class OtsControlPanel.TimeEdit extends JFormattedTextField implements AppearanceControl
Entry field for time.
See Also:
  • Constructor Details

    • TimeEdit

      TimeEdit(Time initialValue)
      Construct a new TimeEdit.
      Parameters:
      initialValue - Time; the initial value for the TimeEdit
  • Method Details

    • setTime

      public void setTime(Time newValue)
      Set or update the time shown in this TimeEdit.
      Parameters:
      newValue - Time; the (new) value to set/show in this TimeEdit
    • toString

      public final String toString()
      Overrides:
      toString in class Component