Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Synapsim.blocks.basic
Class Counter  view Counter download Counter.java

java.lang.Object
  extended bySynapsim.core.Block
      extended bySynapsim.blocks.basic.Counter
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class Counter
extends Synapsim.core.Block


Field Summary
static java.lang.String ACTIVATION
           
static java.lang.String ADD_ACTIVATION
           
private  java.lang.Number value
           
static java.lang.String VALUE
           
 
Fields inherited from class Synapsim.core.Block
blocks, daemon, inputs, menu, outputs, properties, propertiesMenu, PROPERTY_NAME_NAME, widget
 
Constructor Summary
Counter()
           
Counter(java.lang.String name, Synapsim.core.BlockCollection blockcollection)
           
 
Method Summary
 java.lang.Number getValue()
          returns value
 void incValue()
          increaces the value one unit
 
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
 

Field Detail

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
Constructor Detail

Counter

public Counter()

Counter

public Counter(java.lang.String name,
               Synapsim.core.BlockCollection blockcollection)
Method Detail

getValue

public java.lang.Number getValue()
returns value


incValue

public void incValue()
increaces the value one unit