Package org.apache.pivot.wtk.effects

Examples of org.apache.pivot.wtk.effects.TagDecorator


        frame.setTitle("Tag Decorator Test");
        frame.setPreferredSize(480, 360);

        Image tag = Image.load(getClass().getResource("go-home.png"));

        frame.getDecorators().add(new TagDecorator(tag,
            HorizontalAlignment.RIGHT, VerticalAlignment.TOP,
            10, -10));

        frame.open(display);
    }
View Full Code Here


        frame.setTitle("Tag Decorator Test");
        frame.setPreferredSize(480, 360);

        Image tag = Image.load(getClass().getResource("go-home.png"));

        frame.getDecorators().add(new TagDecorator(tag,
            HorizontalAlignment.RIGHT, VerticalAlignment.TOP,
            10, -10));

        frame.open(display);
    }
View Full Code Here

        frame.setTitle("Tag Decorator Test");
        frame.setPreferredSize(480, 360);

        Image tag = Image.load(getClass().getResource("go-home.png"));

        frame.getDecorators().add(new TagDecorator(tag,
            HorizontalAlignment.RIGHT, VerticalAlignment.TOP,
            10, -10));

        frame.open(display);
    }
View Full Code Here

TOP

Related Classes of org.apache.pivot.wtk.effects.TagDecorator

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.