com.epam.jdi.light.material.elements.navigation.BottomNavigation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdi-light-material-ui Show documentation
Show all versions of jdi-light-material-ui Show documentation
JDI Light Material UI Elements library for version 4
The newest version!
package com.epam.jdi.light.material.elements.navigation;
import com.epam.jdi.light.asserts.generic.UISelectAssert;
import com.epam.jdi.light.elements.base.UIListBase;
/**
* Represents bottom navigation MUI component on GUI. Bottom navigation bars allow movement between
* primary destinations in an app. Bottom navigation bars display three to five destinations
* at the bottom of a screen. Each destination is represented by an icon and an optional text label.
* When a bottom navigation icon is tapped, the user is taken to the top-level navigation destination
* associated with that icon.
*
* @see Bottom navigation MUI documentation
* @see MUI test page
*/
public class BottomNavigation extends UIListBase> {
@Override
public boolean selected(int index) {
return list().get(index).hasClass("Mui-selected");
}
@Override
public UISelectAssert, ?> is() {
return (UISelectAssert, ?>) new UISelectAssert().set(this);
}
}