edu.washington.cs.supple.net.rmi
Interface RemoteRenderer

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
RemoteRendererImpl

public interface RemoteRenderer
extends java.rmi.Remote

RMI facade for a remote client Renderer

Author:
dbc1

Method Summary
 void close()
          Close the renderer.
 boolean dismissView(int objectId)
          Close a remote child view
 void renderView(int parentId, UiObject child)
          Open a new remote child view.
 void renderView(UiObject uiObject)
          Open a new remote view at the root.
 void typeChange(int uniqueId, java.lang.String propertyName, java.lang.Object value)
          Handle type property changes
 void uiChange(int uniqueId, java.lang.String propertyName, java.lang.Object value)
          Handle ui property changes
 

Method Detail

renderView

public void renderView(UiObject uiObject)
                throws java.rmi.RemoteException
Open a new remote view at the root.

Returns:
Throws:
java.rmi.RemoteException

renderView

public void renderView(int parentId,
                       UiObject child)
                throws java.rmi.RemoteException
Open a new remote child view.

Parameters:
child - the serialized form of the uiObject to show
Returns:
Throws:
java.rmi.RemoteException

dismissView

public boolean dismissView(int objectId)
                    throws java.rmi.RemoteException
Close a remote child view

Parameters:
objectId - the uiObject associated with the remote view
Throws:
java.rmi.RemoteException

uiChange

public void uiChange(int uniqueId,
                     java.lang.String propertyName,
                     java.lang.Object value)
              throws java.rmi.RemoteException
Handle ui property changes

Parameters:
uniqueId -
propertyName -
value -
Throws:
java.rmi.RemoteException

typeChange

public void typeChange(int uniqueId,
                       java.lang.String propertyName,
                       java.lang.Object value)
                throws java.rmi.RemoteException
Handle type property changes

Parameters:
uniqueId -
propertyName -
value -
Throws:
java.rmi.RemoteException

close

public void close()
           throws java.rmi.RemoteException
Close the renderer.

Throws:
java.rmi.RemoteException