added some comments

This commit is contained in:
hneemann 2016-03-19 09:33:21 +01:00
parent fd0bb0a576
commit e0659e668a
5 changed files with 10 additions and 8 deletions

View File

@ -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 {

View File

@ -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 {

View File

@ -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) {

View File

@ -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
*/

View File

@ -1,7 +0,0 @@
package de.neemann.digital.gui.draw.shapes;
/**
* @author hneemann
*/
public interface StateMonitor {
}