public class CheckBoxEditorPlugIn extends DataEditorPlugIn
_backgroundUndefinedValue, _connection, _debug, _defaultValueString, _registry, _undefinedString| Constructor and Description |
|---|
CheckBoxEditorPlugIn() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkBoxModified(de.bsvrz.dav.daf.main.Data data,
javax.swing.JCheckBox checkBox,
boolean update) |
javax.swing.Box |
createComponent(de.bsvrz.dav.daf.main.Data data,
boolean editable,
java.util.List<javax.swing.JButton> additionalButtons)
Diese Methode erstellt aus dem übergebenen Data-Objekt eine Komponente zur Darstellung in der Oberfläche
|
javax.swing.JComponent |
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. |
compareTo, getByteArray, isByteAttributeType, toStringpublic javax.swing.Box createComponent(de.bsvrz.dav.daf.main.Data data,
boolean editable,
java.util.List<javax.swing.JButton> additionalButtons)
DataEditorPlugIncreateComponent in class DataEditorPlugIndata - Datumeditable - Ist das Data-Objekt editierbar?additionalButtons - Zusätzliche Buttons die im Element eingefügt werden sollen (z.B. bei Array-Elementen die Buttons zum Verdoppeln und Löschen)protected int getPriority()
DataEditorPlugIngetPriority in class DataEditorPlugInpublic 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 DataEditorPlugIndata - Datumtrue, wenn dieses PlugIn das übergebene Data-Objekt unterstützt, sonst falsepublic javax.swing.JComponent 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)public void checkBoxModified(de.bsvrz.dav.daf.main.Data data,
javax.swing.JCheckBox checkBox,
boolean update)