public class AssignViewVisitor extends java.lang.Object implements IPaneVisitor
IPaneVisitor
assigns a view to a given PaneConfiguration. Each
PaneDefinition
gets assigned a concrete view controller defined in the model. Using
IPaneConfigDelegate
you can assign another view controller to the pane.
Constructor and Description |
---|
AssignViewVisitor(com.softwareag.mobile.runtime.nui.nUIObject sender,
PaneConfiguration paneConfig,
IPaneConfigDelegate delegate,
java.util.Hashtable viewControllers)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.util.Hashtable |
getResultViewMap() |
void |
visit(HorizontalPaneSplitter splitter)
Specific operation for a @link{HorizontalPaneSplitter}.
|
void |
visit(PaneDefinition pane)
Specific operation for a @link{PaneDefinition}.
|
void |
visit(VerticalPaneSplitter splitter)
Specific operation for a @link{VerticalPaneSplitter}.
|
void |
visitAll() |
public AssignViewVisitor(com.softwareag.mobile.runtime.nui.nUIObject sender, PaneConfiguration paneConfig, IPaneConfigDelegate delegate, java.util.Hashtable viewControllers)
sender
- object will be propagated to the IPaneConfigDelegate
callback to inform user which object caused the call.paneConfig
- target PaneConfigurationdelegate
- see IPaneConfigDelegate
for more detailsviewControllers
- this is pane to view controller mapping. This parameter
overrides PaneDefinition.startView
in the Model.public java.util.Hashtable getResultViewMap()
public void visitAll()
public void visit(PaneDefinition pane)
IPaneVisitor
visit
in interface IPaneVisitor
public void visit(HorizontalPaneSplitter splitter)
IPaneVisitor
visit
in interface IPaneVisitor
public void visit(VerticalPaneSplitter splitter)
IPaneVisitor
visit
in interface IPaneVisitor