|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.mlfc.encryption.KeyDialog
Dialogue for choosing an encryption key.
| Field Summary | |
protected java.awt.event.ActionListener |
actionListener
the dialogue's action listener |
protected static java.lang.String |
CANCEL_COMMAND
the name of the cancel button's command |
protected ComponentFactory |
cfactory
the component factory |
protected EncryptionKey |
encryptionKey
the encryption key |
protected XButton |
fileButton
the file section button |
protected static java.lang.String |
FILEBUTTON_COMMAND
the name of the file selection command |
protected javax.swing.JFrame |
frame
the frame of the dialogue |
protected XInput |
keyAliasInput
the key alias field |
protected XInput |
keyPassInput
the key password field |
protected java.net.URL |
keystoreURL
the keystore URL |
protected static java.io.File |
lastFile
the last file opened |
protected java.awt.Container |
mainPanel
the main panel of the dialogue |
protected static java.lang.String |
OK_COMMAND
the name of the OK button's command |
protected XInput |
storePassInput
the keystore password field |
protected XInput |
URLInput
the keystore URL field |
| Constructor Summary | |
KeyDialog()
|
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
Button handler. |
void |
disposeDialog()
Destroy the dialogue. |
XCaption |
getCaption(java.lang.String s)
Create a caption component. |
protected ComponentFactory |
getComponentFactory()
Get the component factory being used by this dialogue. |
EncryptionKey |
getEncryptionKey()
Get the key to be used for encryption. |
void |
setActionListener(java.awt.event.ActionListener l)
Set the action listener for the dialogue. |
protected void |
setComponentFactory(ComponentFactory f)
Set the component factory to be used by this dialogue. |
void |
setKey(EncryptionKey key)
Set the encryption key. |
EncryptionKey |
showDialog()
Display the dialogue. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected javax.swing.JFrame frame
protected java.awt.Container mainPanel
protected XButton fileButton
protected XInput keyPassInput
protected XInput keyAliasInput
protected XInput storePassInput
protected XInput URLInput
protected java.net.URL keystoreURL
protected ComponentFactory cfactory
protected EncryptionKey encryptionKey
protected java.awt.event.ActionListener actionListener
protected static final java.lang.String FILEBUTTON_COMMAND
protected static final java.lang.String OK_COMMAND
protected static final java.lang.String CANCEL_COMMAND
protected static java.io.File lastFile
| Constructor Detail |
public KeyDialog()
| Method Detail |
public EncryptionKey showDialog()
public void setKey(EncryptionKey key)
key - the key to be usedpublic void setActionListener(java.awt.event.ActionListener l)
l - the action listener that will handle this dialogue's eventspublic void disposeDialog()
protected ComponentFactory getComponentFactory()
protected void setComponentFactory(ComponentFactory f)
f - the component factory to usepublic XCaption getCaption(java.lang.String s)
s - the caption textpublic EncryptionKey getEncryptionKey()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenere - the event to be processed
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||