|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgcspy.vis.plugins.PluginListener
public abstract class PluginListener
A plugin view called MyView must provide a
PluginListener
called MyViewListener
.
This listener's actionPerformed
will be called when the
user clicks its button attached to a space in the visualiser's main view.
Field Summary | |
---|---|
protected TileManagerColors |
colorConfig
The tile manager colours for this space |
protected ClientInterpreter |
interpreter
The Client Interpretet |
protected AbstractFrame |
owner
The frame that owns this plugin |
protected java.util.List<PluginFrame> |
pluginFrames
A The list of plugin frames known to the space manager |
protected int |
selectedStream
The stream (if any) to be visualised |
protected ClientSpace |
space
The client space being visualised |
Constructor Summary | |
---|---|
protected |
PluginListener(java.lang.String label)
Create a new listener for this view. |
Method Summary | |
---|---|
java.lang.String |
getLabel()
Get the name of this view |
void |
init(AbstractFrame owner,
java.util.List<PluginFrame> pluginFrames,
ClientInterpreter interpreter,
ClientSpace space,
int selectedStream,
TileManagerColors colorConfig)
Initialise this view. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.awt.event.ActionListener |
---|
actionPerformed |
Field Detail |
---|
protected AbstractFrame owner
protected java.util.List<PluginFrame> pluginFrames
protected ClientInterpreter interpreter
protected ClientSpace space
protected int selectedStream
protected TileManagerColors colorConfig
Constructor Detail |
---|
protected PluginListener(java.lang.String label)
label
- Text for a label to launch this viewMethod Detail |
---|
public void init(AbstractFrame owner, java.util.List<PluginFrame> pluginFrames, ClientInterpreter interpreter, ClientSpace space, int selectedStream, TileManagerColors colorConfig)
owner
- The owning framepluginFrames
- The list of plugin framesinterpreter
- The client interpreterspace
- The client spaceselectedStream
- The stream (if any) visualisedcolorConfig
- The tile manager colors to usepublic java.lang.String getLabel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |