public static class MultiSplitLayout.Divider extends MultiSplitLayout.Node
Constructor and Description |
---|
Divider() |
Modifier and Type | Method and Description |
---|---|
boolean |
isVertical()
Convenience method, returns true if the Divider's parent
is a Split row (a Split with isRowLayout() true), false
otherwise.
|
void |
setWeight(double weight)
Dividers can't have a weight, they don't grow or shrink.
|
String |
toString() |
getBounds, getParent, getWeight, nextSibling, previousSibling, setBounds, setParent
public final boolean isVertical()
public void setWeight(double weight)
setWeight
in class MultiSplitLayout.Node
weight
- a double between 0.0 and 1.0UnsupportedOperationException
MultiSplitLayout.Node.getWeight()
,
MultiSplitLayout.layoutContainer(java.awt.Container)
Copyright © 2023. All rights reserved.