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

Examples of org.apache.isis.viewer.dnd.view.window.SubviewFocusManager


        super(new NullContent());
        image = ImageFactory.getInstance().loadImage(AboutIsis.getImageName());
        left = noticePadding;
        setContent(new NullContent(AboutIsis.getFrameworkName()));

        focusManager = new SubviewFocusManager(this);
    }
View Full Code Here


    public void addWindow(final View containedView, final Placement placement) {
        final boolean scrollable = !containedView.getSpecification().isResizeable();
        final WindowBorder windowView = new WindowBorder(containedView, scrollable);
        addView(windowView);
        placement.position(this, windowView);
        windowView.setFocusManager(new SubviewFocusManager(windowView));
    }
View Full Code Here

            }
        }
    }

    private View decorateView(final View view, final Axes axes) {
        view.setFocusManager(new SubviewFocusManager(view));
        View decorated = view;
        for (final CompositeViewDecorator decorator : viewDecorators) {
            decorated = decorator.decorate(decorated, axes);
        }
        return decorated;
View Full Code Here

    public PopupMenu(final PopupMenuContainer parent) {
        super(new NullContent(), new PopupSpecification());
        // REVIEW should this content be used as param 1 above?
        setContent(new PopupContent());
        setParent(parent);
        simpleFocusManager = new SubviewFocusManager(this);
    }
View Full Code Here

    @Override
    public View createView(final Content content, final Axes axes, final int sequence) {
        final ButtonAction actions[] = new ButtonAction[] { new CloseViewAction() };
        final MessageView messageView = new MessageView((MessageContent) content, this);
        final View dialogView = new ButtonBorder(actions, new ScrollBorder(messageView));
        dialogView.setFocusManager(new SubviewFocusManager(dialogView));
        return dialogView;
    }
View Full Code Here

    public PopupMenu(final PopupMenuContainer parent) {
        super(new NullContent(), new PopupSpecification());
        // REVIEW should this content be used as param 1 above?
        setContent(new PopupContent());
        setParent(parent);
        simpleFocusManager = new SubviewFocusManager(this);
    }
View Full Code Here

    public void addWindow(final View containedView, final Placement placement) {
        final boolean scrollable = !containedView.getSpecification().isResizeable();
        final WindowBorder windowView = new WindowBorder(containedView, scrollable);
        addView(windowView);
        placement.position(this, windowView);
        windowView.setFocusManager(new SubviewFocusManager(windowView));
    }
View Full Code Here

            }
        }
    }

    private View decorateView(final View view, final Axes axes) {
        view.setFocusManager(new SubviewFocusManager(view));
        View decorated = view;
        for (final CompositeViewDecorator decorator : viewDecorators) {
            decorated = decorator.decorate(decorated, axes);
        }
        return decorated;
View Full Code Here

    public void addWindow(final View containedView, final Placement placement) {
        final boolean scrollable = !containedView.getSpecification().isResizeable();
        final WindowBorder windowView = new WindowBorder(containedView, scrollable);
        addView(windowView);
        placement.position(this, windowView);
        windowView.setFocusManager(new SubviewFocusManager(windowView));
    }
View Full Code Here

    public PopupMenu(final PopupMenuContainer parent) {
        super(new NullContent(), new PopupSpecification());
        // REVIEW should this content be used as param 1 above?
        setContent(new PopupContent());
        setParent(parent);
        simpleFocusManager = new SubviewFocusManager(this);
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.viewer.dnd.view.window.SubviewFocusManager

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.