Package com.ardor3d.extension.ui

Examples of com.ardor3d.extension.ui.UIPanel.layout()


                // use an scurve to smoothly shift origin
                parent.setHudXY(Math.round(MathUtils.lerp(sCurve, originX, endX)), Math.round(MathUtils.lerp(sCurve,
                        originY, endY)));

                parent.layout();
            }
        });
    }

    @Override
View Full Code Here


                angle += time * 10;
                angle %= 360;
                rotate.fromAngleNormalAxis(angle * MathUtils.DEG_TO_RAD, axis);
                caller.setRotation(rotate);
                caller.fireComponentDirty();
                panel.layout();
            }
        });
        rotatingLabel.setLayoutData(BorderLayoutData.NORTH);

        return panel;
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.