public class TheatreInitializer0 extends Object implements TheatreInitializer
Constructor and Description |
---|
TheatreInitializer0() |
Modifier and Type | Method and Description |
---|---|
void |
initFrom(Stage _s,
boolean _rPending)
Here the prop or other component initializes its own properties by reference to a
previously initialized stage.
|
void |
initFromComplete(Stage _s,
boolean _rPending)
Signals that
initFrom was called for all props and that immediate
initialization of the stage is complete and the associated events have fired. |
void |
initTo(Stage _s)
Here the prop or other component initializes the properties of the stage.
|
void |
initTo(Stage _s,
TheatrePage _r)
Here the prop or other component initializes the properties of the stage.
|
void |
initToComplete(Stage _s,
boolean _rPending)
Signals that
initTo was called for all props and that immediate
initialization of the stage is complete and the associated events have fired. |
void |
initUltimately(Stage _s,
TheatrePage _r)
Signals that deferred resolution of the referrer is now complete.
|
public TheatreInitializer0()
public void initFrom(Stage _s, boolean _rPending)
TheatreInitializer
The equivalent JavaScript callback is the global function
voGWTConfig.s_gwt_stage_Stage_initFrom
. It may be defined in the
gwt.js configuration script, for
example.
initFrom
in interface TheatreInitializer
_rPending
- whether the referrer (if any) remains to be resolved. If this
flag is true, then initialization will eventually complete at initUltimately; otherwise it will
complete earlier at initFromComplete.public void initFromComplete(Stage _s, boolean _rPending)
TheatreInitializer
initFrom
was called for all props and that immediate
initialization of the stage is complete and the associated events have fired.
Referrer resolution may yet follow depending on the value of
rPending
. This method is called only when the state is initialized
by restoration, i.e. in those cases where initFrom
is called.
The equivalent JavaScript callback is the global function
voGWTConfig.s_gwt_stage_Stage_initFromComplete
. It may be defined in
the gwt.js configuration script, for
example.
initFromComplete
in interface TheatreInitializer
_rPending
- true if initialization will eventually complete at initUltimately; false if this is the end
of it.public void initTo(Stage _s)
TheatreInitializer
The equivalent JavaScript callback is the global function
voGWTConfig.s_gwt_stage_Stage_initTo
. It may be defined in the
gwt.js configuration script, for
example.
initTo
in interface TheatreInitializer
public void initTo(Stage _s, TheatrePage _r)
TheatreInitializer
r
parameter. The prop will also provide a means of selecting other
differences and of re-selecting the original one, such that the user need never
navigate back and re-transit the link for this purpose.
A prop ought generally to avoid transferring a given property from a referrer when it already has a non-default value on the destination, whether set by the scene or by another prop. By the same token, an initializer that sets a default value for a property, such as actor name, will typically null the ordinary value to ensure that the default is immediately exhibited. It is recommended however that defaults be set earlier, e.g. during module initialization.
The equivalent JavaScript callback is the global function
voGWTConfig.s_gwt_stage_Stage_initTo
. It may be defined in the
gwt.js configuration script, for
example.
initTo
in interface TheatreInitializer
_r
- the theatre page that linked to this page (referrer), or null if
there was none.public void initToComplete(Stage _s, boolean _rPending)
TheatreInitializer
initTo
was called for all props and that immediate
initialization of the stage is complete and the associated events have fired.
Referrer resolution may yet follow depending on the value of
rPending
. This method is called only when the state is initialized
from scratch, i.e. in those cases where initTo
is called.
The equivalent JavaScript callback is the global function
voGWTConfig.s_gwt_stage_Stage_initToComplete
. It may be defined in
the gwt.js configuration script, for
example.
initToComplete
in interface TheatreInitializer
_rPending
- true if initialization will eventually complete at initUltimately; false if this is the end
of it.public void initUltimately(Stage _s, TheatrePage _r)
TheatreInitializer
rPending
was asserted in one of the
previous initialization calls. Resolution is never deferred longer than 5000 milliseconds.
The equivalent JavaScript callback is the global function
voGWTConfig.s_gwt_stage_Stage_initUltimately
. It may be defined in
the gwt.js configuration script, for
example.
initUltimately
in interface TheatreInitializer
_r
- the theatre page that linked to this page (referrer), or null if
there was none. The prop may transfer state from the referrer as noted for
initTo
(stage,referrer), but with the
further stipulation that any state changes by the user subsequent to the
completion of immediate initialization ought to be honoured and not
overidden.