org.simantics.databoard.accessor.event
Class CustomEvent

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

public class CustomEvent
extends Event

Custom Event

Author:
Toni Kalajainen

Field Summary
 MutableVariant content
          Content Payload
 java.lang.String name
          Event name
 
Fields inherited from class org.simantics.databoard.accessor.event.Event
reference
 
Constructor Summary
CustomEvent(java.lang.String name, MutableVariant content)
           
 
Method Summary
 Event clone(ChildReference newReference)
          Create a clone with new reference
 
Methods inherited from class org.simantics.databoard.accessor.event.Event
toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public java.lang.String name
Event name


content

public MutableVariant content
Content Payload

Constructor Detail

CustomEvent

public CustomEvent(java.lang.String name,
                   MutableVariant content)
Method Detail

clone

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

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