Class LayoutVertexPositionChange.SupportImpl<V>
- java.lang.Object
-
- org.jungrapht.visualization.layout.event.LayoutVertexPositionChange.SupportImpl<V>
-
- Type Parameters:
V- the vertex type managed by the LayoutModel
- All Implemented Interfaces:
LayoutVertexPositionChange.Support<V>
- Enclosing interface:
- LayoutVertexPositionChange
public static class LayoutVertexPositionChange.SupportImpl<V> extends Object implements LayoutVertexPositionChange.Support<V>
implementations of support for this event model
-
-
Field Summary
Fields Modifier and Type Field Description protected List<LayoutVertexPositionChange.Listener<V>>changeListenerslisteners for these changesprotected booleanfireEventsto fire or not to fire....
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLayoutVertexPositionChangeListener(LayoutVertexPositionChange.Listener l)voidfireLayoutVertexPositionChanged(V vertex, Point location)List<LayoutVertexPositionChange.Listener<V>>getLayoutVertexPositionChangeListeners()booleanisFireEvents()voidremoveLayoutVertexPositionChangeListener(LayoutVertexPositionChange.Listener l)voidsetFireEvents(boolean fireEvents)
-
-
-
Field Detail
-
fireEvents
protected boolean fireEvents
to fire or not to fire....
-
changeListeners
protected List<LayoutVertexPositionChange.Listener<V>> changeListeners
listeners for these changes
-
-
Method Detail
-
isFireEvents
public boolean isFireEvents()
- Specified by:
isFireEventsin interfaceLayoutVertexPositionChange.Support<V>
-
setFireEvents
public void setFireEvents(boolean fireEvents)
- Specified by:
setFireEventsin interfaceLayoutVertexPositionChange.Support<V>
-
addLayoutVertexPositionChangeListener
public void addLayoutVertexPositionChangeListener(LayoutVertexPositionChange.Listener l)
- Specified by:
addLayoutVertexPositionChangeListenerin interfaceLayoutVertexPositionChange.Support<V>
-
removeLayoutVertexPositionChangeListener
public void removeLayoutVertexPositionChangeListener(LayoutVertexPositionChange.Listener l)
- Specified by:
removeLayoutVertexPositionChangeListenerin interfaceLayoutVertexPositionChange.Support<V>
-
getLayoutVertexPositionChangeListeners
public List<LayoutVertexPositionChange.Listener<V>> getLayoutVertexPositionChangeListeners()
- Specified by:
getLayoutVertexPositionChangeListenersin interfaceLayoutVertexPositionChange.Support<V>
-
fireLayoutVertexPositionChanged
public void fireLayoutVertexPositionChanged(V vertex, Point location)
- Specified by:
fireLayoutVertexPositionChangedin interfaceLayoutVertexPositionChange.Support<V>
-
-