TMStatusView

Kind of class:(package private) class
Package:treemap
Inherits from:Observable
Version:2.5
Author:Christophe Bouthier [bouthier@loria.fr]
Package classpath:treemap.TMStatusView
File last modified:Friday, 28 December 2001, 18:54:28
The TMStatusView class implements a model
for the view showing the status of
what's happening on the TMView.

Summary


Instance fields
Instance methods

Inner classes

NotifyTMSV

 (package private) (inner) class
The NotifyTMSV implements a Runnable that
will be invoked by SwingUtilities.invokeLater.
It's the only way I have found to pass a parameter
to the Runnable.

TMSV

 (package private) (inner) class
The TMSV class implements a concrete status view,
in synch with the TMStatusView.

TMSVIncrement

 (package private) (inner) class
TMSVIncrement class implements an increment message.

TMSVSetStatus

 (package private) (inner) class
TMSVSetStatus class implements a set status message.

TMSVUnsetStatus

 (package private) (inner) class
TMSVUnsetStatus class implements an unset status message.

TMSVUpdate

 (package private) (inner) interface
TMSVUpdate interface define an update message
passed from the TMStatusView to the TMSV.

Instance fields

status

private TMStatusDisplay status = null

Instance methods

getView

(package private) JComponent getView(
)

Returns a status view.
Every status view returned by this method
are synch with the model.
Returns:
  • the new view

increment

(package private) void increment(
)

Increments the status display.

setChanged

public void setChanged(
)

Only to pass IllegalAcessError.

setStatus

(package private) void setStatus(

Sets the status displayed.
Removes the old status displayed if necessary.
Parameters:
status:
the new status to display

unsetStatus

(package private) void unsetStatus(
)

Unsets the status displayed.