net.refractions.udig.printing.model
Class PropertyListener

java.lang.Object
  extended by AdapterImpl
      extended by net.refractions.udig.printing.model.PropertyListener

public class PropertyListener
extends AdapterImpl

Provides easy access for listening to printing events. Developers wishing to use this should extend it and override the *Changed() methods that they are interested in.

Since:
0.3
Author:
Richard Gould
See Also:
boxesChanged(), locationChanged(), PropertyListener#mapChanged(), sizeChanged(), sourceConnectionsChanged(), targetConnectionsChanged(), textChanged()

Constructor Summary
PropertyListener()
           
 
Method Summary
protected  void boxesChanged()
          Indicates that the Boxes property has been changed Override me to perform an action when Boxes are changed
protected  void locationChanged()
          Indicates that the Location property has been changed Override me to perform an action when Location is changed
 void notifyChanged(Notification msg)
          Maps an event to its particular *Changed method.
protected  void sizeChanged()
          Indicates that the Size property has been changed Override me to perform an action when Size is changed
protected  void sourceConnectionsChanged()
          Indicates that the Source Connections property has been changed Override me to perform an action when SourceConnections are changed
protected  void targetConnectionsChanged()
          Indicates that the Target Connections property has been changed Override me to perform an action when TargetConnections are changed
protected  void textChanged()
          Indicates that the Text property has been changed Override me to perform an action when Text is changed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyListener

public PropertyListener()
Method Detail

notifyChanged

public void notifyChanged(Notification msg)
Maps an event to its particular *Changed method.


textChanged

protected void textChanged()
Indicates that the Text property has been changed Override me to perform an action when Text is changed


boxesChanged

protected void boxesChanged()
Indicates that the Boxes property has been changed Override me to perform an action when Boxes are changed


sizeChanged

protected void sizeChanged()
Indicates that the Size property has been changed Override me to perform an action when Size is changed


locationChanged

protected void locationChanged()
Indicates that the Location property has been changed Override me to perform an action when Location is changed


targetConnectionsChanged

protected void targetConnectionsChanged()
Indicates that the Target Connections property has been changed Override me to perform an action when TargetConnections are changed


sourceConnectionsChanged

protected void sourceConnectionsChanged()
Indicates that the Source Connections property has been changed Override me to perform an action when SourceConnections are changed