jview
Interface SubComponentCaster

All Superinterfaces:
Remote
All Known Implementing Classes:
JObjectDisplay.SubComponentHandler, SubComponentNotify

public interface SubComponentCaster
extends Remote

A subcomponent caster supports remote query and notification if its key changed.


Method Summary
 void addSubComponentListener(SubComponentListener ear)
          Registers a new sub-component listener.
 void removeSubComponentListener(SubComponentListener ear)
          Deregisters a new sub-component listener.
 Class<?> respondTo()
          For clients to check if this listener supports the right keys.
 

Method Detail

addSubComponentListener

void addSubComponentListener(SubComponentListener ear)
                             throws RemoteException
Registers a new sub-component listener. On registering, the current view of the caster should be fired to the listener. Whenever the caster's component view changes, the listener is notified with its SubComponentListner#newKey method.

Throws:
RemoteException

removeSubComponentListener

void removeSubComponentListener(SubComponentListener ear)
                                throws RemoteException
Deregisters a new sub-component listener. Is also done on dead references.

Throws:
RemoteException

respondTo

Class<?> respondTo()
                   throws RemoteException
For clients to check if this listener supports the right keys.

Throws:
RemoteException