org.simantics.databoard.accessor.event
Class ArrayElementAdded

java.lang.Object
  extended by org.simantics.databoard.accessor.event.Event
      extended by org.simantics.databoard.accessor.event.ModificationEvent
          extended by org.simantics.databoard.accessor.event.ArrayElementAdded

public class ArrayElementAdded
extends ModificationEvent

TODO change to ArrayELement S Added

Author:
Toni Kalajainen

Field Summary
 int index
           
 MutableVariant value
          The new element value.
 
Fields inherited from class org.simantics.databoard.accessor.event.Event
reference
 
Constructor Summary
ArrayElementAdded(AccessorReference ref, int index, MutableVariant value)
           
ArrayElementAdded(int index, MutableVariant value)
           
 
Method Summary
 ArrayElementAdded clone(AccessorReference newReference)
          Create a clone with new reference
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

index

public int index

value

public MutableVariant value
The new element value. Value is added if the value was in interest Set

Constructor Detail

ArrayElementAdded

public ArrayElementAdded(AccessorReference ref,
                         int index,
                         MutableVariant value)

ArrayElementAdded

public ArrayElementAdded(int index,
                         MutableVariant value)
Method Detail

clone

public ArrayElementAdded clone(AccessorReference newReference)
Description copied from class: Event
Create a clone with new reference

Specified by:
clone in class Event
Returns:
clone with a new reference

toString

public java.lang.String toString()
Overrides:
toString in class Event