de.jaret.util.ui.timebars.model
Interface TimeBarSelectionListener

All Known Implementing Classes:
TimeBarViewerDelegate

public interface TimeBarSelectionListener

Listener for registering selection changes on a TimeBarSelectionModel.

Version:
$Id: TimeBarSelectionListener.java 800 2008-12-27 22:27:33Z kliem $
Author:
Peter Kliem

Method Summary
 void elementAddedToSelection(TimeBarSelectionModel selectionModel, java.lang.Object element)
          An element (either a row or an interval) has been added to the selection.
 void elementRemovedFromSelection(TimeBarSelectionModel selectionModel, java.lang.Object element)
          An element (either a row or an interval) has been removed from the selection.
 void selectionChanged(TimeBarSelectionModel selectionModel)
          The selection did unspecific change.
 

Method Detail

selectionChanged

void selectionChanged(TimeBarSelectionModel selectionModel)
The selection did unspecific change. Should be rarely called by the SelectionModel.

Parameters:
selectionModel - the selection model the change took place in

elementAddedToSelection

void elementAddedToSelection(TimeBarSelectionModel selectionModel,
                             java.lang.Object element)
An element (either a row or an interval) has been added to the selection.

Parameters:
selectionModel - the selection model that has been changed
element - the interval aded to the selection

elementRemovedFromSelection

void elementRemovedFromSelection(TimeBarSelectionModel selectionModel,
                                 java.lang.Object element)
An element (either a row or an interval) has been removed from the selection.

Parameters:
selectionModel - the selection model that has been changed
element - element that has been removed


Copyright © 2012. All Rights Reserved.