public class DateEditorPlugIn extends ComboBoxEditorPlugIn
GTM-Editor-Plugin, dass für absolute Datumswerte zuständig ist
| Modifier and Type | Field and Description |
|---|---|
private static java.time.format.DateTimeFormatter[] |
_parseDateFormats |
_backgroundUndefinedValue, _connection, _debug, _defaultValueString, _registry, _undefinedString| Constructor and Description |
|---|
DateEditorPlugIn() |
| 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 long |
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, isByteAttributeTypeprivate static final java.time.format.DateTimeFormatter[] _parseDateFormats
protected 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 long 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