Class DateTimePicker
java.lang.Object
com.illumon.iris.console.utils.input.DateTimePicker
public class DateTimePicker extends Object
-
Constructor Summary
Constructors Constructor Description DateTimePicker(String title, String[] defaultValue, Object additionalParam)
-
Method Summary
Modifier and Type Method Description JComponent
getComponent()
JComponent
getPicker()
JComponent
getSpinner()
Long
getValueAsLong()
String[]
getValues()
protected void
initialize(Object obj)
When overridden in a descendant class, do any additional initialization needed.void
setValue(String[] value)
boolean
validate()
No validation in the basic picker.
-
Constructor Details
-
Method Details
-
initialize
When overridden in a descendant class, do any additional initialization needed. -
getValueAsLong
-
getValues
-
setValue
-
validate
public boolean validate()No validation in the basic picker. May be overridden in a descendant class.- Returns:
- Whether the input is valid.
-
getComponent
-
getPicker
-
getSpinner
-