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

Examples of com.google.gwt.user.client.ui.DeckPanel$SlideAnimation


    }

    public DeckPanel createSubnavigation() {

        DeckPanel subnavigation = new DeckPanel();

        // TODO: fill in contents

        return subnavigation;
    }
View Full Code Here


    // Use RootPanel.get() to get the entire body element
    RootPanel rootPanel = RootPanel.get("nameFieldContainer");
    rootPanel.setSize("479", "200");
    rootPanel.setStyleName("gwt-RootPanel");
   
    DeckPanel deckPanel = new DeckPanel();
    deckPanel.setStyleName("gwt-Container");
    rootPanel.add(deckPanel, 0, 0);
    deckPanel.setSize("479px", "171px");
   
    VerticalPanel deckChild1 = new VerticalPanel();
    deckPanel.add(deckChild1);
    deckChild1.setSize("100%", "141px");
   
    Label lblTitleProject = new Label("Creare un nuovo baseData progetto.");
    deckChild1.add(lblTitleProject);
   
    FlexTable flexTableProject = new FlexTable();
    flexTableProject.setCellPadding(4);
    deckChild1.add(flexTableProject);
    flexTableProject.setWidth("100%");
   
    Label lblNomeProject = new Label("Nome");
    lblNomeProject.setStyleName("gwt-Label gwt-Required");
    flexTableProject.setWidget(0, 0, lblNomeProject);
   
    TextBox txtNomeProject = new TextBox();
    txtNomeProject.setFocus(true);
    flexTableProject.setWidget(0, 1, txtNomeProject);
    txtNomeProject.setWidth("100%");
   
    Label lblDescriptionProject = new Label("Descrizione");
    flexTableProject.setWidget(1, 0, lblDescriptionProject);
    lblDescriptionProject.setWidth("");
   
    TextArea txtDescriptionProject = new TextArea();
    txtDescriptionProject.setTabIndex(1);
    flexTableProject.setWidget(1, 1, txtDescriptionProject);
    txtDescriptionProject.setWidth("100%");
    flexTableProject.getCellFormatter().setVerticalAlignment(1, 0, HasVerticalAlignment.ALIGN_TOP);
    flexTableProject.getCellFormatter().setVerticalAlignment(0, 0, HasVerticalAlignment.ALIGN_TOP);
   
    VerticalPanel deckChild2 = new VerticalPanel();
    deckChild2.setVisible(false);
    deckPanel.add(deckChild2);
    deckChild2.setSize("100%", "141px");
   
    Label lblTitleEntityInfo = new Label("Immaginare un contenitore che verr\u00E0 riempito con dati che servono a te.  Qui definisci che tipi di dati di inserire.");
    deckChild2.add(lblTitleEntityInfo);
   
    SplitLayoutPanel splitEntityInfo = new SplitLayoutPanel();
    deckChild2.add(splitEntityInfo);
    splitEntityInfo.setHeight("88px");
   
    Tree tree = new Tree();
    splitEntityInfo.addEast(tree, 209.0);
   
    TreeItem trtmProject = new TreeItem("Project");
    tree.addItem(trtmProject);
   
    VerticalPanel verticalPanel = new VerticalPanel();
    splitEntityInfo.add(verticalPanel);
   
    Label lblContainer = new Label("Prima di iniziare, dobbiamo definire un nome per questo contenitore:");
    verticalPanel.add(lblContainer);
   
    FlexTable flexTableContainer = new FlexTable();
    verticalPanel.add(flexTableContainer);
    flexTableContainer.setSize("100%", "");
   
    Label lblNomeContainer = new Label("Nome");
    flexTableContainer.setWidget(0, 0, lblNomeContainer);
   
    TextBox txtNomeContainer = new TextBox();
    flexTableContainer.setWidget(0, 1, txtNomeContainer);
   
    VerticalPanel deckChild3 = new VerticalPanel();
    deckChild3.setVisible(false);
    deckPanel.add(deckChild3);
    deckChild3.setHeight("142px");
   
    Label lblTitleAttributes = new Label("Eccellente!  Ora iniziamo definire il tuo oggetto.");
    deckChild3.add(lblTitleAttributes);
   
    SplitLayoutPanel splitAttributes = new SplitLayoutPanel();
    deckChild3.add(splitAttributes);
    splitAttributes.setHeight("88px");
   
    Tree treeAttribute = new Tree();
    splitAttributes.addEast(treeAttribute, 209.0);
   
    TreeItem trtmProjectAttribute = new TreeItem("Project");
    treeAttribute.addItem(trtmProjectAttribute)
   
    TreeItem trtmEntityInfo = new TreeItem("Entity name");
    trtmProjectAttribute.addItem(trtmEntityInfo);
    trtmProjectAttribute.setState(true);
   
    VerticalPanel verticalPanelAttribute = new VerticalPanel();
    splitAttributes.add(verticalPanelAttribute);
   
    FlexTable flexTableAttribute = new FlexTable();
    verticalPanelAttribute.add(flexTableAttribute);
    flexTableAttribute.setSize("100%", "null");
   
    Label lblNomeAttribute = new Label("Nome attributo");
    lblNomeAttribute.setWordWrap(false);
    flexTableAttribute.setWidget(0, 0, lblNomeAttribute);
    lblNomeAttribute.setWidth("");
   
    TextBox txtAttributeName = new TextBox();
    flexTableAttribute.setWidget(0, 1, txtAttributeName);
    txtAttributeName.setWidth("100%");
    flexTableAttribute.getCellFormatter().setVerticalAlignment(0, 1, HasVerticalAlignment.ALIGN_TOP);
    deckPanel.showWidget(0);
   
    btnContinue = new Button("");
    rootPanel.add(btnContinue, 4, 149);
    btnContinue.setSize("86px", "27px");
    btnContinue.setTabIndex(3);
