All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class electronics.ui.OrGateFigure

java.lang.Object
   |
   +----java.awt.Component
           |
           +----electronics.ui.ElectronicGateFigure
                   |
                   +----electronics.ui.OrGateFigure

public class OrGateFigure
extends ElectronicGateFigure
A graphical component that represents an or gate.

Author:
Shmulik London

Constructor Index

 o OrGateFigure()
Constructs a new OrGateFigure.

Method Index

 o getPreferredSize()
Returns the preferred size of this component.
 o paint(Graphics)
Paints the figure of the gate.

Constructors

 o OrGateFigure
 public OrGateFigure()
Constructs a new OrGateFigure.

Methods

 o paint
 public void paint(Graphics g)
Paints the figure of the gate.

Overrides:
paint in class ElectronicGateFigure
 o getPreferredSize
 public Dimension getPreferredSize()
Returns the preferred size of this component.

Overrides:
getPreferredSize in class ElectronicGateFigure

All Packages  Class Hierarchy  This Package  Previous  Next  Index