All Packages Class Hierarchy This Package Previous Next Index
Class electronics.ui.NotGateFigure
java.lang.Object
|
+----java.awt.Component
|
+----electronics.ui.ElectronicGateFigure
|
+----electronics.ui.NotGateFigure
- public class NotGateFigure
- extends ElectronicGateFigure
A graphical component that represents an or gate.
- Author:
- Shmulik London
-
NotGateFigure()
- Constructs a new OrGateFigure.
-
getPreferredSize()
- Returns the preferred size of this component.
-
paint(Graphics)
- Paints the figure of the gate.
NotGateFigure
protected NotGateFigure()
- 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