Constructor and Description |
---|
OASchedulerController(Hub<F> hubFrom,
Hub hubLink,
String ppSchedule,
String ppDateTimeFrom,
String ppDateTimeTo)
Constructor that uses datetime properties (instead of date & time)
|
OASchedulerController(Hub<F> hubFrom,
Hub hubLink,
String ppSchedule,
String ppDateFrom,
String ppTimeFrom,
String ppDateTo,
String ppTimeTo)
Create a new scheduler panel, that allows user to find an available datetime slot to schedule the active object in hubFrom.
|
OASchedulerController(Hub<F> hubFrom,
String ppSchedule,
String ppDateTimeFrom,
String ppDateTimeTo) |
OASchedulerController(Hub<F> hubFrom,
String ppSchedule,
String ppDateFrom,
String ppTimeFrom,
String ppDateTo,
String ppTimeTo) |
Modifier and Type | Method and Description |
---|---|
Hub |
getDetailHub() |
String |
getFromDateProperty() |
OAScheduler |
getSchedulerCallback(OADate date)
Called to call the Hub activeObject scheduler callback.
|
int |
getType() |
void |
set(OADateTime dtFrom,
OADateTime dtTo)
Called to update the active object's schedule object's date & time values.
|
protected void |
setup() |
public OASchedulerController(Hub<F> hubFrom, Hub hubLink, String ppSchedule, String ppDateFrom, String ppTimeFrom, String ppDateTo, String ppTimeTo)
hubFrom
- object that is being scheduled.hubLink
- (optional) link hub that has the reference schedule objectppSchedule
- property path to the schedule reference (OAOne) link object.ppDisplay
- property from schedule to use for display/renderer.ppDateFrom
- property from schedule objectppTimeFrom
- property from schedule objectppDateTo
- property from schedule objectppTimeTo
- property from schedule objectpublic OASchedulerController(Hub<F> hubFrom, String ppSchedule, String ppDateFrom, String ppTimeFrom, String ppDateTo, String ppTimeTo)
public OASchedulerController(Hub<F> hubFrom, Hub hubLink, String ppSchedule, String ppDateTimeFrom, String ppDateTimeTo)
hubFrom
- ppSchedule
- ppDisplay
- ppDateTimeFrom
- ppDateTimeTo
- public int getType()
public Hub getDetailHub()
public String getFromDateProperty()
protected void setup()
public OAScheduler getSchedulerCallback(OADate date)
date
- public void set(OADateTime dtFrom, OADateTime dtTo)
objSchedule
- schedule object that was selected (can be null)dtFrom
- begin date/time slot selecteddtTo
- end date/time slot selectedCopyright © 1999–2025 ViaOA. All rights reserved.