visad.util
Class ColorChangeEvent
java.lang.Object
java.util.EventObject
visad.util.ColorChangeEvent
- All Implemented Interfaces:
- Serializable
public class ColorChangeEvent
- extends EventObject
- implements Serializable
An event to be dispatched when the color widget has been changed
- Since:
- Visad Utility Library, 0.5
- Version:
- $Revision: 1.6 $, $Date: 2000-08-22 18:17:09 $
- Author:
- Nick Rasmussen nick@cae.wisc.edu
- See Also:
- Serialized Form
Constructor Summary |
ColorChangeEvent(Object source,
float start,
float end)
Construct a colorChangeEvent object to notify any ColorChangeListeners |
Method Summary |
float |
getEnd()
Get the end of the modified region of the map |
float |
getStart()
Get the start of the modified region of the map |
String |
toString()
Return a string representation of this object |
ColorChangeEvent
public ColorChangeEvent(Object source,
float start,
float end)
- Construct a colorChangeEvent object to notify any ColorChangeListeners
- Parameters:
source
- the map that generated the eventstart
- the start of the region of the map that has been modifiedend
- the end of the region of the map that has been modified
getStart
public float getStart()
- Get the start of the modified region of the map
getEnd
public float getEnd()
- Get the end of the modified region of the map
toString
public String toString()
- Return a string representation of this object
- Overrides:
toString
in class EventObject