mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-13 06:49:36 -04:00
added some comments
This commit is contained in:
parent
fd0bb0a576
commit
e0659e668a
@ -8,6 +8,9 @@ import de.neemann.digital.gui.draw.parts.Pins;
|
||||
import de.neemann.digital.gui.draw.parts.State;
|
||||
|
||||
/**
|
||||
* Universal Shape. Used for most components.
|
||||
* Shows a simple Box with inputs at the left and outputs at the right.
|
||||
*
|
||||
* @author hneemann
|
||||
*/
|
||||
public class GenericShape implements Shape {
|
||||
|
@ -5,6 +5,11 @@ import de.neemann.digital.gui.draw.graphics.Vector;
|
||||
import de.neemann.digital.gui.draw.parts.State;
|
||||
|
||||
/**
|
||||
* The VisualParts Interactor instance is called if the part is clicked
|
||||
* during execution. So the User can interakt with the part during execution.
|
||||
* Used at the InputShape to let the user toggle the inputs state.
|
||||
*
|
||||
* @see InputShape
|
||||
* @author hneemann
|
||||
*/
|
||||
public interface Interactor {
|
||||
|
@ -15,7 +15,6 @@ import de.neemann.digital.gui.draw.parts.State;
|
||||
*/
|
||||
public class ProbeShape implements Shape {
|
||||
|
||||
|
||||
private final String label;
|
||||
|
||||
public ProbeShape(String label) {
|
||||
|
@ -12,6 +12,8 @@ public interface Shape extends Drawable {
|
||||
|
||||
/**
|
||||
* Puts the pins name and the pins x-y-position together!
|
||||
* This information is used to calculate the models connections
|
||||
* from the wiring in the circuit.
|
||||
*
|
||||
* @return the pins
|
||||
*/
|
||||
|
@ -1,7 +0,0 @@
|
||||
package de.neemann.digital.gui.draw.shapes;
|
||||
|
||||
/**
|
||||
* @author hneemann
|
||||
*/
|
||||
public interface StateMonitor {
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user