Tabnine Logo
TabPanel.setStyleName
Code IndexAdd Tabnine to your IDE (free)

How to use
setStyleName
method
in
com.google.gwt.user.client.ui.TabPanel

Best Java code snippets using com.google.gwt.user.client.ui.TabPanel.setStyleName (Showing top 6 results out of 315)

origin: com.google.gwt/gwt-servlet

/**
 * Creates an empty tab panel.
 */
public TabPanel() {
 VerticalPanel panel = new VerticalPanel();
 panel.add(tabBar);
 panel.add(deck);
 panel.setCellHeight(deck, "100%");
 tabBar.setWidth("100%");
 tabBar.addTabListener(this);
 initWidget(panel);
 setStyleName("gwt-TabPanel");
 deck.setStyleName("gwt-TabPanelBottom");
 // Add a11y role "tabpanel"
 Roles.getTabpanelRole().set(deck.getElement());
}
origin: org.picketlink/picketlink-console-extensions

private void createDetailsSection(VerticalPanel vpanel) {
  // adds the title for the details section
  vpanel.add(new ContentGroupLabel("Details"));
  // adds the tabs for the details section
  bottomTabs = new TabPanel();
  bottomTabs.setStyleName("default-tabpanel");
  bottomTabs.addStyleName("master_detail-detail");
  wizard = doCreateWizard();
  doCreateAttributesTab(bottomTabs);
  addDetailsSectionTabs(bottomTabs);
  vpanel.add(bottomTabs);
  bottomTabs.selectTab(0);
}
origin: net.wetheinter/gwt-user

/**
 * Creates an empty tab panel.
 */
public TabPanel() {
 VerticalPanel panel = new VerticalPanel();
 panel.add(tabBar);
 panel.add(deck);
 panel.setCellHeight(deck, "100%");
 tabBar.setWidth("100%");
 tabBar.addTabListener(this);
 initWidget(panel);
 setStyleName("gwt-TabPanel");
 deck.setStyleName("gwt-TabPanelBottom");
 // Add a11y role "tabpanel"
 Roles.getTabpanelRole().set(deck.getElement());
}
origin: com.vaadin.external.gwt/gwt-user

/**
 * Creates an empty tab panel.
 */
public TabPanel() {
 VerticalPanel panel = new VerticalPanel();
 panel.add(tabBar);
 panel.add(deck);
 panel.setCellHeight(deck, "100%");
 tabBar.setWidth("100%");
 tabBar.addTabListener(this);
 initWidget(panel);
 setStyleName("gwt-TabPanel");
 deck.setStyleName("gwt-TabPanelBottom");
 // Add a11y role "tabpanel"
 Roles.getTabpanelRole().set(deck.getElement());
}
origin: org.picketlink/picketlink-console-extensions

@Override
public Widget asWidget() {
  this.tabPanel = new TabPanel();
  tabPanel.setStyleName("default-tabpanel");
  tabPanel.addStyleName("master_detail-detail");
  VerticalPanel layout = new VerticalPanel();
  final TextItem aliasItem = new TextItem("name", uiConstants.common_label_federationName());
  form.setFields(aliasItem);
  form.setEnabled(false);
  layout.add(new FormLayout().setTools(null).setForm(form).build());
  tabPanel.add(layout, "Attributes");
  
  this.samlConfigurationDetails = new SAMLConfigurationDetails(this.presenter);
  tabPanel.add(this.samlConfigurationDetails.asWidget(), "SAML Configuration");
  tabPanel.selectTab(0);
  return tabPanel;
}
origin: org.switchyard.console.wildfly/switchyard-console-wildfly-extension

/**
 * @return this editor as a Widget.
 */
public Widget asWidget() {
  VerticalPanel panel = new VerticalPanel();
  panel.add(new ContentGroupLabel(Singleton.MESSAGES.label_serviceDetails()));
  panel.add(new ContentDescription(Singleton.MESSAGES.description_serviceDetails()));
  panel.add(createImplementationDetailsPanel());
  TabPanel tabs = new TabPanel();
  tabs.setStyleName("default-tabpanel"); //$NON-NLS-1$
  tabs.getElement().setAttribute("style", "margin-top:15px;"); //$NON-NLS-1$ //$NON-NLS-2$
  tabs.add(createGatewayDetailsPanel(), Singleton.MESSAGES.label_gateways());
  tabs.add(createThrottlingDetailsPanel(), Singleton.MESSAGES.label_throttling());
  tabs.addBeforeSelectionHandler(new BeforeSelectionHandler<Integer>() {
    @Override
    public void onBeforeSelection(BeforeSelectionEvent<Integer> event) {
      _toolstrip.doCancel();
    }
  });
  panel.add(tabs);
  tabs.selectTab(0);
  return panel;
}
com.google.gwt.user.client.uiTabPanelsetStyleName

Popular methods of TabPanel

  • add
    Adds a widget to the tab panel. If the Widget is already attached to the TabPanel, it will be moved
  • selectTab
    Programmatically selects the specified tab.
  • <init>
    Creates an empty tab panel.
  • getWidgetCount
  • addBeforeSelectionHandler
  • addSelectionHandler
  • remove
    Removes the given widget, and its associated tab.
  • addHandler
  • asWidgetOrNull
  • createTabTextWrapper
    Create a SimplePanel that will wrap the contents in a tab. Subclasses can use this method to wrap ta
  • getWidget
  • getWidgetIndex
  • getWidget,
  • getWidgetIndex,
  • initWidget,
  • insert,
  • addStyleName,
  • getElement,
  • isAnimationEnabled,
  • setVisible

Popular in Java

  • Reading from database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • getResourceAsStream (ClassLoader)
  • getSystemService (Context)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Table (org.hibernate.mapping)
    A relational table
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now