All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----java.awt.Component | +----java.awt.Container | +----javax.swing.JComponent | +----kh.awt.MultiDial
Summary |
public class MultiDial extends javax.swing.JComponent implements kh.awt.AwtValueReceiver { // Constructors 1 public MultiDial(); // Methods 10 public void addDial(AwtValueReceiver); public DoubleRange[] getAdvisoryRanges(); public JComponent getComponent(); public DoubleRange[] getWarningRanges(); public void setAdvisoryRanges(DoubleRange[]); public void setMaxValue(double); public void setMinValue(double); public void setValue(double); public WarningValueReceiver setVisibleDial(AwtValueReceiver); public void setWarningRanges(DoubleRange[]); }
This is a Dial which has multiple analog views and switches between them when pressed with a mouse
Constructors |
· MultiDial | Summary | Top |
public MultiDial()
Methods |
· addDial | Summary | Top |
public void addDial(AwtValueReceiver dial)
· getAdvisoryRanges | Summary | Top |
public DoubleRange[] getAdvisoryRanges()
Returns the range of values which should be colored yellow. or empty for no yellow ranges
· getComponent | Summary | Top |
public JComponent getComponent()
- Implements:
- getComponent in interface AwtValueReceiver
· getWarningRanges | Summary | Top |
public DoubleRange[] getWarningRanges()
Returns the range of values which should be colored red or empty for no red ranges
· setAdvisoryRanges | Summary | Top |
public void setAdvisoryRanges(DoubleRange[] array)
Sets the range of values which should be colored yellow. or empty for no yellow ranges
· 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)
· setVisibleDial | Summary | Top |
public WarningValueReceiver setVisibleDial(AwtValueReceiver newDial)
Change the component currently used as the analog dial. The specified dial must have already been added with addDial().
- Returns:
- the old analog dial
· setWarningRanges | Summary | Top |
public 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 IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7