javax.rad.genui.event
Class ResourceEvent

java.lang.Object
  extended by javax.rad.genui.event.ResourceEvent

public class ResourceEvent
extends java.lang.Object

The ResourceEvent contains information about changes in the UIResource.


Nested Class Summary
static class ResourceEvent.EventType
          the event type.
 
Constructor Summary
ResourceEvent(UIResource pResource, ResourceEvent.EventType pType, java.lang.String pName, java.lang.Object pOld, java.lang.Object pNew)
          Creates a new instance of ResourceEvent.
 
Method Summary
 ResourceEvent.EventType getEventType()
          Gets the event type.
 java.lang.String getName()
          Gets the parameter/object name.
 java.lang.Object getNewValue()
          Gets the new value.
 java.lang.Object getOldValue()
          Gets the old value.
 UIResource getResource()
          Gets the UI resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceEvent

public ResourceEvent(UIResource pResource,
                     ResourceEvent.EventType pType,
                     java.lang.String pName,
                     java.lang.Object pOld,
                     java.lang.Object pNew)
Creates a new instance of ResourceEvent.

Parameters:
pResource - the event resource
pType - the event type
pName - the attribute name
pOld - the old value
pNew - the new value
Method Detail

getResource

public UIResource getResource()
Gets the UI resource.

Returns:
the resource

getEventType

public ResourceEvent.EventType getEventType()
Gets the event type.

Returns:
the type

getName

public java.lang.String getName()
Gets the parameter/object name.

Returns:
the name

getOldValue

public java.lang.Object getOldValue()
Gets the old value.

Returns:
the old value

getNewValue

public java.lang.Object getNewValue()
Gets the new value.

Returns:
the new value


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.