Class AbstractMutableSelectedState<T>
- java.lang.Object
-
- org.jungrapht.visualization.selection.AbstractMutableSelectedState<T>
-
- All Implemented Interfaces:
ItemSelectable
,MutableSelectedState<T>
,SelectedState<T>
- Direct Known Subclasses:
MultiMutableSelectedState
public abstract class AbstractMutableSelectedState<T> extends Object implements MutableSelectedState<T>
An abstract class to support ItemEvents forMutableSelectedState
- Author:
- Tom Nelson
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jungrapht.visualization.selection.SelectedState
SelectedState.StateChangeListener<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected EventListenerList
listenerList
-
Constructor Summary
Constructors Constructor Description AbstractMutableSelectedState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addItemListener(ItemListener l)
protected void
fireItemStateChanged(ItemEvent e)
void
removeItemListener(ItemListener l)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.awt.ItemSelectable
getSelectedObjects
-
Methods inherited from interface org.jungrapht.visualization.selection.MutableSelectedState
clear, clear, deselect, deselect, deselect, deselect, select, select, select, select
-
Methods inherited from interface org.jungrapht.visualization.selection.SelectedState
getSelected, isSelected
-
-
-
-
Field Detail
-
listenerList
protected EventListenerList listenerList
-
-
Method Detail
-
addItemListener
public void addItemListener(ItemListener l)
- Specified by:
addItemListener
in interfaceItemSelectable
-
removeItemListener
public void removeItemListener(ItemListener l)
- Specified by:
removeItemListener
in interfaceItemSelectable
-
fireItemStateChanged
protected void fireItemStateChanged(ItemEvent e)
-
-