Class SelectionChangeSupport
- java.lang.Object
-
- com.bc.ceres.swing.selection.support.SelectionChangeSupport
-
public class SelectionChangeSupport extends Object
Supports implementation ofSelectionChangeEmitters. This class is thread-safe.- Since:
- Ceres 0.10
-
-
Constructor Summary
Constructors Constructor Description SelectionChangeSupport()SelectionChangeSupport(Object realEventSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSelectionChangeListener(SelectionChangeListener listener)SelectionChangeEventcreateEvent(SelectionContext selectionContext, Selection selection)voidfireSelectionChange(SelectionChangeEvent event)voidfireSelectionChange(SelectionContext selectionContext, Selection selection)voidfireSelectionContextChange(SelectionChangeEvent event)ObjectgetRealEventSource()SelectionChangeListener[]getSelectionChangeListeners()voidremoveSelectionChangeListener(SelectionChangeListener listener)
-
-
-
Constructor Detail
-
SelectionChangeSupport
public SelectionChangeSupport()
-
SelectionChangeSupport
public SelectionChangeSupport(Object realEventSource)
-
-
Method Detail
-
getRealEventSource
public Object getRealEventSource()
-
addSelectionChangeListener
public void addSelectionChangeListener(SelectionChangeListener listener)
-
removeSelectionChangeListener
public void removeSelectionChangeListener(SelectionChangeListener listener)
-
getSelectionChangeListeners
public SelectionChangeListener[] getSelectionChangeListeners()
-
createEvent
public SelectionChangeEvent createEvent(SelectionContext selectionContext, Selection selection)
-
fireSelectionChange
public void fireSelectionChange(SelectionContext selectionContext, Selection selection)
-
fireSelectionChange
public void fireSelectionChange(SelectionChangeEvent event)
-
fireSelectionContextChange
public void fireSelectionContextChange(SelectionChangeEvent event)
-
-