uci.gef.demo
Class NodePrinter
java.lang.Object
|
+--uci.gef.NetPrimitive
|
+--uci.gef.NetNode
|
+--uci.gef.demo.NodePrinter
- public class NodePrinter
- extends NetNode
- implements Serializable
An example subclass of NetNode for use in the Example
application. This class represents a printer that can be plugged
in and connected to a computer.
- See Also:
EquipmentApplet, Serialized Form
| Methods inherited from class uci.gef.NetNode |
addPort,
canConnectTo,
dispose,
getAttributes,
getPort,
getPorts,
postConnect,
postDisconnect,
postPlacement,
presentationFor,
setPorts |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
_powerPort
protected PortPower _powerPort
_dataPort
protected PortData _dataPort
NodePrinter
public NodePrinter()
initialize
public void initialize(Hashtable args)
- Initialize a new NodePrinter.
- Overrides:
- initialize in class NetNode
makePresentation
public FigNode makePresentation(Layer lay)
- Overrides:
- makePresentation in class NetNode