ilog.views.maps.graphic.style
Class StyleEvent

java.lang.Object
  extended by ilog.views.maps.graphic.style.StyleEvent

public class StyleEvent
extends Object

An event indicating that something has changed in a IlvMapStyle.

Since:
JViews 7.5

Constructor Summary
StyleEvent(Object source, Object oldValue, Object newValue)
          Constructs a StyleEvent.
StyleEvent(Object source, String attribute, Object oldValue, Object newValue)
          Constructs a StyleEvent.
 
Method Summary
 String getAttribute()
          get the attribute name responsible for sending this event.
 Object getNewValue()
          Retrieve the new value for this attribute.
 Object getOldValue()
          Retrieves the old value of the attribute.
 Object getSource()
          Retrieves the source of the event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleEvent

public StyleEvent(Object source,
                  Object oldValue,
                  Object newValue)
Constructs a StyleEvent.

Parameters:
source - The source of the event.
oldValue - The old value.
newValue - The new value.

StyleEvent

public StyleEvent(Object source,
                  String attribute,
                  Object oldValue,
                  Object newValue)
Constructs a StyleEvent.

Parameters:
source - The source of the event.
attribute - The attribute name.
oldValue - The old value.
newValue - The new value.
Method Detail

getAttribute

public String getAttribute()
get the attribute name responsible for sending this event.

Returns:
The attribute name.

getNewValue

public Object getNewValue()
Retrieve the new value for this attribute.

Returns:
The new value.

getOldValue

public Object getOldValue()
Retrieves the old value of the attribute.

Returns:
The old value.

getSource

public Object getSource()
Retrieves the source of the event.

Returns:
The source of the event.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.