Interface ScheduleTaskForm<D extends ScheduleTaskData>
public interface ScheduleTaskForm<D extends ScheduleTaskData>
Definition of a form for configuring a related schedule task.
- Since:
- 5.2.14
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Container holding configuration information of a schedule task. -
Method Summary
Modifier and TypeMethodDescriptionvoid
load
(@NotNull ScheduleTaskForm.ScheduleTaskConfiguration<D> configuration) Load this form from the given configuration container.
Note: The form will be loaded only after its component was requested.boolean
openAndWait
(@NotNull Window parent, @NotNull String title) Opens the form in a modal way and waits for it to be closed.void
store
(@NotNull ScheduleTaskForm.ScheduleTaskConfiguration<D> configuration) Store this form to the given configuration container.
-
Method Details
-
load
Load this form from the given configuration container.
Note: The form will be loaded only after its component was requested.- Parameters:
configuration
- The configuration container.- Since:
- 5.2.14
-
store
Store this form to the given configuration container. Note: The form will be stored only after its component was requested.- Parameters:
configuration
- The configuration container.- Since:
- 5.2.14
-
openAndWait
Opens the form in a modal way and waits for it to be closed. Further indicates, whether the form was closed confirming made modifications or cancelled.- Parameters:
parent
- The parent window for the form.title
- The desired title for the form.- Returns:
true
, if the form was closed with accepted modifications,false
, else.- Since:
- 5.2.16
-