visad.util
Class ColorChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- visad.util.ColorChangeEvent
-
- All Implemented Interfaces:
- java.io.Serializable
public class ColorChangeEvent extends java.util.EventObject implements java.io.SerializableAn event to be dispatched when the color widget has been changed- Since:
- Visad Utility Library, 0.5
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description ColorChangeEvent(java.lang.Object source, float start, float end)Construct a colorChangeEvent object to notify any ColorChangeListeners
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description floatgetEnd()Get the end of the modified region of the mapfloatgetStart()Get the start of the modified region of the mapjava.lang.StringtoString()Return a string representation of this object
-
-
-
Constructor Detail
-
ColorChangeEvent
public ColorChangeEvent(java.lang.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
-
-
Method Detail
-
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 java.lang.String toString()
Return a string representation of this object- Overrides:
toStringin classjava.util.EventObject
-
-
DMelt 3.0 © DataMelt by jWork.ORG