Methods Summary |
---|
public java.lang.String | getEncoding()
return (String) theEncoding.getSelectedValue();
|
public int | getMode()
if (asciiRadio.isSelected()) return FileDumper6.ASC;
else if (decimalRadio.isSelected()) return FileDumper6.DEC;
else if (hexRadio.isSelected()) return FileDumper6.HEX;
else if (shortRadio.isSelected()) return FileDumper6.SHORT;
else if (intRadio.isSelected()) return FileDumper6.INT;
else if (longRadio.isSelected()) return FileDumper6.LONG;
else if (floatRadio.isSelected()) return FileDumper6.FLOAT;
else if (doubleRadio.isSelected()) return FileDumper6.DOUBLE;
else return FileDumper6.ASC;
|
public java.lang.String | getPassword()
return password.getText();
|
public boolean | isBigEndian()
return bigEndian.isSelected();
|
public boolean | isDeflated()
return deflated.isSelected();
|
public boolean | isGZipped()
return gzipped.isSelected();
|
public boolean | isText()
if (this.getMode() == FileDumper6.ASC) return true;
return false;
|
public static void | main(java.lang.String[] args)
JFrame jf = new JFrame("Test Mode Panel");
ModePanel2 mp2 = new ModePanel2();
jf.getContentPane().add(mp2);
jf.pack();
jf.show();
System.out.println("done");
|