|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object util.settings.WindowSetting
public final class WindowSetting
A class with the position and size settings for a window.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |