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

All Known Subinterfaces:
TimeBarNodeListener
All Known Implementing Classes:
AbstractTimeBarModel, AddingTimeBarNode, AddingTimeBarRowModel, DefaultTimeBarModel, StdHierarchicalTimeBarModel

public interface TimeBarRowListener

Interface for listening to changes on the data of a TimeBarRow.

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

Method Summary
 void elementAdded(TimeBarRow row, de.jaret.util.date.Interval element)
          A new element was added to the row.
 void elementChanged(TimeBarRow row, de.jaret.util.date.Interval element)
          An element in the row has changed.
 void elementRemoved(TimeBarRow row, de.jaret.util.date.Interval element)
          An element was removed from the row.
 void headerChanged(TimeBarRow row, TimeBarRowHeader newHeader)
          The header of the row has changed.
 void rowDataChanged(TimeBarRow row)
          Unspecific or multiple change of row data.
 

Method Detail

rowDataChanged

void rowDataChanged(TimeBarRow row)
Unspecific or multiple change of row data. This method should not be used without the need for signalling an unspecific data change.

Parameters:
row - the changed row

elementAdded

void elementAdded(TimeBarRow row,
                  de.jaret.util.date.Interval element)
A new element was added to the row.

Parameters:
row - the changed row
element - the new interval in the row

elementRemoved

void elementRemoved(TimeBarRow row,
                    de.jaret.util.date.Interval element)
An element was removed from the row.

Parameters:
row - the changed row
element - the removed element

elementChanged

void elementChanged(TimeBarRow row,
                    de.jaret.util.date.Interval element)
An element in the row has changed.

Parameters:
row - the row of the changed element
element - the changed interval

headerChanged

void headerChanged(TimeBarRow row,
                   TimeBarRowHeader newHeader)
The header of the row has changed.

Parameters:
row - the row containing the header.
newHeader - the new or updated header object


Copyright © 2012. All Rights Reserved.