|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CalculableViewable
Interface defining semantics for viewing a Calculable record
| Nested Class Summary | |
|---|---|
static class |
CalculableViewable.PlottedCalculable
Data structure that holds as properties the the Calculable and the Point it is plotted at |
| Method Summary | |
|---|---|
CalculableViewable.PlottedCalculable |
getCalcForPoint(Point p)
Get the Calculable value for a corresponding point |
void |
paint(Graphics g,
Dimension size)
Paints the view to the graphics context |
void |
setWatchDataSource(WatchDataSource watchDataSource)
Sets the watch data source for this view |
| Method Detail |
|---|
void setWatchDataSource(WatchDataSource watchDataSource)
watchDataSource - the watch data source.
void paint(Graphics g,
Dimension size)
g - the graphics contextsize - The Dimension to paintCalculableViewable.PlottedCalculable getCalcForPoint(Point p)
p - The point
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||