nodeNet
Interface NodeNetElement

All Known Implementing Classes:
Node, Channel

public abstract interface NodeNetElement
extends java.lang.Runnable

NodeNetElement is an interface implemented by any and all Nodes and/or channels. It defines the basic methods any element must have.

Copyright (c) 1998 Massachusetts Institute of Technology


Method Summary
 void configure()
           
 void destroy()
           
 java.lang.String getName()
           
 boolean isDestroyed()
           
 boolean isEnabled()
           
 boolean isInside(int x, int y)
           
 boolean isInside(java.awt.Point p)
           
 boolean isSelected()
           
 void notifyOfDestruction(NodeNetElement nne)
           
 void paint(java.awt.Graphics g)
           
 void setEnabled(boolean b)
           
 void setName(java.lang.String name)
           
 void setSelected(boolean b)
           
 void start()
           
 void stop()
           
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

paint

public void paint(java.awt.Graphics g)

setSelected

public void setSelected(boolean b)

isSelected

public boolean isSelected()

setEnabled

public void setEnabled(boolean b)

isEnabled

public boolean isEnabled()

isInside

public boolean isInside(java.awt.Point p)

isInside

public boolean isInside(int x,
                        int y)

configure

public void configure()

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

start

public void start()

stop

public void stop()

destroy

public void destroy()

isDestroyed

public boolean isDestroyed()

notifyOfDestruction

public void notifyOfDestruction(NodeNetElement nne)