SEdit.Formalisms.Logical
Class LogicalSwitch
java.lang.Object
SEdit.SElement
SEdit.SNode
SEdit.SimpleNode
SEdit.Formalisms.Logical.LogicalSwitch
- public class LogicalSwitch
- extends SimpleNode
A simple input component for binary values
Field Summary |
boolean |
value
|
Methods inherited from class SEdit.SimpleNode |
addInArrow, addOutArrow, delete, deleteInArrow, deleteOutArrow, getInArrows, getInArrows, getOutArrows, getOutArrows, isConnectable, toString |
Methods inherited from class SEdit.SElement |
dump, getComment, getDescriptor, getGObject, getID, getLabel, getStructure, init, inspect, setComment, setDescriptor, setGObject, setID, setLabel, setStructure |
value
public boolean value
LogicalSwitch
public LogicalSwitch()
activate
public void activate()
- Overrides:
activate
in class SNode
putZero
public void putZero()
putOne
public void putOne()
getValue
public boolean getValue()
setValue
public void setValue(boolean b)
Copyright © J. Ferber, O. Gutknecht All Rights Reserved.