org.virion.jam.controlpalettes
Class AbstractController

java.lang.Object
  extended by org.virion.jam.controlpalettes.AbstractController
All Implemented Interfaces:
Controller
Direct Known Subclasses:
LabelPainterController, MultipleTreeViewerController, NodeBarController, NodeShapeController, PolarTreeLayoutController, RadialTreeLayoutController, RectilinearTreeLayoutController, ScaleBarPainterController, TreeAppearanceController, TreePaneController, TreeViewerController

public abstract class AbstractController
extends Object
implements Controller

Author:
Andrew Rambaut, Alexei Drummond

Constructor Summary
AbstractController()
           
 
Method Summary
 void addControllerListener(ControllerListener listener)
          Add a ControllerListener to this controllers list of listeners The main listener will be the ControlPalette itself which will use this to resize the panels if the components changed
 void fireControllerChanged()
           
 void removeControllerListener(ControllerListener listener)
          Remove a listener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.virion.jam.controlpalettes.Controller
getPanel, getSettings, getTitleComponent, initialize, isInitiallyVisible, setSettings
 

Constructor Detail

AbstractController

public AbstractController()
Method Detail

addControllerListener

public void addControllerListener(ControllerListener listener)
Add a ControllerListener to this controllers list of listeners The main listener will be the ControlPalette itself which will use this to resize the panels if the components changed

Specified by:
addControllerListener in interface Controller
Parameters:
listener -

removeControllerListener

public void removeControllerListener(ControllerListener listener)
Remove a listener

Specified by:
removeControllerListener in interface Controller
Parameters:
listener -

fireControllerChanged

public void fireControllerChanged()