public final class WindowSetting
extends java.lang.Object
Constructor and Description |
---|
WindowSetting(java.awt.Dimension size)
Creates an instance of this class with the default setting -1 for all values.
|
WindowSetting(java.io.ObjectInputStream in)
Creates an instance of this class with the values read from the stream.
|
Modifier and Type | Method and Description |
---|---|
void |
layout(java.awt.Window window)
Sets the values to the given window.
|
void |
layout(java.awt.Window window,
java.awt.Window parent)
Sets the values to the given window.
|
void |
saveSettings(java.io.ObjectOutputStream out)
Saves the values in the given stream.
|
java.lang.String |
toString() |
public WindowSetting(java.io.ObjectInputStream in) throws java.io.IOException
in
- The stream to read the settings from.java.io.IOException
- Thrown if something went wrong.public WindowSetting(java.awt.Dimension size)
size
- The default size of the window.public void saveSettings(java.io.ObjectOutputStream out) throws java.io.IOException
out
- The stream to save the values in.java.io.IOException
public void layout(java.awt.Window window)
window
- The window to set the values for.public void layout(java.awt.Window window, java.awt.Window parent)
window
- The window to set the values for.parent
- The parent window of the window to layout (if not null
the window is placed relative to it.)public java.lang.String toString()
toString
in class java.lang.Object
TV-Browser 3.4.4, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)