public class ButtonRepeater extends Object implements ChangeListener
| Constructor and Description |
|---|
ButtonRepeater(JButton button,
long delayMilliseconds) |
| Modifier and Type | Method and Description |
|---|---|
void |
addActionListener(ActionListener actionListener) |
void |
finalize() |
void |
fireActionPereformed(ActionEvent actionEvent) |
void |
removeActionListener(ActionListener actionListener) |
void |
stateChanged(ChangeEvent changeEvent) |
public ButtonRepeater(JButton button, long delayMilliseconds)
public void addActionListener(ActionListener actionListener)
public void removeActionListener(ActionListener actionListener)
public void stateChanged(ChangeEvent changeEvent)
stateChanged in interface ChangeListenerpublic void fireActionPereformed(ActionEvent actionEvent)
Copyright © 2017. All rights reserved.