|
|
|||||
| Package com.dassault_systemes.catjdialog |
Class CATDateEditor
|
| Class Hierarchy |
java.lang.Object
|
+-com.dassault_systemes.catjdialog.CATCallbackSource
|
+-com.dassault_systemes.catjdialog.CATDialog
|
+-com.dassault_systemes.catjdialog.CATDateEditor
| Class Location |
| Class Description |
public class CATDateEditor
The date editor graphical component.
| Field Summary |
| Constructor Summary |
| CATDateEditor(CATDialog iDialog, String iName)
Creates a date editor with the specified parent and name. |
| Method Summary |
| public CATDate | getDate()
Returns the date that is presented by the editor. |
| public boolean | getEnable()
Determines whether this date editor is enabled or not. |
| public boolean | isInputValid()
Determines whether the input value is a valid date or not (blank input is considered as a valid "no-date" input). |
| public void | setDate(CATDate iDate)
Sets the date that is presented by the editor. |
| public void | setEnable(boolean iEnable)
Enables or disables this date editor. |
| Field Detail |
| Constructor Detail |
CATDateEditor(CATDialog iDialog, String iName)
Creates a date editor with the specified parent and name.
iParentiName| Method Detail |
public CATDate getDate()
Returns the date that is presented by the editor.
isInputValid()).
public boolean getEnable()
Determines whether this date editor is enabled or not.
true if this editor is enabled; false otherwise.
public boolean isInputValid()
Determines whether the input value is a valid date or not (blank input is considered as a valid "no-date" input).
true if the input is a valid date (or empty input); false otherwise.
public void setDate(CATDate iDate)
Sets the date that is presented by the editor.
A
public void setEnable(boolean iEnable)
Enables or disables this date editor.
A disabled date editor doesn't allow any user input.
iEnabletrue, this date editor is enabled; otherwise it is disabled.