Package com.alee.utils.ninepatch

Examples of com.alee.utils.ninepatch.NinePatchIcon


        cpHeight += ci.top + ci.bottom;

        // Computing final size
        final int width = i.left + MathUtils.max ( tpWidth, cpWidth ) + i.right;
        final int height = i.top + tpHeight + cpHeight + i.bottom;
        final NinePatchIcon shadeIcon = rootUI.getShadeIcon ( root );
        final Dimension d = new Dimension ( width, height );
        return shadeIcon != null ? SwingUtils.max ( d, shadeIcon.getPreferredSize () ) : d;
    }
View Full Code Here

TOP

Related Classes of com.alee.utils.ninepatch.NinePatchIcon

Copyright © 2018 www.massapicom. 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.