public class TimeEditorPlugIn extends ComboBoxEditorPlugIn
GTM-Editor-Plugin, dass für Zeitwerte (ohen datum) zuständig ist (att.uhrzeit)
| Modifier and Type | Field and Description |
|---|---|
static java.time.format.DateTimeFormatter |
TIME_FORMAT |
_backgroundUndefinedValue, _connection, _debug, _defaultValueString, _registry, _undefinedString| Constructor and Description |
|---|
TimeEditorPlugIn() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addComboItems(Data data,
javax.swing.JComboBox<java.lang.String> comboBox) |
protected void |
comboBoxAttributeModified(javax.swing.JComboBox<java.lang.String> comboBox,
javax.swing.JLabel suffixBox,
Data data,
boolean update) |
protected int |
getPriority()
Gibt die Priorität zurück.
|
private java.time.LocalTime |
parseDate(java.lang.String value) |
boolean |
supportsData(Data data)
Gibt true zurück, wenn dieses PlugIn das übergebene Data-Objekt unterstützt.
|
java.lang.String |
toString() |
createValueBoxcreateComponentcompareTo, getByteArray, isByteAttributeTypeprotected void addComboItems(Data data, javax.swing.JComboBox<java.lang.String> comboBox)
addComboItems in class ComboBoxEditorPlugInprotected void comboBoxAttributeModified(javax.swing.JComboBox<java.lang.String> comboBox,
javax.swing.JLabel suffixBox,
Data data,
boolean update)
comboBoxAttributeModified in class ComboBoxEditorPlugInprivate java.time.LocalTime parseDate(java.lang.String value)
protected int getPriority()
DataEditorPlugInGibt die Priorität zurück. Wenn mehrere PlugIns ein Datum unterstützen wird standardmäßig das PlugIn mit der höchsten Priorität ausgewählt.
getPriority in class ComboBoxEditorPlugInpublic boolean supportsData(Data data)
DataEditorPlugInGibt true 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 ComboBoxEditorPlugIndata - Datumpublic java.lang.String toString()
toString in class ComboBoxEditorPlugIn