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

All Known Implementing Classes:
TimeBarChangeAdapter

public interface ITimeBarChangeListener

Listener interface for listeners that will be notified on changes a user makes interactively using the timebar viewer. If the change is done by keyboard shortcuts those will reported as a series of events (each keystroke).

Version:
$Id: ITimeBarChangeListener.java 825 2009-02-04 21:51:08Z kliem $
Author:
kliem

Method Summary
 void intervalChangeCancelled(TimeBarRow row, de.jaret.util.date.Interval interval)
          Indicates that the user cancelled the change (most probably by pressing the ESC key).
 void intervalChanged(TimeBarRow row, de.jaret.util.date.Interval interval, de.jaret.util.date.JaretDate oldBegin, de.jaret.util.date.JaretDate oldEnd)
          Indicates the final state after an interactive change performed by the user.
 void intervalChangeStarted(TimeBarRow row, de.jaret.util.date.Interval interval)
          Indicates that an interval is about to be changed interactively by the user.
 void intervalIntermediateChange(TimeBarRow row, de.jaret.util.date.Interval interval, de.jaret.util.date.JaretDate oldBegin, de.jaret.util.date.JaretDate oldEnd)
          Indicates an intermediate state while he user drags interval edegs or the interval.
 void markerDragStarted(TimeBarMarker marker)
          Indicates that a marker drag started.
 void markerDragStopped(TimeBarMarker marker)
          Indicates that a marker drag stopped.
 

Method Detail

intervalChangeStarted

void intervalChangeStarted(TimeBarRow row,
                           de.jaret.util.date.Interval interval)
Indicates that an interval is about to be changed interactively by the user.

Parameters:
row - row of the interval about to be changed
interval - interval that is about to be changed

intervalIntermediateChange

void intervalIntermediateChange(TimeBarRow row,
                                de.jaret.util.date.Interval interval,
                                de.jaret.util.date.JaretDate oldBegin,
                                de.jaret.util.date.JaretDate oldEnd)
Indicates an intermediate state while he user drags interval edegs or the interval.

Parameters:
row - row of the interval that is changed
interval - interval that is changed
oldBegin - begin date before the change
oldEnd - end date before the change

intervalChanged

void intervalChanged(TimeBarRow row,
                     de.jaret.util.date.Interval interval,
                     de.jaret.util.date.JaretDate oldBegin,
                     de.jaret.util.date.JaretDate oldEnd)
Indicates the final state after an interactive change performed by the user.

Parameters:
row - row of the interval that has been changed
interval - interval that has been changed
oldBegin - begin date before the change
oldEnd - end date before the change

intervalChangeCancelled

void intervalChangeCancelled(TimeBarRow row,
                             de.jaret.util.date.Interval interval)
Indicates that the user cancelled the change (most probably by pressing the ESC key).

Parameters:
row - row of the interval whose change has been cancelled
interval - interval whose change has been cancelled

markerDragStarted

void markerDragStarted(TimeBarMarker marker)
Indicates that a marker drag started.

Parameters:
marker - marker that is beeing dragged

markerDragStopped

void markerDragStopped(TimeBarMarker marker)
Indicates that a marker drag stopped.

Parameters:
marker - marker


Copyright © 2012. All Rights Reserved.