public static class MultiSplitLayout.Divider extends MultiSplitLayout.Node
Constructor and Description |
---|
MultiSplitLayout.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.
|
java.lang.String |
toString() |
getBounds, getParent, getWeight, isVisible, nextSibling, previousSibling, setBounds, setParent, setVisible
public final boolean isVertical()
public void setWeight(double weight)
setWeight
in class MultiSplitLayout.Node
weight
- a double between 0.0 and 1.0java.lang.UnsupportedOperationException
MultiSplitLayout.Node.getWeight()
,
MultiSplitLayout.layoutContainer(java.awt.Container)
public java.lang.String toString()
toString
in class java.lang.Object