| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rad.genui.UIResource<UI>
UI - the corresponding UI Resource.public abstract class UIResource<UI extends IResource>
Platform and technology independent wrapper for IFactory Resource.
| Field Summary | |
|---|---|
| protected  UI | uiResourceThe IFactory Resource. | 
| Constructor Summary | |
|---|---|
| protected  | UIResource(UI pUIResource)Constructs a new UIResource. | 
| Method Summary | |
|---|---|
|  boolean | equals(java.lang.Object pObject) | 
|  ResourceHandler | eventResourceChanged()Gets the resource changed event handler. | 
|  ResourceHandler | eventResourceChanged(java.lang.String pName)Gets the resource handler for a single parameter/object name. | 
| protected  void | fireResourceChanged(ResourceEvent.EventType pType,
                    java.lang.String pName,
                    java.lang.Object pOld,
                    java.lang.Object pNew)Notifies all listeners about a change. | 
|  java.lang.Object | getObject(java.lang.String pObjectName)Get the specific Object. | 
|  java.util.Collection<java.lang.String> | getObjectNames()Gets a Collectionof all object names that are currently
 stored as property on this resource. | 
|  java.lang.Object | getResource()Gets the original resource corresponding with this wrapper object. | 
|  UI | getUIResource()Gets the UI resource corresponding with this wrapper object. | 
|  int | hashCode() | 
| protected  boolean | hasResourceHandler()Gets whether the resource has at least one ResourceHandler. | 
|  java.lang.Object | putObject(java.lang.String pObjectName,
          java.lang.Object pObject)Puts the specific property. | 
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
protected UI extends IResource uiResource
| Constructor Detail | 
|---|
protected UIResource(UI pUIResource)
UIResource.
pUIResource - the IFactory Resource.| Method Detail | 
|---|
public java.lang.Object getResource()
getResource in interface IResourcepublic boolean equals(java.lang.Object pObject)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic UI getUIResource()
public java.lang.Object getObject(java.lang.String pObjectName)
pObjectName - the property name.
getObjectNames(), 
putObject(String, Object)public java.util.Collection<java.lang.String> getObjectNames()
Collection of all object names that are currently
 stored as property on this resource. Returns an empty Collection
 if there are no objects put. The returned Collection is a copy
 of the original collection of names.
Collection of all object names. If there are no
         objects put, returns an empty Collection.getObject(String), 
putObject(String, Object)
public java.lang.Object putObject(java.lang.String pObjectName,
                                  java.lang.Object pObject)
pObjectName - the property name.pObject - the property values.
getObject(String), 
getObjectNames()
protected void fireResourceChanged(ResourceEvent.EventType pType,
                                   java.lang.String pName,
                                   java.lang.Object pOld,
                                   java.lang.Object pNew)
pType - the event typepName - the parameter/object namepOld - the old valuepNew - the new valueprotected boolean hasResourceHandler()
ResourceHandler.
true if at least one resource handler is configured, false otherwisepublic ResourceHandler eventResourceChanged()
public ResourceHandler eventResourceChanged(java.lang.String pName)
pName - the parameter/object name
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||