Class SelectionChangeSupport
- java.lang.Object
-
- com.bc.ceres.swing.selection.support.SelectionChangeSupport
-
public class SelectionChangeSupport extends Object
Supports implementation ofSelectionChangeEmitter
s. 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 void
addSelectionChangeListener(SelectionChangeListener listener)
SelectionChangeEvent
createEvent(SelectionContext selectionContext, Selection selection)
void
fireSelectionChange(SelectionChangeEvent event)
void
fireSelectionChange(SelectionContext selectionContext, Selection selection)
void
fireSelectionContextChange(SelectionChangeEvent event)
Object
getRealEventSource()
SelectionChangeListener[]
getSelectionChangeListeners()
void
removeSelectionChangeListener(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)
-
-