|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.event.WindowAdapter visad.data.amanda.NuView
public class NuView
run 'java NuView in_file' to display data.
try 'java NuView 100events.r'
Constructor Summary | |
---|---|
NuView(String[] args)
|
Method Summary | |
---|---|
int |
checkKeyword(String mainName,
int thisArg,
String[] args)
Handle subclass-specific command line options and their arguments. |
int |
checkOption(String mainName,
char ch,
String arg)
Handle subclass-specific command line options and their arguments. |
boolean |
finalizeArgs(String mainName)
Validate arguments after argument parsing has finished. |
void |
initializeArgs()
Method used to initialize any instance variables which may be changed by a cmdline option. |
String |
keywordUsage()
A short string included in the usage message to indicate valid keywords. |
static void |
main(String[] args)
|
String |
optionUsage()
A short string included in the usage message to indicate valid options. |
void |
windowClosing(WindowEvent evt)
|
Methods inherited from class java.awt.event.WindowAdapter |
---|
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NuView(String[] args) throws RemoteException, VisADException
RemoteException
VisADException
Method Detail |
---|
public int checkKeyword(String mainName, int thisArg, String[] args)
CmdlineConsumer
checkKeyword
in interface CmdlineConsumer
mainName
- The name of the main class (useful for
error messages.)thisArg
- The index of the current keyword.args
- The full list of arguments.
public int checkOption(String mainName, char ch, String arg)
CmdlineConsumer
checkOption
in interface CmdlineConsumer
mainName
- The name of the main class (useful for
error messages.)ch
- Option character. If -a is specified
on the command line, 'a' would be passed to
this method.)arg
- The argument associated with this option.
public boolean finalizeArgs(String mainName)
CmdlineConsumer
finalizeArgs
in interface CmdlineConsumer
mainName
- The name of the main class (useful for
error messages.)
public void initializeArgs()
CmdlineConsumer
CmdlineParser
will be run
before any instance variables for the extending
class are initialized.
initializeArgs
in interface CmdlineConsumer
public String keywordUsage()
CmdlineConsumer
keywordUsage
in interface CmdlineConsumer
public String optionUsage()
CmdlineConsumer
optionUsage
in interface CmdlineConsumer
public void windowClosing(WindowEvent evt)
windowClosing
in interface WindowListener
windowClosing
in class WindowAdapter
public static void main(String[] args) throws RemoteException, VisADException
RemoteException
VisADException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |