Class polarDust.calculator.Printer01
All Packages Class Hierarchy This Package Previous Next Index
Class polarDust.calculator.Printer01
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Canvas
|
+----polarDust.calculator.Printer01
- public class Printer01
- extends Canvas
- implements CalcConstants
Printer01 is a component which shows an array of doubles converted
by a display component into a certain format plus a binary operator
representation. The length of the array is 100.
The source code.
- Version:
- 0.9, 1996.06.04
- Author:
- Sorin Lazareanu
-
Printer01()
- Constructs a printer.
-
minimumSize()
-
-
paint(Graphics)
- Paints the component.
-
preferredSize()
-
-
showResult(String)
- Advances the "paper tape" one row and prints a number.
-
update(Graphics)
- Paints the component uses double buffering.
Printer01
public Printer01()
- Constructs a printer.
paint
public void paint(Graphics aGraphics)
- Paints the component. Uses update.
- Overrides:
- paint in class Canvas
- See Also:
- update
update
public synchronized void update(Graphics aGraphics)
- Paints the component uses double buffering.
The source code.
- Overrides:
- update in class Component
preferredSize
public Dimension preferredSize()
- Overrides:
- preferredSize in class Component
minimumSize
public Dimension minimumSize()
- Overrides:
- minimumSize in class Component
showResult
public void showResult(String aResult)
- Advances the "paper tape" one row and prints a number.
All Packages Class Hierarchy This Package Previous Next Index