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


public interface ISelectionRectListener

Interface allowing listening to the selection rectangle in a time bar viewer.

Version:
$Id: ISelectionRectListener.java 793 2008-12-14 21:02:06Z kliem $
Author:
kliem

Method Summary
 void regionRectChanged(TimeBarViewerDelegate delegate, TBRect tbrect)
          Invoked whenever the region select rectangle changes.
 void regionRectClosed(TimeBarViewerDelegate delegate)
          Invoked when the region rect is closed.
 void selectionRectChanged(TimeBarViewerDelegate delegate, de.jaret.util.date.JaretDate beginDate, de.jaret.util.date.JaretDate endDate, java.util.List<TimeBarRow> rows)
          Invoked whenever the selection rectangle changes.
 void selectionRectClosed(TimeBarViewerDelegate delegate)
          Invoked when the selection rect is closed.
 

Method Detail

selectionRectChanged

void selectionRectChanged(TimeBarViewerDelegate delegate,
                          de.jaret.util.date.JaretDate beginDate,
                          de.jaret.util.date.JaretDate endDate,
                          java.util.List<TimeBarRow> rows)
Invoked whenever the selection rectangle changes.

Parameters:
delegate - the delegate for further inquiries
beginDate - the begin date of the selected area
endDate - the end date of the selected area
rows - the list of rows that are covered (even partially) by the selection rectangle

selectionRectClosed

void selectionRectClosed(TimeBarViewerDelegate delegate)
Invoked when the selection rect is closed.

Parameters:
delegate - delegate

regionRectChanged

void regionRectChanged(TimeBarViewerDelegate delegate,
                       TBRect tbrect)
Invoked whenever the region select rectangle changes.

Parameters:
delegate - the delegate for further inquiries
tbrect - struct containing the selection data

regionRectClosed

void regionRectClosed(TimeBarViewerDelegate delegate)
Invoked when the region rect is closed.

Parameters:
delegate - delegate


Copyright © 2012. All Rights Reserved.