All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vnr.ide.BuildResultsController

java.lang.Object
   |
   +----vnr.ide.BuildResultsController

public class BuildResultsController
extends Object
implements ActionListener, ListSelectionListener, BuildListener, WindowListener
This is the controller for BuildResults
Its job is to handle all events for it
The model class for BuildResults is BuildEventsList - which doesn't exist in its own right, as it is just a vector of BuildEvent objects

Author:
dlg 1998-02-02 Created
See Also:
BuildResults, ActionListener, ListSelectionListener, BuildListener, WindowListener

Constructor Index

 o BuildResultsController()
Constructor with no arguments - create a BuildResultsController

Method Index

 o actionPerformed(ActionEvent)
actionPerformed - handle action events from the view - either the refresh or cancel buttons
 o buildComplete(BuildEvent)
buildComplete - called when a build is over.
 o getServer()
 o getView()
 o refreshView()
refresh the view
 o setServer(Server)
 o setView(BuildResults)
set the view that this controller is working with
 o valueChanged(ListSelectionEvent)
value changed - the list selection has changed, set the build results text area to be the build results of the selected buildevent
 o windowActivated(WindowEvent)
 o windowClosed(WindowEvent)
windowClosed - called by java when the user has closed the window

Here we set the view to null.

 o windowClosing(WindowEvent)
 o windowDeactivated(WindowEvent)
 o windowDeiconified(WindowEvent)
 o windowIconified(WindowEvent)
 o windowOpened(WindowEvent)

Constructors

 o BuildResultsController
 public BuildResultsController()
Constructor with no arguments - create a BuildResultsController

Methods

 o actionPerformed
 public void actionPerformed(ActionEvent ae)
actionPerformed - handle action events from the view - either the refresh or cancel buttons

Parameters:
ae - - data about the actionEvent being processed
See Also:
actionPerformed
 o refreshView
 public void refreshView()
refresh the view

 o setView
 public void setView(BuildResults v)
set the view that this controller is working with

Parameters:
v - - the view to be controlled
 o valueChanged
 public void valueChanged(ListSelectionEvent lse)
value changed - the list selection has changed, set the build results text area to be the build results of the selected buildevent

Parameters:
lse - a list selection event
 o buildComplete
 public void buildComplete(BuildEvent be)
buildComplete - called when a build is over. The buildListener api has this method as it's only one at the moment. The plan is to update it to handle methodCompiled and classCompiled methods

Parameters:
be - a BuildEvent that just completed
See Also:
BuildEvent
 o windowClosed
 public void windowClosed(WindowEvent we)
windowClosed - called by java when the user has closed the window

Here we set the view to null.

 o windowOpened
 public void windowOpened(WindowEvent $1)
 o windowActivated
 public void windowActivated(WindowEvent $2)
 o windowDeactivated
 public void windowDeactivated(WindowEvent $3)
 o windowIconified
 public void windowIconified(WindowEvent $4)
 o windowDeiconified
 public void windowDeiconified(WindowEvent $5)
 o windowClosing
 public void windowClosing(WindowEvent $6)
 o getView
 public BuildResults getView()
 o getServer
 public Server getServer()
 o setServer
 public void setServer(Server $7)

All Packages  Class Hierarchy  This Package  Previous  Next  Index