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

Examples of org.apache.isis.viewer.dnd.view.border.TextFieldResizeBorder


    }

    @Override
    public View createView(final Content content, final Axes axes, final int sequence) {
        final SingleLineTextField textField = new SingleLineTextField((TextParseableContent) content, this, true);
        final View field = new TextFieldResizeBorder(textField);
        return new OpenDropDownBorder(field) {
            @Override
            protected View createDropDownView() {
                return DatePickerControl.getPicker(content);
            }
View Full Code Here


    @Override
    public View createView(final Content content, final Axes axes, final int sequence) {
        final WrappedTextField wrappedTextField = new WrappedTextField((TextParseableContent) content, this, true);
        wrappedTextField.setNoLines(((TextParseableContent) content).getNoLines());
        wrappedTextField.setWrapping(((TextParseableContent) content).canWrap());
        return new TextFieldResizeBorder(wrappedTextField);
    }
View Full Code Here

        return requirement.isTextParseable() && ((TextParseableContent) requirement.getContent()).getNoLines() == 1;
    }

    @Override
    public View createView(final Content content, final Axes axes, final int sequence) {
        final View field = new TextFieldResizeBorder(new SingleLineTextField((TextParseableContent) content, this, true));
        if (content.isOptionEnabled()) {
            return new OpenValueDropDownBorder(field);
        } else {
            return field;
        }
View Full Code Here

    }

    @Override
    public View createView(final Content content, final Axes axes, final int sequence) {
        final View field =
            new TextFieldResizeBorder(new SingleLineTextField((TextParseableContent) content, this, true));
        if (content.isOptionEnabled()) {
            return new OpenValueDropDownBorder(field);
        } else {
            return field;
        }
View Full Code Here

TOP

Related Classes of org.apache.isis.viewer.dnd.view.border.TextFieldResizeBorder

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.