ilog.views.util.swing.color
Class ColorChangedEvent
java.lang.Object
java.util.EventObject
ilog.views.util.swing.color.ColorChangedEvent
- All Implemented Interfaces:
- Serializable
public class ColorChangedEvent
- extends EventObject
An event to notify the modification of a color.
- See Also:
- Serialized Form
ColorChangedEvent
public ColorChangedEvent(Object source,
Color oldColor,
Color newColor)
- Creates a new event.
- Parameters:
source - the source of the event.oldColor - the color before the change.newColor - the new color.
getOldColor
public Color getOldColor()
- Returns the value of the color before the color modification.
getNewColor
public Color getNewColor()
- Returns the new color.
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage.