com.rapidminer.gui.new_plotter.utility
Interface ValueRange

All Superinterfaces:
DataTableFilterCondition
All Known Implementing Classes:
AbstractValueRange, AggregatedValueRange, NumericalValueRange, SayNoValueRange, SingleValueValueRange

public interface ValueRange
extends DataTableFilterCondition

Interface for value ranges. A value range is a collection of values. How these are specified depends on the implementation. Possibilities are: a single value, a list of discrete or nominal values, or a value range with x <= value <= y.

Author:
Marius Helf, Nils Woehler

Method Summary
 void addValueRangeListener(ValueRangeListener l)
           
 ValueRange clone()
           
 boolean definesUpperLowerBound()
          Implementations of ValueRange which define an upper and a lower bound should return true in this function.
 double getLowerBound()
          Returns the lower bound if the implementation of ValueRange supports bound, or Double.NaN otherwise.
 double getUpperBound()
          Returns the upper bound if the implementation of ValueRange supports bound, or Double.NaN otherwise.
 double getValue()
          Returns a representative value for the value range which is used for sorting and for color mapping.
 void removeValueRangeListener(ValueRangeListener l)
           
 java.lang.String toString()
           
 
Methods inherited from interface com.rapidminer.datatable.DataTableFilterCondition
keepRow
 

Method Detail

getValue

double getValue()
Returns a representative value for the value range which is used for sorting and for color mapping.


toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object

clone

ValueRange clone()

definesUpperLowerBound

boolean definesUpperLowerBound()
Implementations of ValueRange which define an upper and a lower bound should return true in this function.


getUpperBound

double getUpperBound()
Returns the upper bound if the implementation of ValueRange supports bound, or Double.NaN otherwise.


getLowerBound

double getLowerBound()
Returns the lower bound if the implementation of ValueRange supports bound, or Double.NaN otherwise.


addValueRangeListener

void addValueRangeListener(ValueRangeListener l)

removeValueRangeListener

void removeValueRangeListener(ValueRangeListener l)


Copyright © 2001-2009 by Rapid-I