View Full Code Here

        this.presenter = presenter;
        this.window = window;
        this.isUpdate = isUpdate;
        this.oldDeployment = oldDeployment;

        deck = new DeckPanel();

        step1 = new DeploymentStep1(this, window);
        step2 = new DeploymentStep2(this, window);

        deck.add(step1.asWidget());
View Full Code Here

        breadcrumb = new DeploymentBreadcrumb();
        breadcrumb.getElement().setAttribute("style", "margin-top:30px;");

        int index = 0;
        this.contextPanel = new DeckPanel();
        this.helpCallback = new HelpCallback();

        Label noInfo = new Label("No deployments available.");
        noInfo.getElement().addClassName("console-DeploymentBreadcrumb-noinfo");
        noInfo.getElement().addClassName("console-DeploymentBreadcrumb-context");
View Full Code Here



        // ----

        reloadPanel = new DeckPanel();
        reloadPanel.setStyleName("fill-layout-width");

        // ----

        VerticalPanel configUptodate = new VerticalPanel();
View Full Code Here

    }

    public DeckPanel createSubnavigation() {

        DeckPanel subnavigation = new DeckPanel();

        // TODO: fill in contents

        return subnavigation;
    }
View Full Code Here



        // ----

        reloadPanel = new DeckPanel();
        reloadPanel.setStyleName("fill-layout-width");

        // ----

        VerticalPanel configUptodate = new VerticalPanel();
View Full Code Here

        this.presenter = presenter;
    }

    public Widget asWidget() {

        deck = new DeckPanel();

        deck.add(new AdapterStep1(this).asWidget());

        step2 = new AdapterStep2(this);
        deck.add(step2.asWidget());
View Full Code Here

    }

    public Widget asWidget() {


        deck = new DeckPanel();

        deck.add(new DatasourceStep1(this).asWidget());

        step2 = new DatasourceStep2(this);
        deck.add(step2.asWidget());
View Full Code Here

    public NewDeploymentWizard(DefaultWindow window, DispatchAsync dispatcher, DeploymentViewRefresher refresher) {
        this.window = window;
        this.dispatcher = dispatcher;
        this.refresher = refresher;

        deck = new DeckPanel();

        step1 = new DeploymentStep1(this, window);
        step2 = new DeploymentStep2(this, window, refresher);

        deck.add(step1.asWidget());
View Full Code Here

TOP

Related Classes of com.google.gwt.user.client.ui.DeckPanel$SlideAnimation

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.