Class SaveWindow

java.lang.Object
net.sf.colossus.guiutil.SaveWindow

public final class SaveWindow extends Object
Saves window position and size.
Author:
David Ripton
  • Field Details

    • options

      private final IOptions options
    • name

      private final String name
  • Constructor Details

  • Method Details

    • loadSize

      public Dimension loadSize()
    • saveSize

      public void saveSize(Dimension size)
    • loadLocation

      public Point loadLocation()
      Returns:
      saved location, or null if none
    • saveLocation

      public void saveLocation(Point location)
    • save

      public void save(Window window)
    • restore

      public void restore(Window window, Point defaultLocation)
    • restoreOrCenter

      public void restoreOrCenter(KDialog window)
    • restoreOrCenter

      public void restoreOrCenter(KFrame window)