docstring stringlengths 3 2.38k | code stringlengths 9 99.4k |
|---|---|
simple action control only one listener | ActionEvent . getActionCommand System . exit ActionEvent . getActionCommand String . equals JFileChooser . <init> JFileChooser . showOpenDialog JFileChooser . getSelectedFile File . getName JTextComponent . setText ActionEvent . getActionCommand HashPrintRequestAttributeSet . <init> <unk> . printDialog JTextComponent .... |
end the program if the user clicks the exit button | ActionEvent . getActionCommand System . exit ActionEvent . getActionCommand |
in this method we implement what should happen for specific command string | ActionEvent . getActionCommand System . exit JOptionPane . showInputDialog JTabbedPane . addTab JOptionPane . showMessageDialog ActionEvent . getActionCommand JTabbedPane . getSelectedComponent JTabbedPane . remove |
handle any events on the button menu | ActionEvent . getActionCommand System . exit JOptionPane . showMessageDialog |
simple action control only one listener | ActionEvent . getActionCommand System . exit String . equals JFileChooser . <init> JFileChooser . showOpenDialog JFileChooser . getSelectedFile File . getName JTextComponent . setText String . equals HashPrintRequestAttributeSet . <init> <unk> . printDialog JTextComponent . setText PrintService . <unk> HashSet . <init>... |
when the user clicks on a button , launch the appropriate file chooser and report the results | ActionEvent . getActionCommand System . exit String . equals JFileChooser . <init> JFileChooser . showOpenDialog JFileChooser . getSelectedFile JFileChooser . getSelectedFiles ActionEvent . getActionCommand JFileChooser . <init> JFileChooser . setMultiSelectionEnabled JFileChooser . showOpenDialog JFileChooser . getSel... |
when the user clicks on a button , launch the appropriate file chooser and report the results | ActionEvent . getActionCommand System . exit String . equals JFileChooser . <init> JFileChooser . showOpenDialog JFileChooser . getSelectedFile JFileChooser . getSelectedFiles ActionEvent . getActionCommand String . equals JFileChooser . <init> JFileChooser . setMultiSelectionEnabled JFileChooser . showOpenDialog JFile... |
simple action control only one listener | ActionEvent . getActionCommand System . exit String . equals JFileChooser . <init> JFileChooser . showOpenDialog JFileChooser . getSelectedFile JTextComponent . setText ActionEvent . getActionCommand HashPrintRequestAttributeSet . <init> <unk> . printDialog PrintService . getName JTextComponent . setText PrintService .... |
handle event calls for the user interaction with swing components | ActionEvent . getActionCommand System . exit String . equals JTextArea . setText ArrayList < String > . size ArrayList < String > . get JTextArea . append JTextArea . setCaretPosition CardLayout . show String . equals JFileChooser . <init> JFileChooser . showOpenDialog JFileChooser . getSelectedFile DefaultTreeModel . ... |
<unk> bei <unk> <unk> event | ActionEvent . getActionCommand System . exit |
action performed event | ActionEvent . getActionCommand System . exit |
action listener method for all of the buttons | ActionEvent . getActionCommand System . setProperty FileDialog . <init> FileDialog . setDirectory FileDialog . setVisible FileDialog . getFile JTextField . setText System . setProperty ActionEvent . getActionCommand FileDialog . <init> FileDialog . setDirectory FileDialog . setVisible FileDialog . getFile JTextField . ... |
invoke when an action occurs i | ActionEvent . getActionCommand TextArea . setText |
action performed method associated to the plugin | ActionEvent . getActionCommand TextField . getText Integer . valueOf TextField . getText Double . valueOf Integer . valueOf TextField . getText Double . valueOf TextField . getText Double . valueOf TextField . getText Double . valueOf TextField . getText Double . valueOf TextField . getText Checkbox . getState |
control what happens when the user clicks on buttons | ActionEvent . getActionCommand TextField . getText TextArea . append Polygon . getVertices TextArea . append JButton . setEnabled JSlider . setEnabled JProgressBar . setStringPainted JTextField . setVisible JButton . setText JSlider . setEnabled JButton . setEnabled TextArea . append Polygon . <unk> Polygon . <unk> Cur... |
dialog action handler | ActionEvent . getActionCommand Thread . <init> Thread . start ActionEvent . getActionCommand JFileChooser . showSaveDialog JFileChooser . getSelectedFile ActionEvent . getActionCommand |
react to a users input on the gui | ActionEvent . getActionCommand Thread . <init> Thread . start ActionEvent . getActionCommand String . cast Thread . <init> Thread . start JOptionPane . showMessageDialog ActionEvent . getActionCommand System . exit ActionEvent . getActionCommand JOptionPane . showConfirmDialog ActionEvent . getActionCommand Integer . t... |
invoke when an action occurs | ActionEvent . getActionCommand Thread . <init> Thread . start |
implement the action listener interface | ActionEvent . getActionCommand Thread . isAlive JOptionPane . showMessageDialog Thread . start String . equals Thread . isAlive JOptionPane . showMessageDialog String . equals Thread . interrupt |
implement the action listener interface | ActionEvent . getActionCommand Thread . isAlive JOptionPane . showMessageDialog Thread . start Thread . isAlive JOptionPane . showMessageDialog String . equals Thread . interrupt |
follow method action performed handles all the events triggered on using buttons of the whole window | ActionEvent . getActionCommand Timer . start String . <init> Runnable . <init> Thread . <init> Thread . start JButton . setEnabled JLabel . setText BufferedWriter . write ActionEvent . getActionCommand Timer . stop JButton . setEnabled Timer . <init> JProgressBar . setValue JLabel . setText File . <init> File . list Fi... |
set the effects of the buttons | ActionEvent . getActionCommand Toolkit . getDefaultToolkit Point . <init> Toolkit . createCustomCursor JPanel . setCursor Point . <init> Toolkit . createCustomCursor JPanel . setCursor Toolkit . createCustomCursor JPanel . setCursor Point . <init> Toolkit . createCustomCursor JPanel . setCursor Toolkit . createCustomCu... |
save new <unk> , from edits of shape : explanation sequence | ActionEvent . getActionCommand Util . getString |
action <unk> implementation one of our button was fired | ActionEvent . getActionCommand Vector . addElement JList . getSelectedValues Vector . addElement Vector . removeElement JList . setListData JList . getSelectedValues Vector . addElement Vector . removeElement JList . setListData String . equals Vector . size Vector . copyInto ActionEvent . getSource Vector . addElement... |
action <unk> implementation one of our button was fired | ActionEvent . getActionCommand Vector . addElement JList . getSelectedValues Vector . addElement Vector . removeElement JList . setListData JList . getSelectedValues Vector . addElement Vector . removeElement JList . setListData Vector . size Vector . copyInto ActionEvent . getSource Vector . addElement JList . setList... |
set the info bus name property of all the currently selected info bus members in this list | ActionEvent . getActionCommand Vector . elementAt Class . getMethods Method . getName Method . getReturnType Method . getParameterTypes String . <init> Method . invoke Vector . elementAt Object [] . cast Method . invoke Class . getName |
routine to bring the user selected window to the front | ActionEvent . getActionCommand Vector . elements Enumeration . nextElement JFrame . cast JFrame . getTitle JFrame . setVisible |
handle button clicks on the add party view | ActionEvent . getActionCommand Vector . size Vector . contains Vector . add JList . setListData ActionEvent . getActionCommand Vector . removeElement JList . setListData ActionEvent . getActionCommand JFrame . setVisible |
invoke when one of the menus is selected | ActionEvent . getActionCommand Vector . size Vector . elementAt JInternalFrame . cast JInternalFrame . getTitle JInternalFrame . moveToFront |
this method gets an action from a button press and <unk> accordingly | ActionEvent . getActionCommand View . load JOptionPane . showMessageDialog ActionEvent . getActionCommand View . <unk> ActionEvent . getActionCommand View . <unk> ActionEvent . getActionCommand JList . getSelectedValue View . <unk> ActionEvent . getActionCommand JList . getSelectedValue JOptionPane . showMessageDialog ... |
respond to an action with an action | ActionEvent . getChannel ActionEvent . <unk> ActionEvent . getUser |
respond to an action with an action | ActionEvent . getChannel ActionEvent . getUser ActionEvent . <unk> ActionEvent . getChannel |
handle receiving an action | ActionEvent . getChannel ActionEvent . getUser ActionEvent . getAction String . replace ActionEvent . <unk> |
respond to an action with an action in either the channel that the message came from or a private message | ActionEvent . getChannel ActionEvent . getUser ActionEvent . getChannel |
override the object | ActionEvent . getClass Object . getClass ActionEvent . cast Boolean . equals String . equals |
handle command actions | ActionEvent . getCommand ActionEvent . getComponent TextArea . getText |
to be invoked via <unk> = <unk> | ActionEvent . getComponent Collection < String > . add |
abstract method from the action listener interface | ActionEvent . getComponent Dialog . <init> Dialog . setDialogType BoxLayout . <init> Dialog . setLayout Locale . <unk> Dialog . addCommand Locale . <unk> Label . <init> Label . getStyle Label . getSelectedStyle Dialog . addComponent TextField . <init> TextField . getStyle TextField . getSelectedStyle TextField . setCon... |
action parent | ActionEvent . getComponent FileDescriptor . <unk> FileDescriptor . getOwner String . equals ArrayList < FileDescriptor > . isEmpty ArrayList < FileDescriptor > . add ArrayList < FileDescriptor > . size ArrayList < FileDescriptor > . remove ArrayList < FileDescriptor > . isEmpty ArrayList < FileDescriptor > . size Array... |
this method navigate selection metric screen | ActionEvent . getComponent Long . cast ActionEvent . getComponent Long . cast |
action listener um die zu <unk> <unk> von der jsf <unk> aus zu <unk> | ActionEvent . getComponent Long . cast |
set metric data to be shown in metric details popup | ActionEvent . getComponent Long . valueOf String . valueOf Object . toString Long . valueOf HashMap < String , Object > . <init> Map < String , Object > . put |
action listener that <unk> the calendar in the set dates | ActionEvent . getComponent Object . equals |
set metric data to be shown in metric details popup | ActionEvent . getComponent Object . toString Long . valueOf Object . toString String . valueOf Object . toString Long . valueOf HashMap < String , Object > . <init> Map < String , Object > . put |
this method handles the navigation through <unk> <unk> | ActionEvent . getComponent String . cast ActionEvent . getComponent String . cast String . equals ActionEvent . getComponent String . cast |
action event called to move a <unk> down the column list | ActionEvent . getComponent String . cast List . size List . get List . size List . get List . remove List . size List . add |
m que se <unk> de <unk> y <unk> la p \ <unk> actual | ActionEvent . getComponent String . cast Long . valueOf Long . instance Long . cast |
<unk> o ap <unk> da lista | ActionEvent . getComponent String . cast |
get attribute value from event component | ActionEvent . getComponent String . cast |
retrieve the value from ui command button parameter attribute name | ActionEvent . getComponent String . cast |
utility for loading example tab set content include | ActionEvent . getComponent String . cast |
remove the box | ActionEvent . getComponent String . indexOf String . substring String . indexOf String . substring String . indexOf String . substring Integer . parseInt String . valueOf ArrayList . <init> |
save the state of the panel that was expanded collapsed | ActionEvent . getComponent String . startsWith Integer . parseInt |
save the state of the panel that was expanded collapsed | ActionEvent . getComponent String . startsWith String . substring Integer . parseInt |
save the state of the panel that was expanded collapsed | ActionEvent . getComponent String . startsWith String . substring |
handle all kind of action events coming from all components we observe | ActionEvent . getID ActionEvent . getActionCommand JTextArea . append SimpleDateFormat . format JTextArea . append ActionEvent . getActionCommand JTextArea . append |
action events are fired by the date selector when the user selects a new date or clicks the ok button | ActionEvent . getID Date . getTime Date . <init> ActionEvent . getID Date . getTime Date . <init> |
fire an action event | ActionEvent . getModifiers ActionEvent . <init> ActionListener . actionPerformed ActionListener . cast |
define what happens when a button is pressed | ActionEvent . getModifiers JFileChooser . setDialogTitle JFileChooser . showDialog JFileChooser . getSelectedFile JFileChooser . <init> FileNameExtensionFilter . <init> JFileChooser . addChoosableFileFilter JFileChooser . getChoosableFileFilters JFileChooser . setFileFilter JFileChooser . getCurrentDirectory JFileChoos... |
check if the ctrl key is pressed | ActionEvent . getModifiers Toolkit . getDefaultToolkit |
add events to a snippet | ActionEvent . getName ActionEvent . <unk> |
convert action event | ActionEvent . getSource AWTEvent . getID ActionEvent . getActionCommand Event . <init> ActionEvent . getWhen ActionEvent . getModifiers |
update associated tool bar buttons on other toolbars | ActionEvent . getSource AbstractButton . cast AbstractButton . getText HashMap < String , List < AbstractButton > > . get AbstractButton . setSelected |
if a viewer popup menu event is detected , passes the event on to the viewer popup menu button handler | ActionEvent . getSource AbstractButton . cast AbstractButton . getText |
this method <unk> to state changes in one of radio buttons | ActionEvent . getSource AbstractButton . cast AbstractButton . isSelected JCheckBox . setEnabled |
automatically called whenever any bound button is clicked | ActionEvent . getSource AbstractButton . cast AbstractButton . isSelected Preferences . <unk> |
process gui events in this window | ActionEvent . getSource AbstractButton . cast JTextField . setText JTextField . selectAll JTextField . requestFocus |
change the status of the protocol according to the menu item selected | ActionEvent . getSource AbstractButton . getText MenuItem . cast MenuItem . getLabel |
execute actions | ActionEvent . getSource AbstractButton . instance AbstractButton . cast AbstractButton . getActionCommand ActionEvent . <init> ActionListener . actionPerformed |
change the status of the protocol according to the menu item selected | ActionEvent . getSource AbstractButton . instance AbstractButton . getText MenuItem . cast MenuItem . getLabel |
switch button state and updates preferences | ActionEvent . getSource AbstractButton . isSelected Preferences . putBoolean |
method handles which methods of the controller are called when a button is pressed and the <unk> popups that are associated with the file and help menus | ActionEvent . getSource AccessController . <unk> AccessController . <unk> AccessController . <unk> AccessController . <unk> JOptionPane . showMessageDialog ActionEvent . getSource JOptionPane . showMessageDialog AccessController . <unk> JOptionPane . showMessageDialog AccessController . <unk> JOptionPane . showMessageD... |
handle the action event | ActionEvent . getSource Action . <unk> |
simulate the enter key press | ActionEvent . getSource ActionEvent . <init> ActionEvent . getID ActionEvent . getActionCommand ActionEvent . getWhen ActionEvent . getModifiers |
pass button click events to parent action listener | ActionEvent . getSource ActionEvent . <init> ActionListener . actionPerformed ActionEvent . getSource ActionListener . actionPerformed |
invoke when an action occurs | ActionEvent . getSource ActionEvent . <init> |
handle action events such as the ok button | ActionEvent . getSource ActionEvent . getActionCommand Button . cast Button . getParent Panel . cast Panel . getParent Dialog . cast Dialog . setVisible |
the drawing attributes method for handling action events | ActionEvent . getSource ActionEvent . getActionCommand Color . instance I18n . get Color . cast JButton . setIcon I18n . get Color . cast JButton . setIcon Color . instance I18n . get Color . cast I18n . get Color . cast JButton . setIcon JCheckBoxMenuItem . getState JButton . setIcon |
the drawing attributes method for handling action events | ActionEvent . getSource ActionEvent . getActionCommand Color . instance I18n . get Component . cast Color . instance I18n . get Color . cast Component . cast I18n . get Component . cast Color . instance I18n . get Component . cast JCheckBoxMenuItem . getState |
convert action event | ActionEvent . getSource ActionEvent . getActionCommand Event . <init> ActionEvent . getWhen ActionEvent . getModifiers |
the drawing attributes method for handling action events | ActionEvent . getSource ActionEvent . getActionCommand I18n . get Color . cast JButton . setIcon Color . instance I18n . get Color . cast JButton . setIcon I18n . get Color . cast I18n . get Color . cast Component . cast JButton . setIcon JCheckBoxMenuItem . getState JButton . setIcon |
this method is called by the action listener of the <unk> , defines the action will be performed after the events occurred on the start new game btn | ActionEvent . getSource ActionEvent . getActionCommand JButton . setActionCommand JButton . setEnabled ActionEvent . getActionCommand JButton . setEnabled |
respond to an action event from one of the gui components in the applet | ActionEvent . getSource ActionEvent . getActionCommand JCheckBox . instance JCheckBox . cast JCheckBox . isSelected JComboBox . getSelectedItem |
respond to an action event from one of the gui components in the applet | ActionEvent . getSource ActionEvent . getActionCommand JCheckBox . instance JCheckBox . isSelected JCheckBox . cast JComboBox . cast JComboBox . getSelectedItem |
the main event processing method | ActionEvent . getSource ActionEvent . getActionCommand JComboBox . cast JComboBox . getSelectedItem String . cast JTextField . setText Container . validate JButton . instance String . equals JFileChooser . <init> JFileChooser . showOpenDialog JFileChooser . getSelectedFile File . getName JTextField . setText String . e... |
the main event processing method | ActionEvent . getSource ActionEvent . getActionCommand JComboBox . instance JComboBox . cast JComboBox . getSelectedItem String . cast JTextField . setText Container . validate String . equals JFileChooser . <init> JFileChooser . showOpenDialog JFileChooser . getSelectedFile File . getName JTextField . setText File . <... |
handle events from the editor button and from the dialogs ok button | ActionEvent . getSource ActionEvent . getActionCommand JTextField . setText JTextField . getText |
action listener | ActionEvent . getSource ActionEvent . getActionCommand JTree . getSelectionPath ActionEvent . getSource ActionEvent . getActionCommand String . cast JTree . getActionMap ActionEvent . <init> Action . actionPerformed String . equals ActionEvent . getSource |
method declaration | ActionEvent . getSource ActionEvent . getActionCommand MenuItem . <init> ActionEvent . getSource MenuItem . cast MenuItem . getLabel Button . setLabel Button . invalidate String . equals String . indexOf List . <unk> String . indexOf List . getSelectedItem String . equals FileDialog . <init> FileDialog . show FileDialo... |
method declaration | ActionEvent . getSource ActionEvent . getActionCommand MenuItem . <init> ActionEvent . getSource MenuItem . cast MenuItem . getLabel String . equals Button . setLabel Button . invalidate List . <unk> List . getSelectedItem String . equals FileDialog . <init> FileDialog . show FileDialog . getFile FileDialog . getDirect... |
method declaration | ActionEvent . getSource ActionEvent . getActionCommand MenuItem . <init> ActionEvent . getSource MenuItem . cast MenuItem . getLabel String . equals Button . setLabel Button . invalidate String . equals List . <unk> String . indexOf List . getSelectedItem FileDialog . <init> FileDialog . show FileDialog . getDirectory ... |
method declaration | ActionEvent . getSource ActionEvent . getActionCommand MenuItem . <init> ActionEvent . getSource MenuItem . cast MenuItem . getLabel String . equals Button . setLabel Button . invalidate String . equals String . indexOf List . <unk> List . getSelectedItem String . equals FileDialog . <init> FileDialog . show FileDialog... |
method declaration | ActionEvent . getSource ActionEvent . getActionCommand MenuItem . <init> ActionEvent . getSource MenuItem . cast MenuItem . getLabel String . equals Button . setLabel Button . invalidate String . equals String . indexOf List . <unk> String . indexOf List . getSelectedItem String . equals FileDialog . <init> FileDialog ... |
method declaration | ActionEvent . getSource ActionEvent . getActionCommand MenuItem . <init> ActionEvent . getSource MenuItem . cast MenuItem . getLabel String . equals Button . setLabel Button . invalidate String . equals String . indexOf List . <unk> String . indexOf List . getSelectedItem String . equals FileDialog . <init> FileDialog ... |
method declaration | ActionEvent . getSource ActionEvent . getActionCommand MenuItem . <init> ActionEvent . getSource MenuItem . cast MenuItem . getLabel String . equals Button . setLabel Button . invalidate String . equals String . indexOf List . <unk> String . indexOf List . getSelectedItem String . equals FileDialog . <init> FileDialog ... |
method declaration | ActionEvent . getSource ActionEvent . getActionCommand MenuItem . <init> ActionEvent . getSource MenuItem . instance MenuItem . cast MenuItem . getLabel Button . setLabel Button . invalidate String . equals String . indexOf List . <unk> String . indexOf List . getSelectedItem String . equals FileDialog . <init> FileDia... |
method declaration | ActionEvent . getSource ActionEvent . getActionCommand MenuItem . <init> ActionEvent . getSource MenuItem . instance MenuItem . cast MenuItem . getLabel String . equals Button . setLabel Button . invalidate String . equals String . indexOf List . <unk> List . getSelectedItem String . equals FileDialog . <init> FileDial... |
method declaration | ActionEvent . getSource ActionEvent . getActionCommand MenuItem . <init> MenuItem . instance ActionEvent . getSource MenuItem . cast MenuItem . getLabel String . equals Button . setLabel Button . invalidate String . equals List . <unk> List . getSelectedItem String . equals FileDialog . <init> FileDialog . show FileDia... |
method declaration | ActionEvent . getSource ActionEvent . getActionCommand MenuItem . <init> MenuItem . instance MenuItem . cast MenuItem . getLabel String . equals Button . setLabel Button . invalidate String . equals String . indexOf List . <unk> List . getSelectedItem String . equals FileDialog . <init> FileDialog . show FileDialog . g... |
call by the buttons and text fields when an update <unk> | ActionEvent . getSource ActionEvent . getActionCommand PrintStream . println Vector . setSize Frame . setURL PrintStream . println Frame . setURL Vector . elementAt Frame . setURL PrintStream . println Frame . setURL |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.