net.clackrouter.router.core
Class RouterConfig
java.lang.Object
net.clackrouter.router.core.RouterConfig
public class RouterConfig
- extends java.lang.Object
Configures a route based on the context of a saved xml file that details what components
are included in the router, how they are configured, and where they are located on the
screen.
Nested Class Summary |
static class |
RouterConfig.ConnectionInfo
Simple struct to hold information about an attempt to connect to the VNS server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
componentCellMap
protected static java.util.Hashtable componentCellMap
clackComponentMap
protected static java.util.Hashtable clackComponentMap
RouterConfig
public RouterConfig()
parseRouterConfigXML
public static void parseRouterConfigXML(Router router,
java.io.InputStream is)
throws java.lang.Exception
- Throws:
java.lang.Exception
configRouterFromElement
public static void configRouterFromElement(Router router,
org.w3c.dom.Element router_node)
throws java.lang.Exception
- Throws:
java.lang.Exception
default_configure
public static void default_configure(Router router)
addAllInterfaces
public static void addAllInterfaces(Router router)
getRectangleFromString
public static java.awt.geom.Rectangle2D getRectangleFromString(java.lang.String s)