http://www.jpicedt.org

jpicedt.ui
Class MDIManager.BoardEventHandler

java.lang.Object
  extended by jpicedt.ui.MDIManager.BoardEventHandler
All Implemented Interfaces:
PropertyChangeListener, EventListener, UndoableEditListener, SelectionListener
Enclosing class:
MDIManager

protected class MDIManager.BoardEventHandler
extends Object
implements SelectionListener, UndoableEditListener, PropertyChangeListener

A handler for events triggered from any PEDrawingBoard, its PECanvas or its EditorKit.


Constructor Summary
protected MDIManager.BoardEventHandler()
           
 
Method Summary
 void propertyChange(PropertyChangeEvent e)
          Handler for "PropertyChange" events sources from either PECanvas or its EditorKit.
 void selectionUpdate(SelectionEvent e)
          Handler for "Selection" events triggered e.g.
 void undoableEditHappened(UndoableEditEvent e)
          Handler for "UndoableEdit" events sourced by PECanvas.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MDIManager.BoardEventHandler

protected MDIManager.BoardEventHandler()
Method Detail

selectionUpdate

public void selectionUpdate(SelectionEvent e)
Handler for "Selection" events triggered e.g. by a click on a graphical object (from a given PEDrawingBoard) This takes the following actions:

Specified by:
selectionUpdate in interface SelectionListener

undoableEditHappened

public void undoableEditHappened(UndoableEditEvent e)
Handler for "UndoableEdit" events sourced by PECanvas. Updates undo/redo menu items and corresponding toolbar buttons.

Specified by:
undoableEditHappened in interface UndoableEditListener

propertyChange

public void propertyChange(PropertyChangeEvent e)
Handler for "PropertyChange" events sources from either PECanvas or its EditorKit. Simply forwards these events to all DockablePanel's which implement the PropertyChangeListener interface, as well as to the attached PEMenuBar.

Specified by:
propertyChange in interface PropertyChangeListener

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org