Package org.apache.isis.viewer.dnd.view.text

Examples of org.apache.isis.viewer.dnd.view.text.ObjectTitleText


    public IconBorder(final View wrappedView, final TitleText titleText, final IconGraphic iconGraphic, final Text style) {
        super(wrappedView);

        icon = iconGraphic == null ? new IconGraphic(this, style) : iconGraphic;
        text = titleText == null ? new ObjectTitleText(this, style) : titleText;
        titlebarHeight = VPADDING + icon.getSize().getHeight() + 1;

        top = titlebarHeight + VPADDING;
        left = right = HPADDING;
        bottom = VPADDING;
View Full Code Here


        super(wrappedView);

        replaceWithSpecification = replaceWith;

        icon = new IconGraphic(this, LABEL_STYLE);
        text = new ObjectTitleText(this, LABEL_STYLE);
        final int height = icon.getSize().getHeight();

        baseline = icon.getBaseline() + 1;

        left = 22;
View Full Code Here

    public TableRowBorder(final Axes axes, final View wrappedRow) {
        super(wrappedRow);

        final Text text = Toolkit.getText(ColorsAndFonts.TEXT_NORMAL);
        icon = new IconGraphic(this, text);
        title = new ObjectTitleText(this, text);
        baseline = icon.getBaseline();

        left = requiredTitleWidth() + BORDER;

        axis = axes.getAxis(TableAxis.class);
View Full Code Here

    @Override
    public View createView(final Content content, final Axes axes, final int sequence) {
        final Text style = Toolkit.getText(ColorsAndFonts.TEXT_NORMAL);
        final Icon icon = new Icon(content, this);
        icon.setTitle(new ObjectTitleText(icon, style));
        icon.setSelectedGraphic(new IconGraphic(icon, size));
        icon.setVertical(true);
        return new ObjectBorder(icon);
    }
View Full Code Here

    public IconBorder(final View wrappedView, final TitleText titleText, final IconGraphic iconGraphic, final Text style) {
        super(wrappedView);

        icon = iconGraphic == null ? new IconGraphic(this, style) : iconGraphic;
        text = titleText == null ? new ObjectTitleText(this, style) : titleText;
        titlebarHeight = VPADDING + icon.getSize().getHeight() + 1;

        top = titlebarHeight + VPADDING;
        left = right = HPADDING;
        bottom = VPADDING;
View Full Code Here

TOP

Related Classes of org.apache.isis.viewer.dnd.view.text.ObjectTitleText

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.