javax.rad.genui
Class UIFactoryResource<UI extends IResource>
java.lang.Object
javax.rad.genui.AbstractUIFactoryResource<UI>
javax.rad.genui.UIFactoryResource<UI>
- Type Parameters:
UI - the resource type
- All Implemented Interfaces:
- IResource
- Direct Known Subclasses:
- UIColor, UIFont, UIImage
public 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 |
Object |
getResource()
Gets the original resource corresponding with this wrapper object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UIFactoryResource
public UIFactoryResource(UI pResource)
- Creates a new instance of
UIFactoryResource.
- Parameters:
pResource - the resource
getResource
public final Object getResource()
- Gets the original resource corresponding with this wrapper object.
- Specified by:
getResource in interface IResource
- Returns:
- the original resource
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.