public final class SchedulePicker extends Object
SchedulePicker.getComponent()
.Constructor and Description |
---|
SchedulePicker()
Creates an instance of the picker.
|
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ChangeListener listener)
Adds a listener that will be notified when the selected schedule changes.
|
JComponent |
getComponent()
Returns a UI component that can be placed into a component hierarchy.
|
IssueScheduleInfo |
getScheduleDate()
Returns the current scheduling info either previously set by
SchedulePicker.setScheduleDate(IssueScheduleInfo) or manually edited by user. |
void |
removeChangeListener(ChangeListener listener)
Removes a listener, it will be no longer notified about changes.
|
void |
setScheduleDate(IssueScheduleInfo info)
Resets the current scheduling info in the component to a given value.
|
public JComponent getComponent()
public IssueScheduleInfo getScheduleDate()
SchedulePicker.setScheduleDate(IssueScheduleInfo)
or manually edited by user.null
can be returned and means not scheduled.public void setScheduleDate(IssueScheduleInfo info)
null
to specify no scheduling.info
- new scheduling info to set inside the component,
null
means not scheduled.public void addChangeListener(ChangeListener listener)
listener
- listener to addpublic void removeChangeListener(ChangeListener listener)
listener
- listener to remove