public interface IPaneConfigDelegate
PaneConfiguration
and
can be passed to
AbstractApplicationController.changePaneConfiguration(com.softwareag.mobile.runtime.nui.nUIObject, com.softwareag.mobile.runtime.toolkit.ui.pane.PaneConfiguration, com.softwareag.mobile.runtime.toolkit.ui.pane.IPaneConfigDelegate, java.util.Hashtable)
method, which
changes the current PaneConfiguration
.
Modifier and Type | Method and Description |
---|---|
boolean |
createTransitionStackController(com.softwareag.mobile.runtime.nui.nUIObject sender,
PaneConfiguration pc,
PaneDefinition pane,
AbstractViewController assignedAVC)
Override this method to disable the automatically creation of a
TransitionStackController.
|
int |
getTransitionFromStyle(com.softwareag.mobile.runtime.nui.nUIObject sender,
PaneConfiguration pc,
int pane)
Use this method to change transition effect by transition from the given
pane.
|
int |
getTransitionToStyle(com.softwareag.mobile.runtime.nui.nUIObject sender,
PaneConfiguration pc,
int pane)
Use this method to change transition effect by transition to the given pane.
|
AbstractViewController |
onAssignView(com.softwareag.mobile.runtime.nui.nUIObject sender,
PaneConfiguration pc,
PaneDefinition pane,
AbstractViewController avcToAssign)
This callback can be used to change a view controller that will be used to
create a view for the given pane.
|
void |
onSetupPaneDimension(com.softwareag.mobile.runtime.nui.nUIObject sender,
PaneConfiguration pc,
PaneDefinition pane)
This callback will be called after dimensions for the current pane are
calculated.
|
AbstractViewController onAssignView(com.softwareag.mobile.runtime.nui.nUIObject sender, PaneConfiguration pc, PaneDefinition pane, AbstractViewController avcToAssign)
PaneDefinition#getStartView()
controller will be applied.sender
- object that caused the PaneConfiguration
changing.pc
- a PaneConfiguration
, which is being activated.pane
- current PaneDefinition
. (The most important
information for this callback is paneId).avcToAssign
- AbstractViewController
, that will be used to
create a view for current pane.new MasterViewControllerImpl()
boolean createTransitionStackController(com.softwareag.mobile.runtime.nui.nUIObject sender, PaneConfiguration pc, PaneDefinition pane, AbstractViewController assignedAVC)
sender
- pc
- pane
- assignedAVC
- view controller that was assigned for this pane.TransitionStackController
for this
pane and false otherwise.void onSetupPaneDimension(com.softwareag.mobile.runtime.nui.nUIObject sender, PaneConfiguration pc, PaneDefinition pane)
AbstractPane.getPaneRect()
method. However it can cause pane
overlapping.sender
- pc
- pane
- int getTransitionFromStyle(com.softwareag.mobile.runtime.nui.nUIObject sender, PaneConfiguration pc, int pane)
sender
- pc
- pane
- nUIController#TRANSITION_*
int getTransitionToStyle(com.softwareag.mobile.runtime.nui.nUIObject sender, PaneConfiguration pc, int pane)
sender
- pc
- pane
- nUIController#TRANSITION_*