JXTA

net.jxta.instantp2p.desktop.application
Class RendezVousDisplay

java.lang.Object
  |
  +--net.jxta.instantp2p.desktop.TaskObject
        |
        +--net.jxta.instantp2p.desktop.application.RendezVousDisplay

public class RendezVousDisplay
extends TaskObject

A class that displays the rendezvous status of this peer. We expect it to be created anew every time the rendezvous status is shown.


Fields inherited from class net.jxta.instantp2p.desktop.TaskObject
toolbar
 
Constructor Summary
RendezVousDisplay(ApplicationToolbar bar)
          Create a new RendezVousDisplay
 
Method Summary
 java.awt.Panel showData(net.jxta.peergroup.PeerGroup group, net.jxta.protocol.PeerGroupAdvertisement peer)
          The TaskObject should rerender itself showing information concerning the current peer and peer group.
 
Methods inherited from class net.jxta.instantp2p.desktop.TaskObject
actionPerformed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RendezVousDisplay

public RendezVousDisplay(ApplicationToolbar bar)
Create a new RendezVousDisplay
Parameters:
bar - the ApplicationToolbar to which to add the button
Method Detail

showData

public java.awt.Panel showData(net.jxta.peergroup.PeerGroup group,
                               net.jxta.protocol.PeerGroupAdvertisement peer)
The TaskObject should rerender itself showing information concerning the current peer and peer group. The information should be displayed in the returned Panel, which will be displayed in an OptionDialog
Overrides:
showData in class TaskObject
Parameters:
group - current peer group
peer - current peer
Returns:
a panel that displays the requested information

JXTA