java.lang.Object
Synapsim.core.Block
Synapsim.blocks.basic.Counter
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener
- public class Counter
- extends Synapsim.core.Block
| Methods inherited from class Synapsim.core.Block |
actionPerformed, addInput, addMenuItem, addOutput, addOutputConnection, canPersist, getBlocks, getClassName, getCollection, getFullName, getInputByName, getInputData, getInputs, getName, getNumInputs, getNumOutputs, getOutputByName, getOutputs, getProperties, getProperty, getPropertyByFriendlyName, getPropertyByName, getWidget, newDefaultPropertySet, persistData, persistedData, popMenu, rebuildPropertiesMenu, removeInput, removeOutput, setAllInputs, setAllOutputs, setBlockCollection, setCollection, setDaemon, setInputData, setName, setOutputData, start |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACTIVATION
public static final java.lang.String ACTIVATION
- See Also:
- Constant Field Values
ADD_ACTIVATION
public static final java.lang.String ADD_ACTIVATION
- See Also:
- Constant Field Values
VALUE
public static final java.lang.String VALUE
- See Also:
- Constant Field Values
value
private java.lang.Number value
Counter
public Counter()
Counter
public Counter(java.lang.String name,
Synapsim.core.BlockCollection blockcollection)
getValue
public java.lang.Number getValue()
- returns value
incValue
public void incValue()
- increaces the value one unit