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
-
OrGateFigure()
- Constructs a new OrGateFigure.
-
getPreferredSize()
- Returns the preferred size of this component.
-
paint(Graphics)
- Paints the figure of the gate.
OrGateFigure
public OrGateFigure()
- Constructs a new OrGateFigure.
paint
public void paint(Graphics g)
- Paints the figure of the gate.
- Overrides:
- paint in class ElectronicGateFigure
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