|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface for all objects implementing windowing funcationality.
| Method Summary | |
boolean |
close()
Tries to close the window. |
String |
getTitle()
Returns the title of the window. |
void |
hide()
Makes this window invisible. |
void |
repaint()
Requests this window to be repainted as soon as possible. |
void |
setTitle(String title)
Sets the title of the window. |
void |
show()
Makes this window visible. |
| Method Detail |
public void setTitle(String title)
title - the new titlepublic String getTitle()
public void show()
public void hide()
public boolean close()
Note that calling this method does not guarantee that the window is actually closed. The implementations of this interface can intercept close requests and decide if they are really carried out or not. For example, if you try to close a changed document,
public void repaint()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||