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.
|
boolean |
supportsData(Data data)
Gibt true zurück, wenn dieses PlugIn das übergebene Data-Objekt unterstützt.
|
java.lang.String |
toString() |
createValueBox
createComponent
compareTo, getByteArray, isByteAttributeType
protected void addComboItems(Data data, javax.swing.JComboBox<java.lang.String> comboBox)
addComboItems
in class ComboBoxEditorPlugIn
protected void comboBoxAttributeModified(javax.swing.JComboBox<java.lang.String> comboBox, javax.swing.JLabel suffixBox, Data data, boolean update)
comboBoxAttributeModified
in class ComboBoxEditorPlugIn
protected int getPriority()
DataEditorPlugIn
Gibt 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 ComboBoxEditorPlugIn
public boolean supportsData(Data data)
DataEditorPlugIn
Gibt 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 ComboBoxEditorPlugIn
data
- Datumpublic java.lang.String toString()
toString
in class ComboBoxEditorPlugIn