public class Host extends Routable
| Constructor and Description |
|---|
Host(java.awt.Point p)
Constructor.
|
Host(java.awt.Point p,
VariableAssignment name)
Constructor with name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ItemVisitor visitor)
accept-method for nodevisitor (VisitorPattern).
|
void |
acceptConnectingTypeVisitor(ConnectingTypeVisitor visitor)
Visitor for creating the right connection.
|
void |
acceptConnectVisitor(ConnectVisitor visitor)
accept-method for connectvisitor (VisitorPattern).
|
java.awt.image.BufferedImage |
giveImage()
the Image for the symbol.
|
draw, getName, getObserver, markAsSelected, notifyObserver, registerObserver, removeObserver, setNamecontains, containsVaByIdentifier, getBoundary, getPoint, getPropertyBar, getPropertyDraw, getSelected, getSelectedNodes, selectAll, selectMultiple, selectNone, selectOne, selectRect, selectToggle, setBoundary, setPoint, setSelected, updatePositionpublic Host(java.awt.Point p)
p - the point.public Host(java.awt.Point p,
VariableAssignment name)
p - the point.name - the name of the host.public void accept(ItemVisitor visitor)
Itempublic java.awt.image.BufferedImage giveImage()
Nodepublic void acceptConnectingTypeVisitor(ConnectingTypeVisitor visitor)
DeviceacceptConnectingTypeVisitor in class Devicevisitor - the visitor.public void acceptConnectVisitor(ConnectVisitor visitor)
ItemacceptConnectVisitor in class Itemvisitor - the connectvisitor.