Package org.apache.isis.viewer.dnd.icon

Examples of org.apache.isis.viewer.dnd.icon.Icon


        return requirement.isFor(ServiceObject.class) && requirement.getSpecification().isService();
    }

    @Override
    public View createView(final Content content, final Axes axes, final int sequence) {
        final Icon icon = new ServiceIcon(content, this);
        return new ServiceBorder(icon);
    }
View Full Code Here


public class ImageViewSpecification implements ViewSpecification {

    @Override
    public View createView(final Content content, final Axes axes, final int sequence) {
        final Icon icon = new Icon(content, ImageViewSpecification.this);
        final Text textStyle = Toolkit.getText(ColorsAndFonts.TEXT_NORMAL);
        icon.setTitle(new ObjectTitleText(icon, textStyle));
        icon.setSelectedGraphic(new IconGraphic(icon, 68));
        icon.setUnselectedGraphic(new IconGraphic(icon, 60));
        icon.setVertical(true);

        return icon;
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.viewer.dnd.icon.Icon

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.