|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.freehep.application.mdi.PageContext
public class PageContext
Allows the user to interact with a Page in an abstract way
Method Summary | |
---|---|
void |
addPageListener(PageListener listener)
Add a page listener to receive notifications of user initiated changes |
void |
close()
Closes the associated window |
Icon |
getIcon()
Get the icon associated with the page |
Component |
getPage()
Get the component associated with this page |
String |
getTitle()
Get the name associated with the page |
void |
removePageListener(PageListener listener)
Remove a previously installed PageListener |
void |
requestShow()
Requests that the associated page be shown If the page is iconized it is deiconized, and bought to the top |
void |
setIcon(Icon icon)
Set the icon associated with the window |
void |
setTitle(String title)
Set the title of the window |
String |
toString()
|
String |
type()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void addPageListener(PageListener listener)
listener
- The PageListener to installpublic void removePageListener(PageListener listener)
listener
- The PageListener to removepublic void requestShow()
public void close()
public Component getPage()
public String getTitle()
public Icon getIcon()
public void setTitle(String title)
public void setIcon(Icon icon)
public String toString()
toString
in class Object
public String type()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |