Package org.eclipse.swt.events

Examples of org.eclipse.swt.events.ExpandEvent


      }
      case SWT.Collapse: {
        if (eventListener instanceof TreeListener) {
          ((TreeListener) eventListener).treeCollapsed(new TreeEvent(e));
        } else {
          ((ExpandListener) eventListener).itemCollapsed(new ExpandEvent(e))
        }
        break;
      }
      case SWT.Deactivate: {
        ((ShellListener) eventListener).shellDeactivated(new ShellEvent(e));
        break;
      }
      case SWT.Deiconify: {
        ((ShellListener) eventListener).shellDeiconified(new ShellEvent(e));
        break;
      }
      case SWT.DefaultSelection: {
        ((SelectionListener)eventListener).widgetDefaultSelected(new SelectionEvent(e));
        break;
      }
      case SWT.Dispose: {
        ((DisposeListener) eventListener).widgetDisposed(new DisposeEvent(e));
        break;
      }
      case SWT.DragDetect: {
        ((DragDetectListener) eventListener).dragDetected(new DragDetectEvent(e));
        break;
      }
      case SWT.Expand: {
        if (eventListener instanceof TreeListener) {
          ((TreeListener) eventListener).treeExpanded(new TreeEvent(e));
        } else {
          ((ExpandListener) eventListener).itemExpanded(new ExpandEvent(e))
        }
        break;
      }
      case SWT.FocusIn: {
        ((FocusListener) eventListener).focusGained(new FocusEvent(e));
View Full Code Here

TOP

Related Classes of org.eclipse.swt.events.ExpandEvent

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.