Examples of ContentPanel


Examples of org.gwtoolbox.widget.client.panel.contentpanel.ContentPanel

    private ContentPanel contentPanel;

    public ContentPanelSamplePane() {

        Image image = new Image("images/gears.gif");
        contentPanel = new ContentPanel("Settings", image, true);
        contentPanel.setShowBorder(true);
        contentPanel.setCollapsable(true);
        contentPanel.setClosable(true);
        contentPanel.addCloseHandler(new CloseHandler<ContentPanel>() {
            public void onClose(CloseEvent<ContentPanel> contentPanelCloseEvent) {
View Full Code Here

Examples of org.gwtoolbox.widget.client.panel.contentpanel.ContentPanel

public class DashboardWidget extends Composite {

    private ContentPanel main;

    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);
View Full Code Here

Examples of org.gwtoolbox.widget.client.panel.contentpanel.ContentPanel

        dashboardColumn.addWidget(dashboardWidget);
        return dashboardWidget;
    }

    private void showMaximizedContent(Gadget gadget) {
        ContentPanel contentPanel = new ContentPanel(gadget.getTitle());
        contentPanel.addTool(ContentPanel.Tools.UNMAXIMIZE, new ClickHandler() {
            public void onClick(ClickEvent event) {
                main.setWidget(columns);
            }
        });
        contentPanel.setContent(gadget.getMaximizedContent());
        main.setWidget(contentPanel);
        contentPanel.setSize("100%", "100%");
    }
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.ContentPanel

    public void setDockableMainContentMode(boolean enable) {
        if (enable) {
            toolDockableContainer = new MultiSplitDockableContainer(MyDoggyToolWindowManager.this, JSplitPane.VERTICAL_SPLIT);
            toolDockableContainer.setStoreLayout(false);

            ContentPanel contentPanel = new ContentPanel("toolWindow.container.");
            contentPanel.setDropTarget(new ToolWindowCommonMultiSplitDropTarget(contentPanel, MyDoggyToolWindowManager.this));
            contentPanel.setComponent(toolDockableContainer);

            oldMainContent = getMainContent();
            setMainContent(contentPanel);
            dockableMainContentMode = true;
        } else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.