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
-
actX
-
-
actY
-
-
dX
-
-
dY
-
-
gridX
-
-
gridY
-
-
isHighlighted
-
-
level
-
-
mgDomain
-
-
objectID
-
-
visited
-
-
ManageObject()
- default constructor for ManageObject
-
confirmDelete()
-
-
connectionCoord(Point)
-
-
draw(Graphics, int, int)
- This method should be overridden by subclasses
-
erase(Graphics, int, int)
-
-
execute(Frame)
-
-
getObjectID()
-
-
getX()
-
-
getY()
-
-
hasFocus(int, int)
-
-
highlight(Graphics, int, int, boolean)
-
-
identString()
- create unique identification string, e.g.
-
initImage(Component, MediaTracker)
-
-
isHighlight()
-
-
objectInfo()
-
-
read(PersistentInputStream)
-
-
setCoordinates(int, int)
-
-
toString()
-
-
userAction(Frame, Graphics, int, int)
-
-
write(PersistentOutputStream)
-
level
protected int level
visited
protected transient boolean visited
objectID
protected String objectID
mgDomain
protected ManageDomain mgDomain
actX
protected int actX
actY
protected int actY
dX
protected transient int dX
dY
protected transient int dY
gridX
protected transient int gridX
gridY
protected transient int gridY
isHighlighted
protected transient boolean isHighlighted
ManageObject
public ManageObject()
- default constructor for ManageObject
initImage
public void initImage(Component target,
MediaTracker mt)
hasFocus
public boolean hasFocus(int x,
int y)
- See Also:
- DragDropObj
setCoordinates
public void setCoordinates(int x,
int y)
- See Also:
- DragDropObj
getX
public int getX()
- See Also:
- DragDropObj
getY
public int getY()
- See Also:
- DragDropObj
connectionCoord
public Point connectionCoord(Point destination)
- See Also:
- DragDropObj
draw
public void draw(Graphics g,
int x_offset,
int y_offset)
- This method should be overridden by subclasses
- See Also:
- DragDropObj
erase
public void erase(Graphics g,
int x_offset,
int y_offset)
- See Also:
- DragDropObj
highlight
public void highlight(Graphics g,
int x_offset,
int y_offset,
boolean highlight)
- See Also:
- DragDropObj
isHighlight
public boolean isHighlight()
- See Also:
- DragDropObj
execute
public void execute(Frame parent)
- See Also:
- DragDropObj
confirmDelete
public boolean confirmDelete()
- See Also:
- DragDropObj
userAction
public void userAction(Frame parent,
Graphics g,
int x_offset,
int y_offset)
- See Also:
- DragDropObj
getObjectID
public String getObjectID()
- See Also:
- DragDropObj
identString
public String identString()
- create unique identification string, e.g. for hyperlinks
toString
public String toString()
- Overrides:
- toString in class Object
write
public void write(PersistentOutputStream ps)
read
public void read(PersistentInputStream ps) throws IOException
objectInfo
protected String objectInfo()
All Packages Class Hierarchy This Package Previous Next Index