javax.rad.genui
Class UIFactoryResource<UI extends IResource>

java.lang.Object
  extended by javax.rad.genui.AbstractUIFactoryResource<UI>
      extended by javax.rad.genui.UIFactoryResource<UI>
Type Parameters:
UI - the resource type
All Implemented Interfaces:
IResource
Direct Known Subclasses:
UIColor, UIFont, UIImage

public abstract class UIFactoryResource<UI extends IResource>
extends AbstractUIFactoryResource<UI>
implements IResource

The UIFactoryResource holds the resource per factory. It creates a resource copy if the resource was initialized as static resource.


Constructor Summary
UIFactoryResource(UI pResource)
          Creates a new instance of UIFactoryResource.
 
Method Summary
abstract  boolean equals(java.lang.Object pObject)
          
 java.lang.Object getResource()
          Gets the original resource corresponding with this wrapper object.
abstract  int hashCode()
          
abstract  java.lang.String toString()
          
 
Methods inherited from class javax.rad.genui.AbstractUIFactoryResource
createCacheKey, getUIResource, setUIResource
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UIFactoryResource

public UIFactoryResource(UI pResource)
Creates a new instance of UIFactoryResource.

Parameters:
pResource - the resource
Method Detail

getResource

public final java.lang.Object getResource()
Gets the original resource corresponding with this wrapper object.

Specified by:
getResource in interface IResource
Returns:
the original resource

equals

public abstract boolean equals(java.lang.Object pObject)

Overrides:
equals in class java.lang.Object

hashCode

public abstract int hashCode()

Overrides:
hashCode in class java.lang.Object

toString

public abstract java.lang.String toString()

Overrides:
toString in class java.lang.Object


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.