|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.swingx.MultiSplitLayout.Node
public abstract static class MultiSplitLayout.Node
Base class for the nodes that model a MultiSplitLayout.
Constructor Summary | |
---|---|
MultiSplitLayout.Node()
|
Method Summary | |
---|---|
Rectangle |
getBounds()
Returns the bounding Rectangle for this Node. |
MultiSplitLayout.Split |
getParent()
Returns the Split parent of this Node, or null. |
double |
getWeight()
Value between 0.0 and 1.0 used to compute how much space to add to this sibling when the layout grows or how much to reduce when the layout shrinks. |
boolean |
isVisible()
Determines whether this node should be visible when its parent is visible. |
MultiSplitLayout.Node |
nextSibling()
Return the Node that comes after this one in the parent's list of children, or null. |
MultiSplitLayout.Node |
previousSibling()
Return the Node that comes before this one in the parent's list of children, or null. |
void |
setBounds(Rectangle bounds)
Set the bounding Rectangle for this node. |
void |
setParent(MultiSplitLayout.Split parent)
Set the value of this Node's parent property. |
void |
setVisible(boolean b)
|
void |
setWeight(double weight)
The weight property is a between 0.0 and 1.0 used to compute how much space to add to this sibling when the layout grows or how much to reduce when the layout shrinks. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiSplitLayout.Node()
Method Detail |
---|
public void setVisible(boolean b)
public boolean isVisible()
true
if the node is visible,
false
otherwisepublic MultiSplitLayout.Split getParent()
setParent(org.jdesktop.swingx.MultiSplitLayout.Split)
public void setParent(MultiSplitLayout.Split parent)
parent
- a Split or nullgetParent()
public Rectangle getBounds()
setBounds(java.awt.Rectangle)
public void setBounds(Rectangle bounds)
new Rectangle(0,0,0,0)
.
bounds
- the new value of the bounds property
IllegalArgumentException
- if bounds is nullgetBounds()
public double getWeight()
setWeight(double)
public void setWeight(double weight)
weight
- a double between 0.0 and 1.0
IllegalArgumentException
- if weight is not between 0.0 and 1.0getWeight()
,
MultiSplitLayout.layoutContainer(java.awt.Container)
public MultiSplitLayout.Node nextSibling()
previousSibling()
,
getParent()
public MultiSplitLayout.Node previousSibling()
nextSibling()
,
getParent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |