public class KeyStrokeEditor extends CustomEditor
propertyEditorSupportcellEditable, component, listeners, shouldSelectCell| Constructor and Description |
|---|
KeyStrokeEditor() |
KeyStrokeEditor(KeyStrokeEditor ks) |
| Modifier and Type | Method and Description |
|---|---|
KeyStrokeEditor |
clone() |
protected JComponent |
createComponent()
Создание графического компонента - редактора
|
String |
getAsText() |
JToggleButton |
getCaptureKeyStroke() |
String |
getJavaInitializationString() |
KeyStroke |
getKeyStroke() |
JTextField |
getKeyStrokeText() |
JButton |
getOkButton() |
JPanel |
getPanel() |
Object |
getValue() |
void |
setAsText(String text) |
void |
setKeyStroke(KeyStroke ks) |
void |
setValue(Object value) |
addPropertyChangeListener, firePropertyChanged, getCellEditorValue, getComponent, getCustomEditor, getTags, isPaintable, paintValue, removePropertyChangeListener, setTags, startEditing, supportsCustomEditoraddCellEditorListener, cancelCellEditing, clearAllListeners, fireEditingCanceled, fireEditingStopped, isCellEditable, isShouldSelectCell, removeCellEditorListener, setCellEditable, setComponent, setShouldSelectCell, stopCellEditingpublic KeyStrokeEditor()
public KeyStrokeEditor(KeyStrokeEditor ks)
public KeyStrokeEditor clone()
clone in class CustomEditorpublic JPanel getPanel()
public JButton getOkButton()
public JToggleButton getCaptureKeyStroke()
public JTextField getKeyStrokeText()
public KeyStroke getKeyStroke()
public void setKeyStroke(KeyStroke ks)
protected JComponent createComponent()
CustomEditorcreateComponent in class CustomEditorpublic void setValue(Object value)
public Object getValue()
public String getJavaInitializationString()
public String getAsText()
public void setAsText(String text) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2018. All rights reserved.