Package vg.core.event

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


   * 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

    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

  }
 
  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

Related Classes of vg.core.event.AUIEvent

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.