Errai 3.0.1-SNAPSHOT

org.jboss.errai.ioc.client.lifecycle.impl
Class StateChangeImpl<T>

java.lang.Object
  extended by org.jboss.errai.ioc.client.lifecycle.impl.LifecycleEventImpl<T>
      extended by org.jboss.errai.ioc.client.lifecycle.impl.StateChangeImpl<T>
All Implemented Interfaces:
LifecycleEvent<T>, StateChange<T>

@Dependent
public class StateChangeImpl<T>
extends LifecycleEventImpl<T>
implements StateChange<T>


Constructor Summary
StateChangeImpl()
           
StateChangeImpl(Set<String> changedFieldNames)
           
 
Method Summary
 Set<String> getChangedFieldNames()
           
 Class<?> getEventType()
          This must return the interface of the event it represents (i.e.
 void setChangedFieldNames(Set<String> changedFieldNames)
          This must be set before the event is fired.
 
Methods inherited from class org.jboss.errai.ioc.client.lifecycle.impl.LifecycleEventImpl
fireAsync, fireAsync, getInstance, veto
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.errai.ioc.client.lifecycle.api.LifecycleEvent
fireAsync, fireAsync, getInstance, veto
 

Constructor Detail

StateChangeImpl

public StateChangeImpl(Set<String> changedFieldNames)

StateChangeImpl

public StateChangeImpl()
Method Detail

getChangedFieldNames

public Set<String> getChangedFieldNames()
Specified by:
getChangedFieldNames in interface StateChange<T>
Returns:
The set of names of fields whose values changed.

getEventType

public Class<?> getEventType()
Description copied from class: LifecycleEventImpl
This must return the interface of the event it represents (i.e. Access rather than AccessImpl).

Specified by:
getEventType in class LifecycleEventImpl<T>

setChangedFieldNames

public void setChangedFieldNames(Set<String> changedFieldNames)
Description copied from interface: StateChange
This must be set before the event is fired.

Specified by:
setChangedFieldNames in interface StateChange<T>
Parameters:
changedFieldNames - The set of names of fields whose values changed.

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.