public class KeyStrokeEditor
extends xyz.cofe.gui.swing.properties.editor.CustomEditor
| 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()
ВОзвращает кнопку OK
|
JPanel |
getPanel()
Возврщает панель содержащую редактор
|
Object |
getValue() |
void |
setAsText(String text) |
void |
setKeyStroke(KeyStroke ks)
Указывает комбинацию клавиш
|
void |
setValue(Object value) |
addPropertyChangeListener, firePropertyChanged, getCellEditorValue, getComponent, getCustomEditor, getTags, isPaintable, paintValue, parseEditOptions, removePropertyChangeListener, setTags, startEditing, supportsCustomEditoraddCellEditorListener, cancelCellEditing, clearAllListeners, fireEditingCanceled, fireEditingStopped, getEditIcon, getNullIcon, getNullSelectedIcon, getNullUnSelectedIcon, isCellEditable, isShouldSelectCell, removeCellEditorListener, setCellEditable, setComponent, setShouldSelectCell, stopCellEditingpublic KeyStrokeEditor()
public KeyStrokeEditor(KeyStrokeEditor ks)
ks - образецpublic KeyStrokeEditor clone()
clone in class xyz.cofe.gui.swing.properties.editor.CustomEditorpublic JPanel getPanel()
public JButton getOkButton()
public JToggleButton getCaptureKeyStroke()
public JTextField getKeyStrokeText()
public KeyStroke getKeyStroke()
public void setKeyStroke(KeyStroke ks)
ks - комб-клавишprotected JComponent createComponent()
createComponent in class xyz.cofe.gui.swing.properties.editor.CustomEditorpublic void setValue(Object value)
public Object getValue()
public String getJavaInitializationString()
public String getAsText()
public void setAsText(String text) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2019. All rights reserved.