Class sfclasses.Net
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sfclasses.Net

java.lang.Object
   |
   +----sfclasses.ManageObject
           |
           +----sfclasses.IconObject
                   |
                   +----sfclasses.Net

public class Net
extends IconObject
This class describes a network element, this can contain many real nets and hosts

Variable Index

 o NetAddresses

Constructor Index

 o Net()
Initialize object and icon

Method Index

 o execute(Frame)
Show the network properties dialog.
 o read(PersistentInputStream)
Read object data from a persistent input stream
 o toString()
 o write(PersistentOutputStream)
Write object data to a persistent output stream

Variables

 o NetAddresses
  protected AddrList NetAddresses

Constructors

 o Net
  public Net()
Initialize object and icon

Methods

 o toString
  public String toString()
Overrides:
toString in class ManageObject
 o execute
  public void execute(Frame parent)
Show the network properties dialog. The drag and drop panel calls this method when the user double clicks on the network icon in edit mode.
Parameters:
parent - Parent frame (drag and drop panel)
Overrides:
execute in class ManageObject
 o write
  public void write(PersistentOutputStream ps)
Write object data to a persistent output stream
Parameters:
ps - Stream
Overrides:
write in class ManageObject
See Also:
PersistentOutputStream
 o read
  public void read(PersistentInputStream ps) throws IOException
Read object data from a persistent input stream
Parameters:
ps - Stream
Overrides:
read in class ManageObject
See Also:
PersistentInputStream

All Packages  Class Hierarchy  This Package  Previous  Next  Index