Examples of resetBounds()


Examples of org.noos.xing.mydoggy.plaf.ui.cmp.multisplit.MultiSplitLayout.Node.resetBounds()

            double w = 1.0 / ((children.size() / 2) + 1);

            sum = 0;
            for (int i = 0, size = children.size() - 1; i < size; i++) {
                Node node = children.get(i);
                node.resetBounds();
                if (!(node instanceof Divider)) {
                    node.setWeight(w);
                    sum += w;
                }
            }
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.multisplit.MultiSplitLayout.Node.resetBounds()

                    sum += w;
                }
            }

            Node lastNode = children.get(children.size() - 1);
            lastNode.resetBounds();
            lastNode.setWeight(1.0d - sum);

            multiSplitPane.getMultiSplitLayout().setFloatingDividers(true);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.