All Packages  This Package  Class Hierarchy  Class Search  Index

Interface kh.util.WarningValueReceiver

  Summary

public interface  WarningValueReceiver
     extends kh.util.BoundedValueReceiver
{
          // Methods 4
     public abstract DoubleRange[] getAdvisoryRanges();
     public abstract DoubleRange[] getWarningRanges();
     public abstract void setAdvisoryRanges(DoubleRange[]);
     public abstract void setWarningRanges(DoubleRange[]);
}

This is a value receiver which supports the notion of ranges which are advisory (yellow) or warning (red). These yellow or red ares need to be at the top or bottom of the scale.

Author:
kevinh@geeksville.com


  Cross Reference

Extended By:
AwtValueReceiver

Returned By:
MultiDial.setVisibleDial()

Implemented By:
AnalogDigitalDial





  Methods

· getAdvisoryRanges

Summary  |  Top
   public abstract DoubleRange[] getAdvisoryRanges() 

Returns the range of values which should be colored yellow. or empty for no yellow ranges



· getWarningRanges

Summary  |  Top
   public abstract DoubleRange[] getWarningRanges() 

Returns the range of values which should be colored red or empty for no red ranges



· setAdvisoryRanges

Summary  |  Top
   public abstract void setAdvisoryRanges(DoubleRange[] array) 

Sets the range of values which should be colored yellow. or empty for no yellow ranges



· setWarningRanges

Summary  |  Top
   public abstract void setWarningRanges(DoubleRange[] array) 

Sets the range of values which should be colored red or empty for no red ranges



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7