|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectds.ov2.gui.Config_actions
public class Config_actions
Actions for the config window.
Constructor Summary | |
---|---|
Config_actions()
Default empty constructor. |
Method Summary | |
---|---|
(package private) void |
applet_browse_button(Config_window cw,
JTextField applet_name_text_field)
Method to be called when one of the browse buttons for the applet cap files in the config window is pressed. |
void |
dismiss_button(Config_window cw)
Method to be called when the dismiss button is pressed in the config dialog. |
CardTerminal[] |
get_all_readers()
Generate an array of all connected card readers. |
CardTerminal |
get_default_reader(Ov_demo_gui gui)
Choose a default reader among all connected ones. |
CardTerminal[] |
get_jcop_readers()
Generate an array of all accessible jcop emulators. |
CardTerminal[] |
get_pcsc_readers()
Generate an array of all connected PCSC card readers. |
void |
ok_button(Config_window cw)
Method to be called when the OK button is pressed in the config dialog. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
Config_actions()
Method Detail |
---|
public CardTerminal[] get_pcsc_readers()
public CardTerminal[] get_jcop_readers()
public CardTerminal[] get_all_readers()
public CardTerminal get_default_reader(Ov_demo_gui gui)
Gui_actions.default_initialization
. If no reader can be found
(because no real reader is connected and the libraries for the
jcop emulator are not present) display an error message and
exit the program.
gui
- the GUI window
public void ok_button(Config_window cw)
cw
- the config windowpublic void dismiss_button(Config_window cw)
cw
- the config windowvoid applet_browse_button(Config_window cw, JTextField applet_name_text_field)
cw
- the config windowapplet_name_text_field
- the text field to be modified as
result
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |