public interface IController
TransitionStackController
. Modifier and Type | Method and Description |
---|---|
TransitionStackController |
getTransitionStackController()
Returns the assigned
TransitionStackController or null if no
TransitionStackController is used for the observed element. |
int |
getWindowPane()
Returns the Integer representation of the pane, which displays the observed
UI element.
|
void |
stackTransition(com.softwareag.mobile.runtime.nui.nUIObject sender,
int evtType,
AbstractViewController controller,
int transition,
int pane)
This method creates a new
TransitionStackController (TSC) using
sender as identifier if it does not already exist and navigates
to the view created by the given controller into the given pane. |
void |
transition(com.softwareag.mobile.runtime.nui.nUIObject sender,
int eventType,
AbstractViewController controller,
int transition,
int pane)
Navigates to the view created by
controller . |
void transition(com.softwareag.mobile.runtime.nui.nUIObject sender, int eventType, AbstractViewController controller, int transition, int pane)
controller
. The view with given
transition effect appears on the given pane. If there is a
StackTransitionController, which is associated with the pane, the
controller
will be pushed to it.sender
- The nUIObject
which triggers the event.eventType
- The type of the event. Possible types are declared in
nUIConstants
.controller
- The controller which contains a View to push.transition
- The type of the transition. Transition types are defined in
nUIController
.pane
- The Integer representation of the pane to push the View on.getTransitionStackController()
,
getWindowPane()
void stackTransition(com.softwareag.mobile.runtime.nui.nUIObject sender, int evtType, AbstractViewController controller, int transition, int pane)
TransitionStackController
(TSC) using
sender
as identifier if it does not already exist and navigates
to the view created by the given controller
into the given pane.
The new created TSC will be mapped to sender
and saved in the
current controller.
If a TransitionStackController
exists, the
controller
will be ignored. Depending on which controller is
currently associated with the target pane, methods navigates either to
sender
- object that triggered this call. Its NUIID is used as key to
store/retrieve TSC.evtType
- type of the event that triggered the call.controller
- if TSC does not exist, controller
is used as root
controller for the TSCtransition
- transition effect.pane
- target paneTransitionStackController getTransitionStackController()
TransitionStackController
or null if no
TransitionStackController is used for the observed element. TransitionStackController
assigned to the controller, which observes
a given View the Template is assigned to. TransitionStackController
assigned to the View's controller.TransitionStackController
or null.int getWindowPane()
Constants
interface.