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

Constructor Index

 o Printer01()
Constructs a printer.

Method Index

 o minimumSize()
 o paint(Graphics)
Paints the component.
 o preferredSize()
 o showResult(String)
Advances the "paper tape" one row and prints a number.
 o update(Graphics)
Paints the component uses double buffering.

Constructors

 o Printer01
  public Printer01()
Constructs a printer.

Methods

 o paint
  public void paint(Graphics aGraphics)
Paints the component. Uses update.
Overrides:
paint in class Canvas
See Also:
update
 o update
  public synchronized void update(Graphics aGraphics)
Paints the component uses double buffering.

The source code.
Overrides:
update in class Component
 o preferredSize
  public Dimension preferredSize()
Overrides:
preferredSize in class Component
 o minimumSize
  public Dimension minimumSize()
Overrides:
minimumSize in class Component
 o 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