Class MoveTimeDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class MoveTimeDialog extends JDialog
Dialog for user friendly transfer of time from one task to another one.
See Also:
  • Constructor Details

    • MoveTimeDialog

      public MoveTimeDialog(Frame parent, Task task, Day day)
      Creates new dialog for moving time between two tasks.
      Parameters:
      task - Source task whose time will be transferred to another task.
      day - Day on which the task to be moved occurs
  • Method Details

    • getFont

      public Font getFont()
      Returns font that should be used for all widgets in this component based on the language preferences specified by user.
      Specified by:
      getFont in interface MenuContainer
      Overrides:
      getFont in class Component
      Returns:
      Font to be used in this component.
    • setTime

      public void setTime(long time)
      Sets the time to show in the dialog in ms.
      Parameters:
      time - The time in ms to show.