|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectutil.settings.WindowSetting
public final class WindowSetting
A class with the position and size settings for a window.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
void |
layout(Window window)
Sets the values to the given window. |
void |
saveSettings(ObjectOutputStream out)
Saves the values in the given stream. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public void saveSettings(ObjectOutputStream out)
throws IOException
out - The stream to save the values in.
IOExceptionpublic void layout(Window window)
window - The window to set the values for.public String toString()
toString in class Object
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||