gwt.material.design.client.ui.MaterialTab Java Examples
The following examples show how to use
gwt.material.design.client.ui.MaterialTab.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CustomTabPanel.java From lumongo with Apache License 2.0 | 5 votes |
public CustomTabPanel(TabType tabType) { materialTab = new MaterialTab(); materialTab.setType(tabType); materialTab.setBackgroundColor(Color.GREY_DARKEN_1); materialTab.setTextColor(Color.GREY_DARKEN_1); materialTab.setIndicatorColor(Color.AMBER); mainColumn = new MaterialColumn(); mainColumn.setGrid("s12"); mainColumn.add(materialTab); add(mainColumn); }
Example #2
Source File: MaterialCarousel.java From gwt-material-addins with Apache License 2.0 | 4 votes |
public void setTabNavigation(MaterialTab tab) { registerHandler(tab.addSelectionHandler(e -> goToSlide(e.getSelectedItem()))); registerHandler(addBeforeChangeHandler(e -> tab.setTabIndex(e.getNextSlide()))); }
Example #3
Source File: MaterialCarouselTest.java From gwt-material-addins with Apache License 2.0 | 4 votes |
protected MaterialTab constructTab() { MaterialTab tab = new MaterialTab(); return tab; }