|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A set of methods that nodes in a GraphModel may implement. If the objects you use to represent nodes implement this interface, they will get the appropriate calls. NetNode implements these.
NetNode
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
|
boolean |
canConnectTo(GraphModel gm,
java.lang.Object otherNode,
java.lang.Object otherPort,
java.lang.Object myPort)
Allow foir application specific rules about which nodes can be connected to which other nodes. |
void |
dispose()
|
void |
initialize(java.util.Hashtable props)
|
void |
postConnect(GraphModel gm,
java.lang.Object anotherNode,
java.lang.Object myPort,
java.lang.Object otherPort)
Do some application specific action just after this node is connected to another node. |
void |
postDisconnect(GraphModel gm,
java.lang.Object anotherNode,
java.lang.Object myPort,
java.lang.Object otherPort)
Do some application specific action just after this node is disconnected from another node. |
void |
postPlacement(Editor ed)
Do some application specific actions after the node is placed in a drawing area. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
|
void |
setHighlight(boolean b)
|
Method Detail |
public void postConnect(GraphModel gm, java.lang.Object anotherNode, java.lang.Object myPort, java.lang.Object otherPort)
public void postDisconnect(GraphModel gm, java.lang.Object anotherNode, java.lang.Object myPort, java.lang.Object otherPort)
public boolean canConnectTo(GraphModel gm, java.lang.Object otherNode, java.lang.Object otherPort, java.lang.Object myPort)
public void postPlacement(Editor ed)
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
public void initialize(java.util.Hashtable props)
public void setHighlight(boolean b)
public void dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |