jas.plugin
Interface PageContext


public interface PageContext

A PageContext allows a plugin to manipulate a page it has installed into the Java Analysis Application, as well as to receive events notifing the plugin of user initiated changes to the page,

See Also:
BasicPlugin.installPage(String,Component)

Method Summary
 void addPageListener(PageListener listener)
          Add a page listener to receive notifications of user initiated changes
 void close()
          Closes the associated window
 java.awt.Component getPage()
          Get the component associated with this page
 java.lang.String getPageName()
          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
 

Method Detail

addPageListener

public void addPageListener(PageListener listener)
Add a page listener to receive notifications of user initiated changes
Parameters:
listener - The PageListener to install

removePageListener

public void removePageListener(PageListener listener)
Remove a previously installed PageListener
Parameters:
listener - The PageListener to remove

requestShow

public void requestShow()
Requests that the associated page be shown If the page is iconized it is deiconized, and bought to the top

close

public void close()
Closes the associated window

getPage

public java.awt.Component getPage()
Get the component associated with this page

getPageName

public java.lang.String getPageName()
The name associated with the page