sonification.dataimport.visbards_resourcetoolkit.model
Interface RangeModel

All Known Implementing Classes:
DefaultRangeModel

public interface RangeModel


Method Summary
 void addListener(RangeModelListener listener)
          Registers a listener.
 Range getOverallRange()
          Returns the overall time range, i.e.
 Range getSelectedRange()
          Returns the selected time range.
 boolean isValidRange(Range range)
          returns true if the range is valid, false otherwise
 boolean isWithinScope(Range range)
          returns true if the given range is within the current scope, false otherwise
 void removeListener(RangeModelListener listener)
          Unregisters a listener.
 void setOverallRange(Range range)
          set the overall time range, i.e.
 void setSelectedRange(Range range)
          set the selected time range, i.e.
 

Method Detail

setOverallRange

void setOverallRange(Range range)
set the overall time range, i.e. the maximum possible selected range


getOverallRange

Range getOverallRange()
Returns the overall time range, i.e. the maximum possible selected range


setSelectedRange

void setSelectedRange(Range range)
set the selected time range, i.e. the extent


getSelectedRange

Range getSelectedRange()
Returns the selected time range.


isWithinScope

boolean isWithinScope(Range range)
returns true if the given range is within the current scope, false otherwise


isValidRange

boolean isValidRange(Range range)
returns true if the range is valid, false otherwise


addListener

void addListener(RangeModelListener listener)
Registers a listener.


removeListener

void removeListener(RangeModelListener listener)
Unregisters a listener.