jfoenix/src/main/java/com/jfoenix/controls/JFXDrawersStack.java
public void toggle(JFXDrawer drawer) {
        if (!drawers.contains(drawer)) {
            addDrawer(drawer);
        }
        if (drawer.isOpened() || drawer.isOpening()) {
            drawer.close();
        } else {
            updateDrawerPosition(drawer);
            drawer.open();
        }
    }
/**
     * toggle a drawer in the stack
     *
     * @param drawer the drawer to be toggled
     */
toggle a drawer in the stack
@param drawer the drawer to be toggled
toggle a drawer in the stack @param drawer the drawer to be toggled
public void toggle(JFXDrawer drawer) {
        if (!drawers.contains(drawer)) {
            addDrawer(drawer);
        }
        if (drawer.isOpened() || drawer.isOpening()) {
            drawer.close();
        } else {
            updateDrawerPosition(drawer);
            drawer.open();
        }
    }
public void toggle ( JFXDrawer drawer ) { if ( ! drawers . contains ( drawer ) ) { addDrawer ( drawer ) ; } if ( drawer . isOpened ( ) || drawer . isOpening ( ) ) { drawer . close ( ) ; } else { updateDrawerPosition ( drawer ) ; drawer . open ( ) ; } }
toggle a drawer in the stack
 @param drawer the drawer to be toggled
toggle a drawer in the stack @param drawer the drawer to be toggled