Examples of AUIEvent


Examples of vg.core.event.AUIEvent

    });
    this.jMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S, KeyEvent.CTRL_DOWN_MASK));
    this.parameter.userInterface.addMenuItem(new AMenuItem(this.jMenuItem) {
      public void update(Observable o, Object arg) {
        if(arg instanceof AUIEvent) {
          final AUIEvent event = (AUIEvent)arg;
          switch (event.getType()) {
            case DEF_CLOSE_PROGRAM: {
              SearchPlugin.this.searchPanel.dispose();
              break;
            }
            case DEF_OPEN_NEW_GRAPH: {
View Full Code Here

Examples of vg.core.event.AUIEvent

   * This method returns component which represent desktop.
   */
  public void update(Observable o, Object arg) {
    synchronized (this.theMutexObject) {
      if(arg instanceof AUIEvent) {
        AUIEvent event = (AUIEvent)arg;
        switch(event.getType()) {
          case DEF_OPEN_NEW_GRAPH:
          {
            UIEventOpenNewGraph bufEvent = (UIEventOpenNewGraph)event;
            Integer graphId = bufEvent.getGraphId();
            Date d = new Date();
View Full Code Here

Examples of vg.core.event.AUIEvent

    return (this.panel);
  }

  public void update(Observable o, Object arg) {
    if (arg instanceof AUIEvent) {
      AUIEvent event = (AUIEvent) arg;
      switch (event.getType()) {
        case DEF_CHANGE_VIEW: {
          final UIEventChangeView bufEvent = (UIEventChangeView) event;

          if(SwingUtilities.isEventDispatchThread()) {
            synchronized (theMutexObject) {
View Full Code Here

Examples of vg.core.event.AUIEvent

  }
 
  private void changeView(Object obj) {
    if(obj==null) return;
    if(obj instanceof AUIEvent) {
      AUIEvent event = (AUIEvent)obj;
      switch(event.getType()) {
        case DEF_CHANGE_VIEW:
        {
          UIEventChangeView bufEvent = (UIEventChangeView)event;
          this.view = bufEvent.getView();
          break;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.