org.jgroups.demos

Class DistributedTreeDemo

public class DistributedTreeDemo extends Frame implements WindowListener, DistributedTree.DistributedTreeListener, TreeSelectionListener, TableModelListener

Demo showing the DistributedTree class. It displays a panel with the tree structure in the upper half, and the properties of a chosen node on the bottom half. All updates are broadcast to all members.
Constructor Summary
DistributedTreeDemo(boolean create)
Method Summary
static voidmain(String[] args)
voidnodeAdded(String fqn, Serializable element)
voidnodeModified(String fqn, Serializable old_element, Serializable new_element)
voidnodeRemoved(String fqn)
voidsetVisible(boolean show)
voidtableChanged(TableModelEvent evt)
voidvalueChanged(TreeSelectionEvent evt)
voidwindowActivated(WindowEvent event)
voidwindowClosed(WindowEvent event)
voidwindowClosing(WindowEvent event)
voidwindowDeactivated(WindowEvent event)
voidwindowDeiconified(WindowEvent event)
voidwindowIconified(WindowEvent event)
voidwindowOpened(WindowEvent event)

Constructor Detail

DistributedTreeDemo

public DistributedTreeDemo(boolean create)

Method Detail

main

public static void main(String[] args)

nodeAdded

public void nodeAdded(String fqn, Serializable element)

nodeModified

public void nodeModified(String fqn, Serializable old_element, Serializable new_element)

nodeRemoved

public void nodeRemoved(String fqn)

setVisible

public void setVisible(boolean show)

tableChanged

public void tableChanged(TableModelEvent evt)

valueChanged

public void valueChanged(TreeSelectionEvent evt)

windowActivated

public void windowActivated(WindowEvent event)

windowClosed

public void windowClosed(WindowEvent event)

windowClosing

public void windowClosing(WindowEvent event)

windowDeactivated

public void windowDeactivated(WindowEvent event)

windowDeiconified

public void windowDeiconified(WindowEvent event)

windowIconified

public void windowIconified(WindowEvent event)

windowOpened

public void windowOpened(WindowEvent event)
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.