com.guiseframework.component
Class SequenceCardPanel.SequenceCardVetoableChangeListener

java.lang.Object
  extended by com.globalmentor.beans.AbstractGenericVetoableChangeListener<Component>
      extended by com.guiseframework.component.SequenceCardPanel.SequenceCardVetoableChangeListener
All Implemented Interfaces:
com.globalmentor.beans.GenericVetoableChangeListener<Component>, java.beans.VetoableChangeListener, java.util.EventListener
Enclosing class:
SequenceCardPanel

protected class SequenceCardPanel.SequenceCardVetoableChangeListener
extends com.globalmentor.beans.AbstractGenericVetoableChangeListener<Component>

A vetoable property change listener validates cards before changing to new cards. When SequenceTransition.NEXT occurs, validation is assumed to have already occurred and it not performed again.

Author:
Garret Wilson

Constructor Summary
protected SequenceCardPanel.SequenceCardVetoableChangeListener()
           
 
Method Summary
 void vetoableChange(com.globalmentor.beans.GenericPropertyChangeEvent<Component> genericPropertyChangeEvent)
          Called when a constrained property is changed.
 
Methods inherited from class com.globalmentor.beans.AbstractGenericVetoableChangeListener
vetoableChange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceCardPanel.SequenceCardVetoableChangeListener

protected SequenceCardPanel.SequenceCardVetoableChangeListener()
Method Detail

vetoableChange

public void vetoableChange(com.globalmentor.beans.GenericPropertyChangeEvent<Component> genericPropertyChangeEvent)
                    throws java.beans.PropertyVetoException
Called when a constrained property is changed.

Parameters:
genericPropertyChangeEvent - An event object describing the event source, the property that is changing, and its old and new values.
Throws:
java.beans.PropertyVetoException - if the recipient wishes the property change to be rolled back.


Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.