public final class WindowSetting extends Object
Constructor and Description |
---|
WindowSetting(Dimension size)
Creates an instance of this class with the default setting -1 for all values.
|
WindowSetting(ObjectInputStream in)
Creates an instance of this class with the values read from the stream.
|
Modifier and Type | Method and Description |
---|---|
void |
layout(Window window)
Sets the values to the given window.
|
void |
saveSettings(ObjectOutputStream out)
Saves the values in the given stream.
|
String |
toString() |
public WindowSetting(ObjectInputStream in) throws IOException
in
- The stream to read the settings from.IOException
- Thrown if something went wrong.public WindowSetting(Dimension size)
size
- The default size of the window.public void saveSettings(ObjectOutputStream out) throws IOException
out
- The stream to save the values in.IOException
public void layout(Window window)
window
- The window to set the values for.TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)