|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tigris.gef.graph.presentation.NetPrimitive
org.tigris.gef.graph.presentation.NetNode
org.tigris.gef.demo.NodePrinter
public class NodePrinter
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.
EquipmentApplet,
Serialized Form| Field Summary | |
|---|---|
protected PortData |
_dataPort
|
protected PortPower |
_powerPort
|
| Fields inherited from class org.tigris.gef.graph.presentation.NetPrimitive |
|---|
_changeSup, _highlight |
| Constructor Summary | |
|---|---|
NodePrinter()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getId()
|
void |
initialize(java.util.Hashtable args)
Initialize a new NodePrinter. |
FigNode |
makePresentation(Layer lay)
Construct and return a new FigNode to present this NetNode in the given Layer. |
| Methods inherited from class org.tigris.gef.graph.presentation.NetNode |
|---|
addPort, canConnectTo, deleteFromModel, getAttributes, getPort, getPorts, postConnect, postDisconnect, postPlacement, presentationFor, setPorts |
| Methods inherited from class org.tigris.gef.graph.presentation.NetPrimitive |
|---|
addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getHighlight, removePropertyChangeListener, setHighlight |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.tigris.gef.graph.GraphNodeHooks |
|---|
addPropertyChangeListener, removePropertyChangeListener, setHighlight |
| Field Detail |
|---|
protected PortPower _powerPort
protected PortData _dataPort
| Constructor Detail |
|---|
public NodePrinter()
| Method Detail |
|---|
public java.lang.String getId()
getId in class NetPrimitivepublic void initialize(java.util.Hashtable args)
initialize in interface GraphNodeHooksinitialize in class NetNodepublic FigNode makePresentation(Layer lay)
NetNode
makePresentation in class NetNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||