docstring stringlengths 3 2.38k | code stringlengths 9 99.4k |
|---|---|
call when a button is pressed | ActionEvent . getSource Vector . addElement JTable . tableChanged JTable . sizeColumnsToFit JTable . getSelectedRow Vector . size Vector . removeElementAt JTable . tableChanged JTable . sizeColumnsToFit JButton . instance JButton . cast JButton . getText String . length Character . isLetter JTextArea . append JTextArea... |
handle most input | ActionEvent . getSource Vector . removeAllElements File . <init> File . createNewFile ImageIO . write JOptionPane . showMessageDialog JList . getSelectedIndex Vector . remove JList . getSelectedIndex Vector . remove Vector . add JList . setSelectedIndex JList . getSelectedIndex Vector . add JList . setSelectedIndex |
track the button pressed , and implements the changes which derive from the action | ActionEvent . getSource Vector . size JButton . cast JButton . getText JButton . cast Vector . elementAt JButton . cast Vector . elementAt JButton . setEnabled JButton . cast JButton . setText Vector . elementAt JButton . cast JButton . setVisible Vector . elementAt JButton . cast JButton . setText Vector . elementAt J... |
when the edit button is pressed , this function is executed | ActionEvent . getSource Vector . size JButton . cast Node . getType JDialog . setSize JDialog . getSize JDialog . setLocation JDialog . setResizable JDialog . setVisible |
add or remove a given data set | ActionEvent . getSource Vector . size JButton . getText JButton . cast Vector . size JButton . cast JButton . getText Vector . elementAt JButton . setText JButton . cast Vector . elementAt JButton . cast JButton . setText Vector . elementAt JButton . cast JButton . setText JButton . cast Vector . elementAt JButton . ca... |
method from the action listener interface | ActionEvent . getSource Vector < JButton > . get ActionEvent . getSource |
method from the action listener interface | ActionEvent . getSource Vector < JButton > . get JButton . getText |
method from the action listener interface | ActionEvent . getSource Vector < JButton > . size Vector < JButton > . get ActionEvent . getSource JButton . getText |
method from the action listener interface | ActionEvent . getSource Vector < JButton > . size Vector < JButton > . get JButton . getText |
handle the buttons getting clicked | ActionEvent . getSource Vector < String > . add JTextField . getText JList . getSelectedIndex Vector < String > . set Vector < String > . remove |
handle the buttons getting clicked | ActionEvent . getSource Vector < String > . add Vector < String > . set JTextField . getText Vector < String > . remove |
handle action events for all menu items | ActionEvent . getSource View . <unk> ActionEvent . getSource View . <unk> View . <unk> View . <unk> ActionEvent . getSource View . <unk> View . <unk> View . <unk> View . <unk> View . <unk> View . <unk> View . <unk> ActionEvent . getSource View . <unk> ActionEvent . getSource View . <unk> ActionEvent . getSource View . ... |
handle button clicks and radio button selections : clicking a radio button sets src from <unk> , <unk> , or src other | ActionEvent . getSource WindowAdapter . <unk> JRadioButton . setSelected File . getPath File . <init> File . exists JOptionPane . showMessageDialog JRadioButton . isSelected JOptionPane . showMessageDialog |
handle receiving an action | ActionEvent . getUser ActionEvent . getAction String . replace ActionEvent . <unk> String . replace |
respond to an action with an action in either the channel that the message came from or a private message | ActionEvent . getUser ActionEvent . getChannel |
grab event for someone performing me or an Action , and sends for printing | ActionEvent . getUser Utils . <unk> ActionEvent . getUser Utils . <unk> |
print the time a action event has been active | ActionEvent . getWhen Date . <init> Date . getTime Timestamp . <init> Timestamp . getTime Component . cast |
trigger when the link is pressed and then it requests the link or goes to an anchor within the page | ActionEvent . getX HTMLLink . <unk> |
trigger when the link is pressed and then it requests the link or goes to an anchor within the page | ActionEvent . getX HTMLLink . getAbsoluteX ActionEvent . getY HTMLLink . <unk> |
trigger when the link is pressed and then it requests the link or goes to an anchor within the page | ActionEvent . getX HTMLLink . getAbsoluteY ActionEvent . getY HTMLLink . getAbsoluteX HTMLLink . <unk> |
trigger when the link is pressed and then it requests the link or goes to an anchor within the page | ActionEvent . getX HTMLLink . getAbsoluteY HTMLLink . getAbsoluteX ActionEvent . getX HTMLLink . <unk> |
trigger when the link is pressed and then it requests the link or goes to an anchor within the page | ActionEvent . getX HTMLLink . getAbsoluteY HTMLLink . getAbsoluteX HTMLLink . <unk> |
trigger when the link is pressed and then it requests the link or goes to an anchor within the page | ActionEvent . getY HTMLLink . getAbsoluteX HTMLLink . getAbsoluteY ActionEvent . getX HTMLLink . <unk> |
override method in superclass | ActionEvent . instance ActionEvent . cast JComboBox . <unk> ItemEvent . <init> JComboBox . <unk> |
process the specified event for this object | ActionEvent . instance ActionEvent . cast List . <unk> ItemEvent . instance ItemEvent . cast List . <unk> |
process the specified event for this object | ActionEvent . instance ActionEvent . cast List . <unk> List . <unk> |
process events on this panel | ActionEvent . instance ActionEvent . cast |
the user has selected an option | ActionEvent . instance ActionEvent . getActionCommand Object . toString String . equals JTextField . getText Utils . <unk> JTextField . getText Utils . <unk> JPasswordField . getPassword |
override method in superclass | ActionEvent . instance JComboBox . <unk> ItemEvent . <init> JComboBox . <unk> |
process events | ActionEvent . instance JTextField . <unk> |
process the specified event for this object | ActionEvent . instance List . <unk> ItemEvent . instance List . <unk> |
invoke when a <unk> is pressed | ActionEvent . isConsumed ActionEvent . getSource Button . cast Form . <unk> ActionEvent . <init> ActionEvent . isConsumed Form . <unk> Component . getParent Dialog . instance Form . <unk> Dialog . cast Component . getParent Form . <unk> Component . getParent Dialog . instance Form . <unk> Dialog . cast |
invoke when a <unk> is pressed | ActionEvent . isConsumed ActionEvent . getSource Button . cast MenuBar . <unk> ActionEvent . <init> ActionEvent . isConsumed Form . <unk> Button . instance Component . getParent Dialog . cast Form . <unk> Component . getParent MenuBar . <unk> Component . getParent Dialog . cast Form . <unk> Component . getParent |
invoke when a <unk> is pressed | ActionEvent . isConsumed ActionEvent . getSource Button . cast MenuBar . <unk> ActionEvent . <init> ActionEvent . isConsumed Form . <unk> Component . getParent Dialog . instance Dialog . cast Form . <unk> Component . getParent MenuBar . <unk> Component . getParent Dialog . instance Dialog . cast Form . <unk> Component ... |
invoke when a <unk> is pressed | ActionEvent . isConsumed ActionEvent . getSource Button . cast MenuBar . <unk> ActionEvent . <init> Form . <unk> Button . instance Component . getParent Dialog . <unk> Dialog . cast Component . getParent MenuBar . <unk> Component . getParent Dialog . instance Dialog . <unk> Dialog . cast Component . getParent |
invoke when a <unk> is pressed | ActionEvent . isConsumed ActionEvent . getSource Button . cast MenuBar . <unk> ActionEvent . <init> Form . <unk> Component . getParent Dialog . instance Form . <unk> Dialog . cast Component . getParent MenuBar . <unk> Component . getParent Dialog . instance Form . <unk> Dialog . cast Component . getParent |
call when this action is performed in the ui | ActionEvent . setSource Action . actionPerformed |
item was clicked , drop event to chat screen | ActionEvent . setSource ActionListener . actionPerformed |
notify all listeners that have registered interest for notification on when the close button is clicked | ActionEvent . setSource EventListenerList . getListenerList ActionListener . actionPerformed ActionListener . cast |
method get assignment | ActionEvent . size List . get |
notify all registered action listener of the given action event | ActionEvent . toString Iterator < ActionListener > . next |
respond to button clicks | ActionEvent . toString JButton . equals JButton . getName Class . forName Class . newInstance List . add ActionEvent . getSource JButton . instance List < JButton > . get ActionEvent . getSource List . remove List < JButton > . clear |
combo box changed | ActionEvent . toString JComboBox . getSelectedIndex |
method get action event | ActionEvent > . get ActionEvent . cast |
a factory method which should return an action listener <unk> events from the buttons button model to any of <unk> action listeners | ActionListener . <init> AbstractButton . <unk> |
invoke the given function every time each view in the current selection is clicked | ActionListener . <init> AbstractButton . addActionListener AbstractButton . cast Function . invoke MouseListener . <init> Component . addMouseListener Function . invoke |
add action to exit | ActionListener . <init> AbstractButton . addActionListener System . exit |
add action to about us | ActionListener . <init> AbstractButton . addActionListener |
connect source to event bus : when action is performed , post event of expected class , with models class and object attributes | ActionListener . <init> AbstractButton . addActionListener |
create a new tab with the specified action map | ActionListener . <init> Action . addPropertyChangeListener PropertyChangeListener . <init> Action . addPropertyChangeListener PropertyChangeEvent . getPropertyName PropertyChangeEvent . getNewValue |
display login form | ActionListener . <init> ActionEvent . getActionCommand Actions . valueOf JTextField . getText JPasswordField . getPassword String . <init> JComboBox . getSelectedItem PropertyChangeListener . <init> PropertyChangeEvent . getPropertyName <unk> . cast ActionEvent . getMessage JButton . setEnabled ActionEvent . <init> Uti... |
<unk> <unk> <unk> <unk> <unk> | ActionListener . <init> ActionEvent . getActionCommand Character . getNumericValue String . charAt Character . getNumericValue JButton . addActionListener |
display the given option handler in a dialog and invokes the given action listener if either the ok or apply button were pressed | ActionListener . <init> ActionEvent . getActionCommand EventQueue . invokeLater ActionListener . actionPerformed JDialog . setVisible |
build the interface | ActionListener . <init> ActionEvent . getActionCommand GridBagLayout . <init> GridBagConstraints . <init> GridBagLayout . <init> GridBagConstraints . <init> JPanel . <init> Insets . <init> JLabel . <init> GridBagLayout . setConstraints JPanel . add GridBagLayout . setConstraints JPanel . add GridBagLayout . setConstrai... |
build the interface | ActionListener . <init> ActionEvent . getActionCommand GridBagLayout . <init> GridBagConstraints . <init> GridBagLayout . <init> GridBagConstraints . <init> JPanel . <init> Insets . <init> JLabel . <init> GridBagLayout . setConstraints JPanel . add GridBagLayout . setConstraints JPanel . add GridBagLayout . setConstrai... |
create and return a menu bar containing a file menu and an edit menu | ActionListener . <init> ActionEvent . getActionCommand JMenuBar . <init> JMenu . <init> JMenuItem . <init> JMenuItem . setAccelerator JMenuItem . addActionListener JMenu . add JMenuItem . <init> JMenuItem . setAccelerator JMenuItem . addActionListener JMenu . add JMenuItem . <init> JMenuItem . setAccelerator JMenuItem ... |
create the initial gui that allows the user to choose a factory and generate a new gui with the elements that the respective factory provides | ActionListener . <init> ActionEvent . getActionCommand JPanel . <init> JRadioButton . <init> JRadioButton . setActionCommand JRadioButton . addActionListener JButton . <init> ButtonGroup . <init> ButtonGroup . add ActionListener . <init> JButton . addActionListener JPanel . add |
insert the methods description here | ActionListener . <init> ActionEvent . getActionCommand JPopupMenu . <init> JMenuItem . <init> JMenuItem . addActionListener JPopupMenu . add JMenuItem . <init> JMenuItem . addActionListener JPopupMenu . add JPopupMenu . show |
insert the methods description here | ActionListener . <init> ActionEvent . getActionCommand JPopupMenu . <init> JMenuItem . <init> JMenuItem . addActionListener JPopupMenu . add JSeparator . <init> JPopupMenu . add JMenuItem . <init> JMenuItem . addActionListener JPopupMenu . add JPopupMenu . show |
if the selector provides any actions , setup a menu bar and popup menu | ActionListener . <init> ActionEvent . getActionCommand JPopupMenu . <init> JPopupMenu . add JToolBar . add Action . getValue Set < String > . add Action . getValue Set < String > . add |
<unk> <unk> <unk> | ActionListener . <init> ActionEvent . getActionCommand JRadioButton . addActionListener |
this method initializes the menu listener action listener | ActionListener . <init> ActionEvent . getActionCommand PropertyChangeSupport . firePropertyChange ActionEvent . getActionCommand HashMap < String , String > . get |
<unk> <unk> <unk> <unk> <unk> | ActionListener . <init> ActionEvent . getActionCommand String . charAt Character . getNumericValue JButton . addActionListener |
insert the methods description here | ActionListener . <init> ActionEvent . getActionCommand String . equals ActionListener . <init> ActionEvent . getActionCommand Group . <unk> ActionListener . <init> ActionEvent . getActionCommand JPopupMenu . <init> JMenuItem . <init> JMenuItem . addActionListener JPopupMenu . add JMenu . <init> JPopupMenu . add Hashtab... |
insert the methods description here | ActionListener . <init> ActionEvent . getActionCommand String . equals ActionListener . <init> ActionEvent . getActionCommand Hashtable . get ActionListener . <init> ActionEvent . getActionCommand Hashtable . get Group . <unk> Hashtable . get JPopupMenu . <init> JMenuItem . <init> JMenuItem . addActionListener JPopupMe... |
insert the methods description here | ActionListener . <init> ActionEvent . getActionCommand String . equals Group . <unk> ActionListener . <init> ActionEvent . getActionCommand ActionListener . <init> ActionEvent . getActionCommand Group . <unk> Hashtable . get JPopupMenu . <init> JMenuItem . <init> JMenuItem . addActionListener JPopupMenu . add JMenu . <... |
insert the methods description here | ActionListener . <init> ActionEvent . getActionCommand String . equals Group . <unk> ActionListener . <init> ActionEvent . getActionCommand Group . <unk> ActionListener . <init> ActionEvent . getActionCommand Group . <unk> JPopupMenu . <init> JMenuItem . <init> JMenuItem . addActionListener JPopupMenu . add JMenu . <in... |
insert the methods description here | ActionListener . <init> ActionEvent . getActionCommand String . equals Group . <unk> ActionListener . <init> ActionEvent . getActionCommand Hashtable . get ActionListener . <init> ActionEvent . getActionCommand JPopupMenu . <init> JMenuItem . <init> JMenuItem . addActionListener JPopupMenu . add JMenu . <init> JPopupMe... |
insert the methods description here | ActionListener . <init> ActionEvent . getActionCommand String . equals JPopupMenu . <init> JMenuItem . <init> JMenuItem . addActionListener JPopupMenu . add JSeparator . <init> JPopupMenu . add JMenuItem . <init> JMenuItem . addActionListener JPopupMenu . add JPopupMenu . show |
create the j popup menu that will be displayed for a tab | ActionListener . <init> ActionEvent . getActionCommand String . equals JPopupMenu . <init> JMenuItem . <init> JMenuItem . setActionCommand JMenuItem . addActionListener JPopupMenu . add ImageIcon . <init> JMenuItem . <init> JMenuItem . setActionCommand JMenuItem . addActionListener JPopupMenu . add JPopupMenu . setBord... |
build the language menu | ActionListener . <init> ActionEvent . getActionCommand String . equals Resource . <unk> JMenu . <init> JMenuItem . <init> JMenuItem . addActionListener JMenuItem . setActionCommand JMenu . add JMenu . addSeparator ButtonGroup . <init> JRadioButtonMenuItem . <init> JRadioButtonMenuItem . addActionListener JRadioButtonMe... |
build the language menu | ActionListener . <init> ActionEvent . getActionCommand String . equals Resource . <unk> JMenu . <init> JMenuItem . <init> JMenuItem . addActionListener JMenuItem . setActionCommand JMenu . add JMenu . addSeparator ButtonGroup . <init> JRadioButtonMenuItem . <init> JRadioButtonMenuItem . addActionListener JRadioButtonMe... |
initialise the edit listener | ActionListener . <init> ActionEvent . getActionCommand String . equalsIgnoreCase UndoManager . <unk> UndoManager . undo String . equalsIgnoreCase UndoManager . <unk> Toolkit . getDefaultToolkit JTextArea . getSelectedText Clipboard . setContents String . equalsIgnoreCase Toolkit . getDefaultToolkit JTextArea . getSelec... |
create menubar | ActionListener . <init> ActionEvent . getActionCommand System . exit JMenuBar . <init> JMenu . <init> JMenu . setMnemonic JMenuBar . add JMenuItem . <init> JMenuItem . setAccelerator JMenuItem . setActionCommand JMenuItem . addActionListener JMenu . add JMenuItem . <init> JMenuItem . setActionCommand JMenuItem . addAct... |
create menubar | ActionListener . <init> ActionEvent . getActionCommand System . exit JMenuBar . <init> JMenu . <init> JMenu . setMnemonic JMenuBar . add JMenuItem . <init> KeyStroke . getKeyStroke JMenuItem . setAccelerator JMenuItem . setActionCommand JMenuItem . addActionListener JMenu . add JMenuItem . <init> JMenuItem . setActionC... |
dummy action listener that only prints command names to stdout | ActionListener . <init> ActionEvent . getActionCommand |
set the specified button such that it <unk> between being selected and not whenever it is pushed | ActionListener . <init> ActionEvent . getSource AbstractButton . cast AbstractButton . setSelected AbstractButton . addActionListener |
this method initializes the action listener action listener | ActionListener . <init> ActionEvent . getSource HashMap < String , String > . get JButton . cast PropertyChangeSupport . firePropertyChange |
add action listeners to each button : associates each button with a method of the visual profiler | ActionListener . <init> ActionEvent . getSource JButton . addActionListener ChangeListener . <init> JTabbedPane . addChangeListener JComboBox . addItemListener JTree . addMouseListener MouseEvent . getX JTree . getRowForLocation JTree . getPathForLocation MouseEvent . getY JTree . getPathForLocation MouseEvent . getCli... |
add action listeners to each button : associates each button with a method of the visual profiler | ActionListener . <init> ActionEvent . getSource JButton . addActionListener JTabbedPane . addChangeListener JComboBox . addItemListener JTree . addMouseListener MouseEvent . getX JTree . getRowForLocation MouseEvent . getY MouseEvent . getX JTree . getPathForLocation MouseEvent . getClickCount TreePath . getLastPathCom... |
<unk> von <unk> , title und gui werden <unk> | ActionListener . <init> ActionEvent . getSource JButton . cast ArrayList . indexOf ArrayList . size ArrayList . get ArrayList . set |
override action performed method and get the selected piece x , y coordinate | ActionListener . <init> ActionEvent . getSource JButton . cast JButton . getHeight JButton . getWidth JButton . getLocation |
<unk> von <unk> , title und gui werden <unk> | ActionListener . <init> ActionEvent . getSource JButton . cast JButton . getParent ArrayList . indexOf ArrayList . get ArrayList . set |
erstellt <unk> , der ein segment panel aus der session list entfernt , alle title der segment panels and die gui <unk> | ActionListener . <init> ActionEvent . getSource JButton . cast JButton . getParent ArrayList . indexOf ArrayList . remove |
this method initializes the action listener action listener | ActionListener . <init> ActionEvent . getSource JButton . cast JButton . getText PropertyChangeSupport . firePropertyChange |
create an action listener for operators | ActionListener . <init> ActionEvent . getSource JButton . cast JButton . getText String . charAt JTextField . setText JTextField . getText JTextField . setText Integer . parseInt Integer . toString JTextField . setText Integer . parseInt |
return the listener of combo box actions | ActionListener . <init> ActionEvent . getSource JComboBox . cast AbstractAction . actionPerformed |
build the action listener for combo box inputs | ActionListener . <init> ActionEvent . getSource JComboBox . cast JComboBox . getSelectedItem String . cast View . setNodeValue View . <unk> JLabel . setForeground JTree . repaint |
add the required focus listeners to the fields | ActionListener . <init> ActionEvent . getSource JRadioButton . addActionListener JCheckBox . addActionListener ActionListener . <init> JCheckBox . addActionListener JRadioButton . setSelected |
make the time option widget | ActionListener . <init> ActionEvent . getSource JRadioButton . cast ButtonGroup . <init> JRadioButton . <init> ButtonGroup . add JRadioButton . addActionListener JRadioButton . <init> ButtonGroup . add JRadioButton . addActionListener |
update <unk> | ActionListener . <init> ActionEvent . getSource JTextField . setEnabled JButton . setEnabled JTextField . setEnabled JButton . setEnabled JButton . doClick |
handle delayed start of game and displays countdown in window title bar | ActionListener . <init> ActionEvent . getSource Timer . cast Timer . stop Timer . <init> Timer . start |
start fading the screen | ActionListener . <init> ActionEvent . getSource Timer . cast Timer . stop Timer . <init> Timer . start |
start the animation of the signature | ActionListener . <init> ActionEvent . getSource Timer . stop ActionEvent . getSource Timer . stop Timer . <init> Timer . start |
show the preferences dialog | ActionListener . <init> ActionListener . actionPerformed Dialog . addWindowListener Runnable . <init> SwingUtilities . invokeLater Dialog . setVisible |
create editor button listener open a dialog to edit values only for multiple values | ActionListener . <init> ArrayList . <init> ListModel . getSize ListModel . getElementAt List < Object > . add JTextComponent . getText Arrays . asList List < Object > . addAll |
setup my branch to <unk> | ActionListener . <init> ArrayList < String > . <init> HashSet < String > . clear HashSet < String > . addAll Collections . sort JCheckBox . isSelected List < String > . size Collections . sort List < String > . size Collections . sort JComboBox . removeAllItems JComboBox . addItem JComboBox . setSelectedItem Collection... |
setup my branch to <unk> | ActionListener . <init> ArrayList < String > . <init> HashSet < String > . clear HashSet < String > . addAll Collections . sort JCheckBox . isSelected List < String > . size List < String > . subList Collections . sort JComboBox . removeAllItems JComboBox . addItem JComboBox . setSelectedItem Collections . singletonLis... |
<unk> <unk> <unk> <unk> <unk> | ActionListener . <init> Character . getNumericValue JRadioButton . addActionListener |
install a key listener on a window to close it | ActionListener . <init> Component . cast Component . setVisible RootPaneContainer . getRootPane Component . getToolkit JRootPane . registerKeyboardAction Toolkit . <unk> KeyStroke . getKeyStroke |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.