ppe.gui.networkspec
Class NetworkSpecGui
java.lang.Object
ppe.gui.networkspec.NetworkSpecGui
public class NetworkSpecGui
- extends java.lang.Object
Gathers info and provides logic behind the NetworkSpecFrame.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
spec
public NetworkSpec spec
specOmpi
public OmpiSpec specOmpi
networkSpecFrame
public NetworkSpecGuiFrame networkSpecFrame
NetworkSpecGui
public NetworkSpecGui(Ec2Wrangler ec2w,
NetworkSpec spec,
OmpiSpec specOmpi)
throws java.io.FileNotFoundException,
java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.IOException
fillSpec
public boolean fillSpec()
fillSpec()
launches the network spec gui in a
separate thread. It then sleeps until params have been
entered.
- Returns:
checkSpec
public java.lang.String checkSpec()
- Checks whether the network has been fully specified.
- Returns:
- null if the network is fully specified, or
a message indicating what's missing.
choicesToNetworkSpec
public NetworkSpec choicesToNetworkSpec()
choicesToOmpiSpec
public OmpiSpec choicesToOmpiSpec()
getChoice
public Choice getChoice(java.lang.String choiceType,
java.lang.String label)
updateRe
public void updateRe(java.lang.String choiceType,
java.lang.String label)