|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectEventObject
FeatureLayerEvent
public class FeatureLayerEvent
Instance of this event are passed to FeatureLayerListener
s
when a property of the canvas has changed.
Field Summary |
---|
Fields inherited from class EventObject |
---|
source |
Constructor Summary | |
---|---|
FeatureLayerEvent(FeatureLayer layer,
Object newValue)
Constructs an event for a feature layer's property initialized to a value. |
|
FeatureLayerEvent(FeatureLayer layer,
Object oldValue,
Object newValue)
Constructs an event for a feature layer's property set to a new value. |
Method Summary | |
---|---|
FeatureLayer |
getLayer()
Synonym for getSource() . |
Object |
getNewValue()
Returns the new value, or null in none. |
Object |
getOldValue()
Returns the old value, or null in none. |
Object |
getSource()
Returns the modified layer. |
Methods inherited from class EventObject |
---|
toString |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FeatureLayerEvent(FeatureLayer layer, Object newValue)
layer
- The modified layer.newValue
- The new value.public FeatureLayerEvent(FeatureLayer layer, Object oldValue, Object newValue)
layer
- The modified layer.oldValue
- The old value, or null
in none.newValue
- The new value, or null
in none.Method Detail |
---|
public Object getOldValue()
null
in none.
public Object getNewValue()
null
in none.
public Object getSource()
getSource
in class EventObject
public FeatureLayer getLayer()
getSource()
.
getSource()
in a J2SE 1.5 profile.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |