Package | Description |
---|---|
org.jdesktop.swingx |
N-section split-pane classes.
|
Modifier and Type | Class and Description |
---|---|
static class |
MultiSplitLayout.Divider
Models a single vertical/horiztonal divider.
|
static class |
MultiSplitLayout.Leaf
Models a java.awt Component child.
|
static class |
MultiSplitLayout.Split
Defines a vertical or horizontal subdivision into two or more
tiles.
|
Modifier and Type | Method and Description |
---|---|
MultiSplitLayout.Node |
MultiSplitLayout.getModel()
Return the root of the tree of Split, Leaf, and Divider nodes
that define this layout.
|
MultiSplitLayout.Node |
MultiSplitLayout.InvalidLayoutException.getNode() |
MultiSplitLayout.Node |
MultiSplitLayout.Split.lastWeightedChild()
Convenience method that returns the last child whose weight
is > 0.0.
|
MultiSplitLayout.Node |
MultiSplitLayout.Node.nextSibling()
Return the Node that comes after this one in the parent's
list of children, or null.
|
static MultiSplitLayout.Node |
MultiSplitLayout.parseModel(String s)
A convenience method that converts a string to a
MultiSplitLayout model (a tree of Nodes) using a
a simple syntax.
|
MultiSplitLayout.Node |
MultiSplitLayout.Node.previousSibling()
Return the Node that comes before this one in the parent's
list of children, or null.
|
Modifier and Type | Method and Description |
---|---|
List<MultiSplitLayout.Node> |
MultiSplitLayout.Split.getChildren()
Returns this Split node's children.
|
Modifier and Type | Method and Description |
---|---|
static void |
MultiSplitLayout.printModel(MultiSplitLayout.Node root)
Print the tree with enough detail for simple debugging.
|
void |
MultiSplitLayout.setModel(MultiSplitLayout.Node model)
Set the root of the tree of Split, Leaf, and Divider nodes
that define this layout.
|
void |
MultiSplitPane.setModel(MultiSplitLayout.Node model)
A convenience method that sets the MultiSplitLayout model.
|
Modifier and Type | Method and Description |
---|---|
void |
MultiSplitLayout.Split.setChildren(List<MultiSplitLayout.Node> children)
Set's the children property of this Split node.
|
Constructor and Description |
---|
InvalidLayoutException(String msg,
MultiSplitLayout.Node node) |
MultiSplitLayout(MultiSplitLayout.Node model)
Create a MultiSplitLayout with the specified model.
|
Copyright © 2023. All rights reserved.