public class Adapter
extends java.lang.Object
implements java.util.Observer
| Constructor and Description |
|---|
Adapter() |
| Modifier and Type | Method and Description |
|---|---|
java.util.HashMap<WiredBox,ViewerBox> |
getBoxToBoxViewerMap() |
ConnectionViewer |
getViewer() |
ViewerBox |
getViewerBox(WiredBox box) |
static void |
main(java.lang.String[] args) |
static Adapter |
makeConnectionAdapter() |
static Adapter |
makeNetworkAdapter(BasicNetwork<? extends WiredBox> network) |
void |
setNetwork(Network<WiredBox> network) |
void |
update(java.util.Observable o,
java.lang.Object ignore) |
public static Adapter makeConnectionAdapter()
public static Adapter makeNetworkAdapter(BasicNetwork<? extends WiredBox> network)
public ConnectionViewer getViewer()
public void update(java.util.Observable o,
java.lang.Object ignore)
update in interface java.util.Observerpublic static void main(java.lang.String[] args)