Package com.jidesoft.swing.event

Examples of com.jidesoft.swing.event.SidePaneEvent


     *                     type is not one of the above, nothing happens.
     */
    protected void fireSidePaneEvent(SidePaneItem sidePaneItem, int id) {
        if (initListenerList(false)) {
            Object[] listeners = listenerList.getListenerList();
            SidePaneEvent e = null;
            for (int i = listeners.length - 2; i >= 0; i -= 2) {
                if (listeners[i] == SidePaneListener.class) {
                    if (e == null) {
                        e = new SidePaneEvent(sidePaneItem, id);
                    }
                    switch (e.getID()) {
                        case SidePaneEvent.SIDE_PANE_TAB_SELECTED:
                            ((SidePaneListener) listeners[i + 1]).sidePaneTabSelected(e);
                            break;
                        case SidePaneEvent.SIDE_PANE_TAB_DESELECTED:
                            ((SidePaneListener) listeners[i + 1]).sidePaneTabDeselected(e);
View Full Code Here

TOP

Related Classes of com.jidesoft.swing.event.SidePaneEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.