edu.washington.cs.supple.customization
Class UiObjectProxyFactory

java.lang.Object
  extended byedu.washington.cs.supple.customization.UiObjectProxyFactory

public class UiObjectProxyFactory
extends java.lang.Object

The proxy factory allows to copy UIObjects. The copies can have their own location within the object hierarchy. However, their functionality and behavior is identical to the original UIObject.

Author:
kgajos and raphael

Constructor Summary
UiObjectProxyFactory()
           
 
Method Summary
static UiObject newUiObjectProxyInstance(UiObject object)
          Creates an instance of a proxy object that looks and feels like the type object passed in as the argument except that it handles its own parents and corresponding UiObject; in other words, it is a copy of the object that can function in a different place in the UI hierarchy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UiObjectProxyFactory

public UiObjectProxyFactory()
Method Detail

newUiObjectProxyInstance

public static UiObject newUiObjectProxyInstance(UiObject object)
Creates an instance of a proxy object that looks and feels like the type object passed in as the argument except that it handles its own parents and corresponding UiObject; in other words, it is a copy of the object that can function in a different place in the UI hierarchy

Parameters:
object - the object for which we are creating a proxy
Returns:
proxy object for the type