X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=LogicUI%2Fsrc%2Fera%2Fmi%2Fgui%2Fcomponents%2FGUINotGate.java;h=71e1d13d57b285f5ed0639f0fc71548f348d2418;hb=32a3d41c11b96c2530c25b6059b4341a8b34a2e2;hp=24702fc8612d33ccb32372d927000632fa1179ee;hpb=9c31e87700d7a4872f9caaa8bd3afe1f023d9926;p=Mograsim.git diff --git a/LogicUI/src/era/mi/gui/components/GUINotGate.java b/LogicUI/src/era/mi/gui/components/GUINotGate.java index 24702fc8..71e1d13d 100644 --- a/LogicUI/src/era/mi/gui/components/GUINotGate.java +++ b/LogicUI/src/era/mi/gui/components/GUINotGate.java @@ -13,10 +13,10 @@ import net.haspamelodica.swt.helper.swtobjectwrappers.Rectangle; public class GUINotGate extends NotGate implements BasicGUIComponent { - private static final String LABEL = "\u22651";//>=1 + private static final String LABEL = "\u22651";// >=1 - private final List connectedWireArrays; - private final List wireArrayConnectionPoints; + private final List connectedWireArrays; + private final List wireArrayConnectionPoints; public GUINotGate(int processTime, WireArray in, WireArray out) { @@ -40,6 +40,7 @@ public class GUINotGate extends NotGate implements BasicGUIComponent { return new Rectangle(0, 0, 20, 10); } + @Override public void render(GeneralGC gc) { @@ -58,11 +59,13 @@ public class GUINotGate extends NotGate implements BasicGUIComponent { return connectedWireArrays.size(); } + @Override public WireArray getConnectedWireArray(int connectionIndex) { return connectedWireArrays.get(connectionIndex); } + @Override public Point getWireArrayConnectionPoint(int connectionI) {