public class TextEditorPlugIn extends PlainEditorPlugIn
_backgroundUndefinedValue, _connection, _debug, _defaultValueString, _registry, _undefinedString| Constructor and Description |
|---|
TextEditorPlugIn() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.swing.JTextField |
createComponent(de.bsvrz.dav.daf.main.Data data) |
javax.swing.JTextField |
createValueBox(de.bsvrz.dav.daf.main.Data data,
boolean editable,
java.util.Collection<javax.swing.JButton> additionalButtons,
javax.swing.JLabel suffixBox)
Erstellt eine Komponente, die nur den Inhalt dieses Datums erhält (ohne Überschrift und Beschriftung)
|
protected int |
getPriority()
Gibt die Priorität zurück.
|
protected static void |
textBoxAttributeModified(javax.swing.text.JTextComponent textBox,
javax.swing.JLabel suffixBox,
de.bsvrz.dav.daf.main.Data data,
boolean update)
Überprüft, ob der eingegebene Wert auch ein zulässiger Wert ist.
|
java.lang.String |
toString() |
createComponent, supportsDatacompareTo, getByteArray, isByteAttributeTypeprotected static void textBoxAttributeModified(javax.swing.text.JTextComponent textBox,
javax.swing.JLabel suffixBox,
de.bsvrz.dav.daf.main.Data data,
boolean update)
textBox - Komponente, wo der neue Wert eingegeben wurdesuffixBox - das Feld mit dem Suffixdata - die modifizierten Datenupdate - public javax.swing.JTextField createValueBox(de.bsvrz.dav.daf.main.Data data,
boolean editable,
java.util.Collection<javax.swing.JButton> additionalButtons,
javax.swing.JLabel suffixBox)
DataEditorPlugIncreateValueBox in class DataEditorPlugIndata - Datumeditable - Soll die Komponente editierbar sein?additionalButtons - Liste, in die zusätzliche Buttons eingefügt werdensuffixBox - Optional: Ein JLabel, dass den Suffix (also z.B. die Einheit) des Datums übergeben bekommt (oder null)protected javax.swing.JTextField createComponent(de.bsvrz.dav.daf.main.Data data)
protected int getPriority()
DataEditorPlugIngetPriority in class DataEditorPlugInpublic java.lang.String toString()
toString in class DataEditorPlugIn