org.virion.jam.controlpalettes
Class AbstractController
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractController
public AbstractController()
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()