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

Examples of org.apache.isis.viewer.dnd.view.composite.StackLayout


    public void layoutFixedWidth() throws Exception {
        final View view = new DummyWorkspaceView();
        view.addView(subview1);
        view.addView(subview2);

        layout = new StackLayout(true);
        layout.layout(view, Size.createMax());

        Assert.assertEquals(new Size(120, 20), subview1.getSize());
        Assert.assertEquals(new Size(120, 20), subview2.getSize());
    }
View Full Code Here


import org.apache.isis.viewer.dnd.view.composite.StackLayout;

public class NewViewSpecification implements ViewSpecification {

    protected Layout createLayout(final Content content, final Axes axes) {
        return new StackLayout();
    }
View Full Code Here

        builder = new CollectionElementBuilder(this);
    }

    @Override
    public Layout createLayout(final Content content, final Axes axes) {
        return new StackLayout();
    }
View Full Code Here

    protected abstract View createElementView(Content content);

    @Override
    public Layout createLayout(final Content content, final Axes axes) {
        return new StackLayout(true);
    }
View Full Code Here

        builder = new ObjectFieldBuilder(this);
    }

    @Override
    public Layout createLayout(final Content content, final Axes axes) {
        return new StackLayout();
    }
View Full Code Here

        });
    }

    @Override
    public Layout createLayout(final Content content, final Axes axes) {
        return new StackLayout();
    }
View Full Code Here

        });
    }

    @Override
    public Layout createLayout(final Content content, final Axes axes) {
        return new StackLayout();
    }
View Full Code Here

                final int cellNo = acrossThenDown ? row * columns + column : column * rows + row;
                View cell;
                if (cellContents[cellNo] == null) {
                    cell = new BlankView(new NullContent());
                } else {
                    cell = new CompositeViewUsingBuilder(cellContents[cellNo], null, new Axes(), new StackLayout(), new CollectionElementBuilder(new IconElementFactory()));
                    cell = new ScrollBorder(cell);
                }
                cells[cellNo] = cell;
                addView(cell);
            }
View Full Code Here

public class FormWithTableSpecification extends SplitViewSpecification {

    @Override
    public Layout createLayout(final Content content, final Axes axes) {
        return new StackLayout();
    }
View Full Code Here

import org.apache.isis.viewer.dnd.view.composite.ViewBuilder;

public class CalendarSpecification implements CompositeViewSpecification {

    public Layout createLayout(final Content content, final Axes axes) {
        return new StackLayout();
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.viewer.dnd.view.composite.StackLayout

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.