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

java.lang.Object
  extended by javax.rad.genui.UIResource<UI>
Type Parameters:
UI - the corresponding UI Resource.
All Implemented Interfaces:
IResource
Direct Known Subclasses:
UICellFormat, UIComponent, UICursor, UIDimension, UIFactoryResource, UIInsets, UILayout, UIPoint, UIRectangle

public abstract class UIResource<UI extends IResource>
extends Object
implements IResource

Platform and technology independent wrapper for IFactory Resource.


Field Summary
protected  UI uiResource
          The IFactory Resource.
 
Constructor Summary
protected UIResource(UI pUIResource)
          Constructs a new UIResource.
 
Method Summary
 boolean equals(Object pObject)
          
 Object getResource()
          Gets the original resource corresponding with this wrapper object.
 UI getUIResource()
          Gets the UI resource corresponding with this wrapper object.
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

uiResource

protected UI extends IResource uiResource
The IFactory Resource.

Constructor Detail

UIResource

protected UIResource(UI pUIResource)
Constructs a new UIResource.

Parameters:
pUIResource - the IFactory Resource.
Method Detail

getResource

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

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

equals

public boolean equals(Object pObject)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

toString

public String toString()

Overrides:
toString in class Object

getUIResource

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

Returns:
the original resource


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.