Class ViewChange.SupportImpl
- java.lang.Object
-
- org.jungrapht.visualization.layout.event.ViewChange.SupportImpl
-
- All Implemented Interfaces:
ViewChange.Support
- Enclosing interface:
- ViewChange
public static class ViewChange.SupportImpl extends Object implements ViewChange.Support
implementation of support. Manages a List of listeners
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
fireEvents
to fire or not to fire....protected List<ViewChange.Listener>
viewChangeListeners
listeners for these changes
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addViewChangeListener(ViewChange.Listener l)
void
fireViewChanged()
List<ViewChange.Listener>
getViewChangeListeners()
boolean
isFireEvents()
void
removeViewChangeListener(ViewChange.Listener l)
void
setFireEvents(boolean fireEvents)
-
-
-
Field Detail
-
fireEvents
protected boolean fireEvents
to fire or not to fire....
-
viewChangeListeners
protected List<ViewChange.Listener> viewChangeListeners
listeners for these changes
-
-
Method Detail
-
isFireEvents
public boolean isFireEvents()
- Specified by:
isFireEvents
in interfaceViewChange.Support
-
setFireEvents
public void setFireEvents(boolean fireEvents)
- Specified by:
setFireEvents
in interfaceViewChange.Support
-
addViewChangeListener
public void addViewChangeListener(ViewChange.Listener l)
- Specified by:
addViewChangeListener
in interfaceViewChange.Support
-
removeViewChangeListener
public void removeViewChangeListener(ViewChange.Listener l)
- Specified by:
removeViewChangeListener
in interfaceViewChange.Support
-
getViewChangeListeners
public List<ViewChange.Listener> getViewChangeListeners()
- Specified by:
getViewChangeListeners
in interfaceViewChange.Support
-
fireViewChanged
public void fireViewChanged()
- Specified by:
fireViewChanged
in interfaceViewChange.Support
-
-