public class Switch extends NonRoutable
Constructor and Description |
---|
Switch(java.awt.Point p)
Constructor.
|
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, setName
contains, containsVaByIdentifier, getBoundary, getPoint, getPropertyBar, getPropertyDraw, getSelected, getSelectedNodes, selectAll, selectMultiple, selectNone, selectOne, selectRect, selectToggle, setBoundary, setPoint, setSelected, updatePosition
public void accept(ItemVisitor visitor)
Item
public java.awt.image.BufferedImage giveImage()
Node
public void acceptConnectingTypeVisitor(ConnectingTypeVisitor visitor)
Device
acceptConnectingTypeVisitor
in class Device
visitor
- the visitor.public void acceptConnectVisitor(ConnectVisitor visitor)
Item
acceptConnectVisitor
in class Item
visitor
- the connectvisitor.