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

Examples of com.google.gwt.user.client.ui.TabLayoutPanel$TabbedDeckLayoutPanel


  @Override
  protected TabLayoutPanel onInitialize() {
   
    final WikiPagePresenterCallback callback = getPresenterCallback();
   
    deckPanel = new TabLayoutPanel(2.5, Unit.EM);
    deckPanel.setStyleName(STYLE_NAME);
   
    // add panels
    deckPanel.add(decorateWidget(createReadPanel()), "Lesen");
    deckPanel.add(decorateWidget(createEditPanel()), "Bearbeiten");
View Full Code Here


    @Override
    public Widget createWidget() {
        loggingEditor = new LoggerEditor(presenter);
        handlerEditor = new HandlerEditor(presenter);
       
        TabLayoutPanel tabLayoutpanel = new TabLayoutPanel(25, Style.Unit.PX);
        tabLayoutpanel.addStyleName("default-tabpanel");
       
        tabLayoutpanel.add(loggingEditor.asWidget(), "Logger");
        tabLayoutpanel.add(handlerEditor.asWidget(), Console.CONSTANTS.subsys_logging_handlers());

        return tabLayoutpanel;
    }
View Full Code Here

  public XBRLContentWidget() {
    /*DecoratorPanel decorPanel = new DecoratorPanel();
    decorPanel.setWidth("100%");
    decorPanel.setHeight("100%");*/
    //
    TabLayoutPanel tabPanel = new TabLayoutPanel(2.5, Unit.EM);
    tabPanel.setAnimationDuration(1000);
    tabPanel.getElement().getStyle().setMarginBottom(10.0, Unit.PX);
   
    SimplePanel rawDataPanel = new SimplePanel();
    TextArea rawData = new TextArea();
    rawData.setText("The raw XML data will display here.");
    rawDataPanel.add(rawData);
    tabPanel.add(rawDataPanel, "Raw XML");
   
    tabPanel.add(new SimplePanel(), "Interactive data");
    //decorPanel.add(tabPanel);
    initWidget(tabPanel);
  }
View Full Code Here

    private JMSEditor jmsEditor;

    @Override
    public Widget createWidget() {

        TabLayoutPanel tabLayoutpanel = new TabLayoutPanel(25, Style.Unit.PX);
        tabLayoutpanel.addStyleName("default-tabpanel");

        providerEditor = new MessagingProviderEditor(presenter);
        jmsEditor = new JMSEditor(presenter);

        tabLayoutpanel.add(jmsEditor.asWidget(), "JMS");
        tabLayoutpanel.add(providerEditor.asWidget(), "Messaging Provider");

        tabLayoutpanel.selectTab(0);

        return tabLayoutpanel;
    }
View Full Code Here

  final TabLayoutPanel panel;
  private final ReadServiceAsync readService;
  private final LocalizedMessages constants;

  public ContentView(final ReadServiceAsync readService, final ReportServiceAsync reportService, final LocalizedMessages constants) {
    initWidget(panel = new TabLayoutPanel(25, Unit.PX));
   
    this.readService = readService;
    this.constants = constants;

    panel.addStyleName("with_margin");
View Full Code Here

        samples.add( example );
    }

    public void onModuleLoad()
    {
        tabPanel = new TabLayoutPanel( 30, Unit.PX );

        addExamples();

        tabPanel.addSelectionHandler( new SelectionHandler<Integer>()
        {
View Full Code Here

    friendsTab.addNorth(browser, FRIENDS_DOCK_HEIGHT);
    friendsTab.add(friendsMap);

    // Building top level panel

    final TabLayoutPanel tabs = new TabLayoutPanel(1.5, Unit.EM);
    tabs.add(personalMap, "My Map");
    tabs.add(friendsTab, "Friends");
    tabs.setSize("100%", "100%");
    tabs.addSelectionHandler(new SelectionHandler<Integer>() {
      public void onSelection(SelectionEvent<Integer> event) {
        Widget widget = tabs.getWidget(event.getSelectedItem());
        if (widget instanceof RequiresResize) {
          ((RequiresResize) widget).onResize();
        }
      }
    });
View Full Code Here

     *
     * @param tabbedPanelStyle the pre-defined height of the tabbar, can be "small" or "standard"     
     */
    public TabbedPanel(TabbedPanelStyle tabbedPanelStyle) {

        m_tabPanel = new TabLayoutPanel(tabbedPanelStyle.getBarHeight(), Unit.PX);
        m_panelStyle = tabbedPanelStyle;

        // All composites must call initWidget() in their constructors.
        initWidget(m_tabPanel);

View Full Code Here

        this.presenter = presenter;
    }

    @Override
    public Widget createWidget() {
        tabs = new TabLayoutPanel(40, Style.Unit.PX);
        tabs.setStyleName("default-tabpanel");

        String cspUrl = bootstrapContext.getProperty(ApplicationProperties.CSP_API);
        searchFrame = new Frame(cspUrl + "/search.html");
        searchFrame.getElement().setAttribute("style", "margin-top:10px");
View Full Code Here

public class TabLayoutPanelExample implements EntryPoint {

  public void onModuleLoad() {
    // Create a three-item tab panel, with the tab area 1.5em tall.
    TabLayoutPanel p = new TabLayoutPanel(1.5, Unit.EM);
    p.add(new HTML("this"), "[this]");
    p.add(new HTML("that"), "[that]");
    p.add(new HTML("the other"), "[the other]");

    // Attach the LayoutPanel to the RootLayoutPanel. The latter will listen for
    // resize events on the window to ensure that its children are informed of
    // possible size changes.
    RootLayoutPanel rp = RootLayoutPanel.get();
View Full Code Here

TOP

Related Classes of com.google.gwt.user.client.ui.TabLayoutPanel$TabbedDeckLayoutPanel

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.