SEdit.Formalisms.Logical
Class LogicalSwitch

java.lang.Object
  extended bySEdit.SElement
      extended bySEdit.SNode
          extended bySEdit.SimpleNode
              extended bySEdit.Formalisms.Logical.LogicalSwitch

public class LogicalSwitch
extends SimpleNode

A simple input component for binary values


Field Summary
 boolean value
           
 
Fields inherited from class SEdit.SimpleNode
inArrows, outArrows
 
Fields inherited from class SEdit.SElement
comment, descriptor, element, id, label, persistent, structure
 
Constructor Summary
LogicalSwitch()
           
 
Method Summary
 void activate()
           
 boolean getValue()
           
 void putOne()
           
 void putZero()
           
 void setValue(boolean b)
           
 
Methods inherited from class SEdit.SimpleNode
addInArrow, addOutArrow, delete, deleteInArrow, deleteOutArrow, getInArrows, getInArrows, getOutArrows, getOutArrows, isConnectable, toString
 
Methods inherited from class SEdit.SNode
initGraphics, reInstall
 
Methods inherited from class SEdit.SElement
dump, getComment, getDescriptor, getGObject, getID, getLabel, getStructure, init, inspect, setComment, setDescriptor, setGObject, setID, setLabel, setStructure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public boolean value
Constructor Detail

LogicalSwitch

public LogicalSwitch()
Method Detail

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.