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

Class sfclasses.ManageObject

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

public class ManageObject
extends Object
implements DragDropObj, Persistent
ManageObject is the superclass of all objects belonging to the topology of the firewall configuration, e.g. firewalls, hosts, networks, ... For the graphical representation of the objects, ManageObject implements DragDropObj, thus they can be displayed using DragDrop.
See Also:
DragDrop

Variable Index

 o actX
 o actY
 o dX
 o dY
 o gridX
 o gridY
 o isHighlighted
 o level
 o mgDomain
 o objectID
 o visited

Constructor Index

 o ManageObject()
default constructor for ManageObject

Method Index

 o confirmDelete()
 o connectionCoord(Point)
 o draw(Graphics, int, int)
This method should be overridden by subclasses
 o erase(Graphics, int, int)
 o execute(Frame)
 o getObjectID()
 o getX()
 o getY()
 o hasFocus(int, int)
 o highlight(Graphics, int, int, boolean)
 o identString()
create unique identification string, e.g.
 o initImage(Component, MediaTracker)
 o isHighlight()
 o objectInfo()
 o read(PersistentInputStream)
 o setCoordinates(int, int)
 o toString()
 o userAction(Frame, Graphics, int, int)
 o write(PersistentOutputStream)

Variables

 o level
  protected int level
 o visited
  protected transient boolean visited
 o objectID
  protected String objectID
 o mgDomain
  protected ManageDomain mgDomain
 o actX
  protected int actX
 o actY
  protected int actY
 o dX
  protected transient int dX
 o dY
  protected transient int dY
 o gridX
  protected transient int gridX
 o gridY
  protected transient int gridY
 o isHighlighted
  protected transient boolean isHighlighted

Constructors

 o ManageObject
  public ManageObject()
default constructor for ManageObject

Methods

 o initImage
  public void initImage(Component target,
                        MediaTracker mt)
 o hasFocus
  public boolean hasFocus(int x,
                          int y)
See Also:
DragDropObj
 o setCoordinates
  public void setCoordinates(int x,
                             int y)
See Also:
DragDropObj
 o getX
  public int getX()
See Also:
DragDropObj
 o getY
  public int getY()
See Also:
DragDropObj
 o connectionCoord
  public Point connectionCoord(Point destination)
See Also:
DragDropObj
 o draw
  public void draw(Graphics g,
                   int x_offset,
                   int y_offset)
This method should be overridden by subclasses
See Also:
DragDropObj
 o erase
  public void erase(Graphics g,
                    int x_offset,
                    int y_offset)
See Also:
DragDropObj
 o highlight
  public void highlight(Graphics g,
                        int x_offset,
                        int y_offset,
                        boolean highlight)
See Also:
DragDropObj
 o isHighlight
  public boolean isHighlight()
See Also:
DragDropObj
 o execute
  public void execute(Frame parent)
See Also:
DragDropObj
 o confirmDelete
  public boolean confirmDelete()
See Also:
DragDropObj
 o userAction
  public void userAction(Frame parent,
                         Graphics g,
                         int x_offset,
                         int y_offset)
See Also:
DragDropObj
 o getObjectID
  public String getObjectID()
See Also:
DragDropObj
 o identString
  public String identString()
create unique identification string, e.g. for hyperlinks
 o toString
  public String toString()
Overrides:
toString in class Object
 o write
  public void write(PersistentOutputStream ps)
 o read
  public void read(PersistentInputStream ps) throws IOException
 o objectInfo
  protected String objectInfo()

All Packages  Class Hierarchy  This Package  Previous  Next  Index