Class polarDust.calculator.NumDisplayPanel01
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class polarDust.calculator.NumDisplayPanel01

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----polarDust.calculator.NumDisplayPanel01

public class NumDisplayPanel01
extends Panel
implements CalcDisplay
NumDisplayPanel01 is a container for a NumDisplay01 component.

The source code.
Version:
0.9, 1996.06.04
Author:
Sorin Lazareanu

Constructor Index

 o NumDisplayPanel01()
Constructs a new panel.
 o NumDisplayPanel01(PrinterPanel01)
Constructs a new display panel, driver for a printer.

Method Index

 o assign(double)
 o assignWithDecimals(double, int)
 o configure()
Prepares the layout of the panel.
 o isError()
 o maxDigitsFactor()
Answers the maxDigitsFactor for the display component.
 o mouseUp(Event, int, int)
Toggles runnable for the display component.
 o setNumber(String)
 o show(double)
 o showM(double)
 o showOp(String)
 o showWithDecimals(double, int)
 o stop()
Stops the thread of the display component.

Constructors

 o NumDisplayPanel01
  public NumDisplayPanel01()
Constructs a new panel.
 o NumDisplayPanel01
  public NumDisplayPanel01(PrinterPanel01 aPrinter)
Constructs a new display panel, driver for a printer.
Parameters:
aPrinter - the printer to use.
See Also:
PrinterPanel01

Methods

 o configure
  public void configure()
Prepares the layout of the panel.
 o maxDigitsFactor
  public long maxDigitsFactor()
Answers the maxDigitsFactor for the display component.
See Also:
maxDigitsFactor
 o assign
  public double assign(double dReg1)
See Also:
assign
 o show
  public double show(double dReg1)
See Also:
show
 o showOp
  public void showOp(String oper)
See Also:
showOp
 o assignWithDecimals
  public double assignWithDecimals(double dReg1,
                                   int iDecimals)
See Also:
assignWithDecimals
 o showWithDecimals
  public double showWithDecimals(double dReg1,
                                 int iDecimals)
See Also:
showWithDecimals
 o setNumber
  public void setNumber(String aString)
See Also:
setNumber
 o showM
  public double showM(double dRegM)
See Also:
showM
 o isError
  public boolean isError()
See Also:
isError
 o stop
  public void stop()
Stops the thread of the display component.
See Also:
NumDisplay01
 o mouseUp
  public boolean mouseUp(Event e,
                         int iX,
                         int iY)
Toggles runnable for the display component.
Overrides:
mouseUp in class Component
See Also:
toggleRunnable

All Packages  Class Hierarchy  This Package  Previous  Next  Index