public class FontPropertyEditor extends CustomEditor implements PropertyDBService
| Modifier and Type | Field and Description |
|---|---|
protected JButton |
editButton |
protected Font |
font |
protected JLabel |
label |
protected JPanel |
panel |
propertyEditorSupportcellEditable, component, listeners, shouldSelectCell| Constructor and Description |
|---|
FontPropertyEditor() |
FontPropertyEditor(FontPropertyEditor sample) |
| Modifier and Type | Method and Description |
|---|---|
FontPropertyEditor |
clone() |
protected JComponent |
createComponent()
Создание графического компонента - редактора
|
String |
getAsText() |
protected JButton |
getEditButton() |
Font |
getFont() |
String |
getJavaInitializationString() |
protected JLabel |
getLabel() |
protected JPanel |
getPanel() |
Object |
getValue() |
void |
register(PropertyDB pdb)
Регистрация редакторов в PropertyDB
|
void |
setAsText(String text) |
void |
setFont(Font font) |
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, stopCellEditingprotected JPanel panel
protected JLabel label
protected JButton editButton
protected Font font
public FontPropertyEditor()
public FontPropertyEditor(FontPropertyEditor sample)
public void register(PropertyDB pdb)
PropertyDBServiceregister in interface PropertyDBServicepdb - редакторы типовpublic FontPropertyEditor clone()
clone in class CustomEditorprotected JPanel getPanel()
protected JLabel getLabel()
protected JButton getEditButton()
public Font getFont()
public void setFont(Font font)
protected JComponent createComponent()
CustomEditorcreateComponent in class CustomEditorpublic void setValue(Object value)
setValue in interface PropertyEditorpublic Object getValue()
getValue in interface PropertyEditorpublic String getJavaInitializationString()
getJavaInitializationString in interface PropertyEditorpublic String getAsText()
getAsText in interface PropertyEditorpublic void setAsText(String text) throws IllegalArgumentException
setAsText in interface PropertyEditorIllegalArgumentExceptionCopyright © 2019. All rights reserved.