Package com.ardor3d.extension.ui.border

Examples of com.ardor3d.extension.ui.border.SolidBorder


    }

    @Override
    protected void applyToTextField(final UITextField component) {

        final SolidBorder border = new SolidBorder(1, 1, 1, 1);
        border.setLeftColor(ColorRGBA.GRAY);
        border.setTopColor(ColorRGBA.GRAY);
        border.setRightColor(ColorRGBA.LIGHT_GRAY);
        border.setBottomColor(ColorRGBA.LIGHT_GRAY);

        final SolidBackdrop backdrop = new SolidBackdrop(ColorRGBA.WHITE);

        component.setPadding(new Insets(1, 1, 1, 1));
View Full Code Here


    }

    @Override
    protected void applyToTextArea(final UITextArea component) {

        final SolidBorder border = new SolidBorder(1, 1, 1, 1);
        border.setLeftColor(ColorRGBA.GRAY);
        border.setTopColor(ColorRGBA.GRAY);
        border.setRightColor(ColorRGBA.LIGHT_GRAY);
        border.setBottomColor(ColorRGBA.LIGHT_GRAY);

        final SolidBackdrop backdrop = new SolidBackdrop(ColorRGBA.WHITE);

        component.setPadding(new Insets(1, 1, 1, 1));
View Full Code Here

    }

    @Override
    protected void applyToTooltip(final UITooltip component) {
        component.setBackdrop(new SolidBackdrop(ColorRGBA.LIGHT_GRAY));
        component.setBorder(new SolidBorder(1, 1, 1, 1));
        component.setForegroundColor(ColorRGBA.BLACK);
        component.setOpacity(1.0f);
    }
View Full Code Here

        }
    }

    @Override
    protected void applyToScrollBar(final UIScrollBar component) {
        final SolidBorder border = new SolidBorder(1, 1, 1, 1);
        border.setColor(new ColorRGBA(165 / 255f, 165 / 255f, 165 / 255f, 1f));
        component.setMargin(new Insets());
        component.setPadding(new Insets());
        component.setBorder(border);
        {
            final UIButton button = component.getBtTopLeft();
View Full Code Here

TOP

Related Classes of com.ardor3d.extension.ui.border.SolidBorder

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.