net.sf.jaxodraw.gui.panel
Interface JaxoCommunicator

All Superinterfaces:
ActionListener, EventListener
All Known Implementing Classes:
JaxoMainPanel

public interface JaxoCommunicator
extends ActionListener

Communicate events between panel components.

Since:
2.1

Method Summary
 void distributePropertyChange(String name, boolean oldValue, boolean newValue)
          Distributes a property change to all sub-panels.
 void distributePropertyChange(String name, int oldValue, int newValue)
          Distributes a property change to all sub-panels.
 void distributePropertyChange(String name, Object oldValue, Object newValue)
          Distributes a property change to all sub-panels.
 void shutdown(int exitStatus)
          Finalize a general shutdown on all sub-components.
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Method Detail

distributePropertyChange

void distributePropertyChange(String name,
                              Object oldValue,
                              Object newValue)
Distributes a property change to all sub-panels.

Parameters:
name - the name of the property. Not null.
oldValue - the old value of the property.
newValue - the new value of the property.

distributePropertyChange

void distributePropertyChange(String name,
                              boolean oldValue,
                              boolean newValue)
Distributes a property change to all sub-panels.

Parameters:
name - the name of the property. Not null.
oldValue - the old value of the property.
newValue - the new value of the property.

distributePropertyChange

void distributePropertyChange(String name,
                              int oldValue,
                              int newValue)
Distributes a property change to all sub-panels.

Parameters:
name - the name of the property. Not null.
oldValue - the old value of the property.
newValue - the new value of the property.

shutdown

void shutdown(int exitStatus)
Finalize a general shutdown on all sub-components.

Parameters:
exitStatus - The exit status code.


Copyright © 2003-2011 The JaxoDraw team. All Rights Reserved.