mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/utils/LayoutCollapsed.java
public void handleToggle(final ToggleEvent event)
    {
        final LayoutUnit toggledUnit = (LayoutUnit)event.getComponent();

        if (toggledUnit.getId().equals("controllerLayout"))
        {
            m_ControllerLayout = !m_ControllerLayout;
        }
        else if (toggledUnit.getId().equals("navigationLayout"))
        {
            m_NavigationLayout = !m_NavigationLayout;
        }
    }
/**
     * Handle toggling layout unit states.
     * @param event
     *  event that holds the component with the collapsed property to persist.
     */
Handle toggling layout unit states.
@param event
event that holds the component with the collapsed property to persist.
Handle toggling layout unit states . @param event event that holds the component with the collapsed property to persist .
public void handleToggle(final ToggleEvent event)
    {
        final LayoutUnit toggledUnit = (LayoutUnit)event.getComponent();
        if (toggledUnit.getId().equals("controllerLayout"))
        {
            m_ControllerLayout = !m_ControllerLayout;
        }
        else if (toggledUnit.getId().equals("navigationLayout"))
        {
            m_NavigationLayout = !m_NavigationLayout;
        }
    }
public void handleToggle ( final ToggleEvent event ) { final LayoutUnit toggledUnit = ( LayoutUnit ) event . getComponent ( ) ; if ( toggledUnit . getId ( ) . equals ( "controllerLayout" ) ) { m_ControllerLayout = ! m_ControllerLayout ; } else if ( toggledUnit . getId ( ) . equals ( "navigationLayout" ) ) { m_NavigationLayout = ! m_NavigationLayout ; } }
Handle toggling layout unit states.
Handle toggling layout unit states .