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() |
createValueBox
createComponent
compareTo, getByteArray, isByteAttributeType
private static final java.time.format.DateTimeFormatter[] _parseDateFormats
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
private long parseDate(java.lang.String value)
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