com.guiseframework.component.layout
Class LayoutConstraintsPropertyChangeEvent<T extends Constraints,V>
java.lang.Object
java.util.EventObject
java.beans.PropertyChangeEvent
com.globalmentor.beans.GenericPropertyChangeEvent<V>
com.guiseframework.component.layout.LayoutConstraintsPropertyChangeEvent<T,V>
- Type Parameters:
T - The type of layout constraints associated with the component.V - The type of property value.
- All Implemented Interfaces:
- com.globalmentor.event.Event, com.globalmentor.event.TargetedEvent, java.io.Serializable
public class LayoutConstraintsPropertyChangeEvent<T extends Constraints,V>
- extends com.globalmentor.beans.GenericPropertyChangeEvent<V>
An event indicating that a property of layout constraints changed.
The source is always the layout object. The component and constraints are also provided.
- Author:
- Garret Wilson
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
| Methods inherited from class com.globalmentor.beans.GenericPropertyChangeEvent |
getNewValue, getOldValue, getTarget |
| Methods inherited from class java.beans.PropertyChangeEvent |
getPropagationId, getPropertyName, setPropagationId |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.globalmentor.event.Event |
getSource |
LayoutConstraintsPropertyChangeEvent
public LayoutConstraintsPropertyChangeEvent(Layout<T> source,
Component component,
T constraints,
java.lang.String propertyName,
V oldValue,
V newValue)
- Source, component, constraint, property name, with old and new value constructor.
- Parameters:
session - The Guise session in which this event was generated.source - The layout that fired the event.component - The component for which a constraint value changed.constraints - The constraints for which a value changed.propertyName - The programmatic name of the property that was changed.oldValue - The old value of the property, or null if no old value is not available.newValue - The new value of the property, or null if the new value is not available.
- Throws:
java.lang.NullPointerException - if the given component and/or constraints is null.
getComponent
public Component getComponent()
- Returns:
- The component for which a constraint value changed.
getConstraints
public T getConstraints()
- Returns:
- The constraints for which a value changed.
Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.