|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The BrowserListener interface makes up the Browser's event set.
BrowserListeners can listen to individual Browsers using the standard
registration method:
abrowserinstance.addBrowserListener(...)
or to all Browsers by using the static registration method:
Browser.addStaticBrowserListener(...)
Browser
,
NodeViewer
,
Node
Method Summary | |
void |
browserActivated(Browser browser)
Invoked when a Browser window is activated. |
void |
browserClosed(Browser browser)
Invoked when all listeners agree that close is okay. |
void |
browserClosing(Browser browser)
Invoked in response to a close request. |
void |
browserDeactivated(Browser browser)
Invoked when the Browser window loses activation to another Browser, or to another application. |
void |
browserNodeActivated(Browser browser,
Node node)
Invoked when the Browser's 'active' Node is changed, such as when the user switches from one file to another. |
void |
browserNodeClosed(Browser browser,
Node node)
Invoked when a Node is closed. |
void |
browserOpened(Browser browser)
Invoked when a Browser is first opened. |
void |
browserProjectActivated(Browser browser,
Project project)
Invoked when the Browser's 'active' Project has just changed, such as when the user switches from one file belonging to ProjectA to another file that belongs to ProjectB. |
void |
browserProjectClosed(Browser browser,
Project project)
Invoked when a Project is closed. |
void |
browserViewerActivated(Browser browser,
Node node,
NodeViewer viewer)
Invoked when the Browser's active viewer is changed, such as when the user switches from the source tab to the design tab. |
void |
browserViewerDeactivating(Browser browser,
Node node,
NodeViewer viewer)
Invoked when the Browser's viewer is about to be changed, ie. |
Method Detail |
public void browserOpened(Browser browser)
browser
- The Browser that just opened.public void browserActivated(Browser browser)
browser
- The Browser that was just activated.public void browserDeactivated(Browser browser)
browser
- The Browser that was just deactivated.public void browserClosing(Browser browser) throws VetoException
browser
- The Browser that is trying to close.public void browserClosed(Browser browser)
browser
- The Browser that is about to close.public void browserProjectActivated(Browser browser, Project project)
browser
- The Browser whose 'active' Project has just changed.node
- The Browser's new 'active' Project. - MAY BE NULL!public void browserProjectClosed(Browser browser, Project project)
browser
- The Browser whose 'active' Project has just changed.node
- The Browser's new 'active' Project. - MAY BE NULL!public void browserNodeActivated(Browser browser, Node node)
browser
- The Browser whose 'active' Node has just changed.node
- The Browser's new 'active' Node. - MAY BE NULL!public void browserNodeClosed(Browser browser, Node node)
browser
- The Browser containing the Node that closednode
- The Node that closedpublic void browserViewerActivated(Browser browser, Node node, NodeViewer viewer)
browser
- The Browser whose viewer has changed.node
- The Node whose viewer has just changed.viewer
- The NodeViewer that is newly displaying the Node - MAY BE NULL!public void browserViewerDeactivating(Browser browser, Node node, NodeViewer viewer) throws VetoException
browser
- The Browser whose viewer is changing.node
- The Node whose viewer is changing.viewer
- The NodeViewer that is currently displaying the Node.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |