Module org.arakhne.afc.gis.giscore
Package org.arakhne.afc.gis.primitive
Class GISEditableChangeAttributeChangeAdapter
- java.lang.Object
-
- org.arakhne.afc.gis.primitive.GISEditableChangeAttributeChangeAdapter
-
- All Implemented Interfaces:
EventListener
,AttributeChangeListener
public class GISEditableChangeAttributeChangeAdapter extends Object implements AttributeChangeListener
Translate anyAttributeChangeEvent
to be received by a specifiedGISEditableChangeListener
.- Since:
- 14.0
- Version:
- 17.0 2020-01-04 14:41:53
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.gis
- Maven Artifact Id:
- giscore
-
-
Constructor Summary
Constructors Constructor Description GISEditableChangeAttributeChangeAdapter(GISEditableChangeListener listener)
Constructor.GISEditableChangeAttributeChangeAdapter(GISEditableChangeListener listener, GISEditable wrapper)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
void
onAttributeChangeEvent(AttributeChangeEvent event)
Invoked when the attribute's value changed.
-
-
-
Constructor Detail
-
GISEditableChangeAttributeChangeAdapter
public GISEditableChangeAttributeChangeAdapter(GISEditableChangeListener listener)
Constructor.- Parameters:
listener
- is the listener to notify about any attribute change.
-
GISEditableChangeAttributeChangeAdapter
public GISEditableChangeAttributeChangeAdapter(GISEditableChangeListener listener, GISEditable wrapper)
Constructor.- Parameters:
listener
- is the listener to notify about any attribute change.wrapper
- is the GISEditable to give to the listener when an attribute has changed, ifnull
only the attribute change events with a GISEditable source will be forwarded.
-
-
Method Detail
-
onAttributeChangeEvent
public void onAttributeChangeEvent(AttributeChangeEvent event)
Description copied from interface:AttributeChangeListener
Invoked when the attribute's value changed.- Specified by:
onAttributeChangeEvent
in interfaceAttributeChangeListener
- Parameters:
event
- describes the changes.
-
-