org.jgroups.demos.wb
Class Whiteboard
public
class
Whiteboard
extends Applet
implements ActionListener, MessageListener, MembershipListener, ComponentListener, FocusListener
Shared whiteboard: members are represented by rectangles that contain their names and the OS/arch of
the machine they are working on. The boxes can be moved by anyone and by clicking on them, messages can
be sent to specific or all members. Whiteboard is both an application and an applet.
Author: Bela Ban
public static final String groupname
public Whiteboard()
public Whiteboard(String properties)
public void actionPerformed(ActionEvent e)
public void addNode(String lbl,
Address addr, int xloc, int yloc)
public void block()
public void componentHidden(ComponentEvent e)
public void componentMoved(ComponentEvent e)
public void componentResized(ComponentEvent e)
public void componentShown(ComponentEvent e)
public void destroy()
public void displayMessage(String sender, String msg)
public void focusGained(FocusEvent e)
public void focusLost(FocusEvent e)
public byte[] getState()
public void init()
public static void main(String[] args)
public void moveNode(
Node n)
public void removeNode(Object addr)
public void repaint()
public void setState(byte[] new_state)
public void viewAccepted(
View v)
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.