All Packages This Package Class Hierarchy Class Search Index
Class kh.awt.AnalogDial
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----javax.swing.JComponent
|
+----kh.awt.Dial
|
+----kh.awt.AnalogDial
public abstract class AnalogDial
extends kh.awt.Dial
{
// Fields 1
public static final Color defaultFaceColor;
// Constructors 1
public AnalogDial();
// Methods 5
protected Point getCenter();
protected int getMaxRadius();
protected Point getPoint(double, int);
protected void paintComponent(Graphics);
public abstract void setValue(double);
}
This class provides round dials - you probably want HandedDial for
most uses.
- Extended By:
- ScaledDial
public static final Color defaultFaceColor
public AnalogDial()
Default constructor
protected Point getCenter()
protected int getMaxRadius()
protected Point getPoint(double angle,
int radius)
protected void paintComponent(Graphics g)
- Overrides:
- paintComponent in class JComponent
public abstract void setValue(double value)
This method is needed to support the ValueReceiver interface.
A scaled dial only has bounds - it does not yet have a way of actually
displaying a result. Subclasses need to implement this method.
- Overrides:
- setValue in class Dial
See Also:
ValueReceiver
All Packages This Package Class Hierarchy Class Search Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7