All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.epam.jdi.light.material.elements.navigation.BottomNavigation Maven / Gradle / Ivy

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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy