org.nakedobjects.applib.events
Class AccessEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.nakedobjects.applib.events.InteractionEvent
          extended by org.nakedobjects.applib.events.AccessEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CollectionAccessEvent, CollectionMethodEvent, ObjectTitleEvent, PropertyAccessEvent

public abstract class AccessEvent
extends InteractionEvent

Represents an access (reading) of a property, collection or title.

Analogous to ValidityEvent (which corresponds to modifying a property or collection etc), however the InteractionEvent.getReason() will always be null. (If access is not allowed then a vetoing VisibilityEvent would have been fired).

See Also:
UsabilityEvent, VisibilityEvent, ValidityEvent, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AccessEvent(Object source, Identifier identifier)
           
 
Method Summary
 
Methods inherited from class org.nakedobjects.applib.events.InteractionEvent
advised, getAdvisorClass, getClassName, getClassNaturalName, getIdentifier, getMemberName, getMemberNaturalName, getMemberParameterNames, getMemberParameterNaturalNames, getReason, getSource, isVeto
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccessEvent

public AccessEvent(Object source,
                   Identifier identifier)


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.