All Packages  This Package  Class Hierarchy  Class Search  Index

Class kh.awt.AnalogDigitalDial
java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----javax.swing.JComponent
                           |
                           +----kh.awt.AnalogDigitalDial

  Summary

public class  AnalogDigitalDial
     extends javax.swing.JComponent
     implements kh.util.WarningValueReceiver
{
          // Constructors 4
     public AnalogDigitalDial();
     public AnalogDigitalDial(String);
     public AnalogDigitalDial(AwtValueReceiver);
     public AnalogDigitalDial(AwtValueReceiver, String);

          // Methods 9
     public DoubleRange[] getAdvisoryRanges();
     public AwtValueReceiver getAnalogDial();
     public DoubleRange[] getWarningRanges();
     public void setAdvisoryRanges(DoubleRange[]);
     public AwtValueReceiver setAnalogDial(AwtValueReceiver);
     public void setMaxValue(double);
     public void setMinValue(double);
     public void setValue(double);
     public void setWarningRanges(DoubleRange[]);
}

This class is a dial which also shows the value digitally centered below the dial.


  Cross Reference

Extended By:
NamedValueDial





  Constructors

· AnalogDigitalDial

Summary  |  Top
   public AnalogDigitalDial() 

Create a version with no initial analog dial



· AnalogDigitalDial

Summary  |  Top
   public AnalogDigitalDial(String title) 

Create an AD dial which also has a labeled border of a title



· AnalogDigitalDial

Summary  |  Top
   public AnalogDigitalDial(AwtValueReceiver analogDial) 

Given an existing analog dial - build a analog/digital display



· AnalogDigitalDial

Summary  |  Top
   public AnalogDigitalDial(AwtValueReceiver analogDial, 
                            String title) 

Create an AD dial which also has a labeled border of a title



  Methods

· getAdvisoryRanges

Summary  |  Top
   public DoubleRange[] getAdvisoryRanges() 

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

Implements:
getAdvisoryRanges in interface WarningValueReceiver


· getAnalogDial

Summary  |  Top
   public AwtValueReceiver getAnalogDial() 


· getWarningRanges

Summary  |  Top
   public DoubleRange[] getWarningRanges() 

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

Implements:
getWarningRanges in interface WarningValueReceiver


· setAdvisoryRanges

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

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

Implements:
setAdvisoryRanges in interface WarningValueReceiver


· setAnalogDial

Summary  |  Top
   public AwtValueReceiver setAnalogDial(AwtValueReceiver newAnalog) 

Change the component currently used as the analog dial

Returns:
the old analog dial


· setMaxValue

Summary  |  Top
   public void setMaxValue(double value) 

Set the min value which will be output using this receiver.



· setMinValue

Summary  |  Top
   public void setMinValue(double value) 

Set the max value which will be output using this receiver.



· setValue

Summary  |  Top
   public void setValue(double value) 


· setWarningRanges

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

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

Implements:
setWarningRanges in interface WarningValueReceiver


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