Codota Logo
TabPanel.setStyleName
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
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

  • Finding current android device location
  • runOnUiThread (Activity)
  • requestLocationUpdates (LocationManager)
  • getContentResolver (Context)
  • String (java.lang)
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Pattern (java.util.regex)
    A compiled representation of a regular expression. A regular expression, specified as a string, must
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now