[This is preliminary documentation and is subject to change.]
- replacementPaneName (String)
- The name of the new Pane which receives the contents of the original Pane.
- emptyPaneName (String)
- The name of the new empty Pane.
- emptyPaneType (PaneType)
- The type of the Pane which will be the empty one of the two new Panes. This also determines the orientation of the panes.
The contents of the original Pane is placed in one of the new panes, and the other Pane remains empty. The orientation of the two panes and which Pane will be empty is determined by the supplied PaneType.
The original Pane must be Splittable, otherwise an exception is thrown. The original Pane still exists and becomes the parent Pane of the two new Panes.