Examples of IconGraphic


Examples of org.apache.isis.viewer.dnd.view.graphic.IconGraphic

class ExampleIconView extends DrawingView {
    private IconGraphic icon;

    public ExampleIconView(final Content content, final int size) {
        super(content);
        icon = new IconGraphic(this, size, 0);
        setMaximumSize(icon.getSize());
    }
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.graphic.IconGraphic

    public ExampleIconViewWithText(final Content content, final Text text, final boolean showBounds) {
        super(content);
        this.text = text;
        this.showBounds = showBounds;
        icon = new IconGraphic(this, text);
        Size size = icon.getSize();
        size.extendWidth(text.stringWidth(string));
        setMaximumSize(size);
    }
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.graphic.IconGraphic

class ExampleClassIconView extends DrawingView {
    private IconGraphic icon;

    public ExampleClassIconView(final Content content, final int size) {
        super(content);
        icon = new IconGraphic(this, size, 0);
        setMaximumSize(icon.getSize());
    }
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.