Package com.google.gwt.user.client.ui

Examples of com.google.gwt.user.client.ui.SimplePanel


    public DashboardWidget(String name, Widget content, DashboardDragController controller) {
        main = new ContentPanel(name);
        main.setCollapsable(true);
        main.setContent(content);
        main.addTitleMouseHandler(new DnDListener(this, controller));
        SimplePanel panel = new SimplePanel();
        panel.setWidget(main);
        main.setWidth("100%");
        initWidget(panel);
        setStylePrimaryName("DashboardWidget");
    }
View Full Code Here


    private HandlerRegistration[] internalHandlerRegistrations;

    public ToolButton(Image image) {
        initFaces(image);

        imagePane = new SimplePanel();
        DOM.setStyleAttribute(imagePane.getElement(), "position", "relative");

        initWidget(imagePane);
        imagePane.setStylePrimaryName("ToolButton");
        setCurrentFace(UP);
View Full Code Here

    private CompoundHandlerRegistration internalHandlerRegistrations;

    public ToggleToolButton(Image image) {
        initFaces(image);

        imagePane = new SimplePanel();
        DOM.setStyleAttribute(imagePane.getElement(), "position", "relative");

        initWidget(imagePane);
        imagePane.setStylePrimaryName("ToolButton");
        setCurrentFace(UP);
View Full Code Here

    private HandlerRegistration[] internalHandlerRegistrations;

    public ImageToggleButton(Image image) {
        initFaces(image);

        imagePane = new SimplePanel();
        DOM.setStyleAttribute(imagePane.getElement(), "position", "relative");

        initWidget(imagePane);
        imagePane.setStylePrimaryName("ImageToggleButton");
        setCurrentFace(UP);
View Full Code Here

    {
        super();
        setSize("100%", "100%");
        setStyleName("jiplet-FormsPanel");

        panel = new SimplePanel();
        setWidget(panel);

        showHomePage();
        instance = this;
    }
View Full Code Here

        setCalendar(parent);
        content = new HorizontalPanel();
        timebar = new Timebar(format24h);
        content.add(timebar);

        wrapper = new SimplePanel();
        wrapper.setStylePrimaryName("v-calendar-week-wrapper");
        wrapper.add(content);

        setWidget(wrapper);
    }
View Full Code Here

        } else if (!isVerticalScrollEnabled && (isVerticalScrollable())) {
            verticalScrollEnabled = false;
            horizontalScrollEnabled = false;
            wrapper.remove(content);

            SimplePanel simplePanel = new SimplePanel();
            simplePanel.setStylePrimaryName("v-calendar-week-wrapper");
            simplePanel.setWidget(content);

            setWidget(simplePanel);
            wrapper = simplePanel;
        }
    }
View Full Code Here

        context.add(BROWSE, new ContactBrowser(), new ContactBrowserAction());

        // add a named BoundWidget (ContactEdit) with an action (ContactEditAction)
        context.add(EDIT, new ContactEdit(), new ContactEditAction());

        SimplePanel p = new SimplePanel();
        p.setWidth("500px");

        // set FlowContext and HistoryManager into FlowController
        FlowController.setFlowContext(p, context);
        FlowController.setHistoryManager(new SimpleSessionHistoryManager());
View Full Code Here

        };

    /** Creates a new instance of SoftVerticalScroll */
    public SoftHorizontalScrollbar(SoftScrollArea target) {
        this.target = target;
        this.base = new SimplePanel();

        Panel horizontal = new HorizontalPanel();
        this.base.setWidget(horizontal);
        super.initWidget(this.base);
        this.higherTarget.setWidget(this.higher);
View Full Code Here

        };

    /** Creates a new instance of SoftVerticalScroll */
    public SoftScrollbar(SoftScrollArea target) {
        this.target = target;
        this.base = new SimplePanel();

       
        this.base.setWidget(vertical);
        super.initWidget(this.base);
        this.higherTarget.setWidget(this.higher);
View Full Code Here

TOP

Related Classes of com.google.gwt.user.client.ui.SimplePanel

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.