javax.rad.genui
Class AbstractUIFactoryResource<UI>

java.lang.Object
  extended by javax.rad.genui.AbstractUIFactoryResource<UI>
Type Parameters:
UI - the resource type
Direct Known Subclasses:
UICellEditor, UIFactoryResource

public abstract class AbstractUIFactoryResource<UI>
extends java.lang.Object

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


Constructor Summary
protected AbstractUIFactoryResource(UI pResource)
          Creates a new instance of AbstractUIFactoryResource.
 
Method Summary
protected  java.lang.Object createCacheKey()
          Creates the cache key.
 UI getUIResource()
          Gets the UI resource corresponding with this wrapper object.
protected  void setUIResource(UI pResource)
          Gets the UI resource corresponding with this wrapper object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractUIFactoryResource

protected AbstractUIFactoryResource(UI pResource)
Creates a new instance of AbstractUIFactoryResource.

Parameters:
pResource - the resource
Method Detail

getUIResource

public final UI getUIResource()
Gets the UI resource corresponding with this wrapper object.

Returns:
the original resource

setUIResource

protected final void setUIResource(UI pResource)
Gets the UI resource corresponding with this wrapper object.

Parameters:
pResource - the original resource

createCacheKey

protected java.lang.Object createCacheKey()
Creates the cache key.

Returns:
the cache key


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.