java.lang.Comparable<DataEditorPlugIn>public class ReferenceEditorPlugIn extends TextEditorPlugIn
_backgroundUndefinedValue, _connection, _debug, _defaultValueString, _registry, _undefinedString| Constructor | Description |
|---|---|
ReferenceEditorPlugIn() |
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
boolean |
supportsData(de.bsvrz.dav.daf.main.Data data) |
Gibt
true zurück, wenn dieses PlugIn das übergebene Data-Objekt unterstützt. |
java.lang.String |
toString() |
compareTo, getByteArray, isByteAttributeTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateComponentcreateComponent, textBoxAttributeModifiedpublic 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 TextEditorPlugIndata - 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)public boolean supportsData(de.bsvrz.dav.daf.main.Data data)
DataEditorPlugIntrue zurück, wenn dieses PlugIn das übergebene Data-Objekt unterstützt. Ein PlugIn, was Array-Daten darstellt wird bspw. keinen Plain-Textwert unterstützen.supportsData in class PlainEditorPlugIndata - Datumtrue, wenn dieses PlugIn das übergebene Data-Objekt unterstützt, sonst falseprotected int getPriority()
DataEditorPlugIngetPriority in class TextEditorPlugInpublic java.lang.String toString()
toString in class TextEditorPlugIn