All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vnet.display.ConsoleNet

java.lang.Object
   |
   +----vnet.display.ConsoleNet

public class ConsoleNet
extends Object
implements Observer
Class to track down the events on a net layout By default, all these events are printed in the standard output

Version:
0.1, august-1997
Author:
LuisM Pena

Constructor Index

 o ConsoleNet(NetLayout)

Method Index

 o console(String)
Output of the consoleNet.
 o destroy()
Destructor: clean up all its observables
 o update(Observable, Object)
Observer method

Constructors

 o ConsoleNet
 public ConsoleNet(NetLayout net)
Parameters:
net - the NetLayout to manage

Methods

 o destroy
 public synchronized void destroy()
Destructor: clean up all its observables

 o update
 public synchronized void update(Observable obs,
                                 Object o)
Observer method

 o console
 protected void console(String show)
Output of the consoleNet. this method must be override if the output has be redirected

Parameters:
show - the message to show

All Packages  Class Hierarchy  This Package  Previous  Next  Index