net.sourceforge.frcsimulator.internals
Class FrcBotSimProperty<T>

java.lang.Object
  extended by net.sourceforge.frcsimulator.internals.FrcBotSimProperty<T>
Direct Known Subclasses:
ArrayWrappingProperty

public class FrcBotSimProperty<T>
extends java.lang.Object

Author:
wolf

Field Summary
protected  java.util.ArrayList<javax.swing.event.ChangeListener> changeListeners
           
 boolean physical
           
 boolean setByCode
           
protected  T value
           
 
Constructor Summary
FrcBotSimProperty()
           
FrcBotSimProperty(T defaultValue)
           
 
Method Summary
 void addChangeListener(javax.swing.event.ChangeListener c)
           
 T get()
           
 void removeChangeListener(javax.swing.event.ChangeListener c)
           
 void set(T to)
           
protected  void triggerChange()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

setByCode

public boolean setByCode

physical

public boolean physical

value

protected T value

changeListeners

protected java.util.ArrayList<javax.swing.event.ChangeListener> changeListeners
Constructor Detail

FrcBotSimProperty

public FrcBotSimProperty()

FrcBotSimProperty

public FrcBotSimProperty(T defaultValue)
Method Detail

get

public T get()

set

public void set(T to)

triggerChange

protected void triggerChange()

addChangeListener

public void addChangeListener(javax.swing.event.ChangeListener c)

removeChangeListener

public void removeChangeListener(javax.swing.event.ChangeListener c)