org.jgroups.demos

Class DrawRepl

Implemented Interfaces:
ActionListener, MouseMotionListener, Runnable, WindowListener

public class DrawRepl
extends java.lang.Object
implements MouseMotionListener, WindowListener, ActionListener, Runnable

NOT SUPPORTED ! Replicates the whiteboard demo by intercepting central AWT event queue and mcasting events to all members. Not very useful in all cases, e.g. when the "Leave" button is pressed, and this event is broadcast to all members, all members will leave ! This demo would clearly benefit from more work !

Constructor Summary

DrawRepl()

Method Summary

void
actionPerformed(ActionEvent e)
void
clearPanel()
Component
findComponent(Container parent, String comp_name)
void
go()
static void
main(String[] args)
void
mouseDragged(MouseEvent e)
void
mouseMoved(MouseEvent e)
void
processEvent(String comp_name, AWTEvent evt)
void
run()
void
windowActivated(WindowEvent e)
void
windowClosed(WindowEvent e)
void
windowClosing(WindowEvent e)
void
windowDeactivated(WindowEvent e)
void
windowDeiconified(WindowEvent e)
void
windowIconified(WindowEvent e)
void
windowOpened(WindowEvent e)

Constructor Details

DrawRepl

public DrawRepl()

Method Details

actionPerformed

public void actionPerformed(ActionEvent e)


clearPanel

public void clearPanel()


findComponent

public Component findComponent(Container parent,
                               String comp_name)


go

public void go()


main

public static void main(String[] args)


mouseDragged

public void mouseDragged(MouseEvent e)


mouseMoved

public void mouseMoved(MouseEvent e)


processEvent

public void processEvent(String comp_name,
                         AWTEvent evt)


run

public void run()


windowActivated

public void windowActivated(WindowEvent e)


windowClosed

public void windowClosed(WindowEvent e)


windowClosing

public void windowClosing(WindowEvent e)


windowDeactivated

public void windowDeactivated(WindowEvent e)


windowDeiconified

public void windowDeiconified(WindowEvent e)


windowIconified

public void windowIconified(WindowEvent e)


windowOpened

public void windowOpened(WindowEvent e)


Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.