Examples of ActionEvent


Examples of at.bestsolution.efxclipse.styledtext.ActionEvent

    super.mousePressed(arg0);
    getControl().requestFocus();
  }
 
  public boolean invokeAction(ActionType action) {
    ActionEvent evt = new ActionEvent(getControl(), getControl(), action);
    Event.fireEvent(getControl(), evt);
    return evt.isConsumed();
  }
View Full Code Here

Examples of cero.games.ActionEvent

    // play the top card of the talon zone
    Collection<Card> cards = new ArrayList<Card>();
    cards.add(stockZone.getTopCard());
    ActionPlayYourCards act = new ActionPlayACard();
    try {
      act.playerActed(new ActionEvent(game, game.getPlayers()
          .getSortedList().get(0), game.getStock(), game.getTalon(),
          cards));
    } catch (ActionException ex) {
      ex.printStackTrace();
    }
View Full Code Here

Examples of charva.awt.event.ActionEvent

      }

      /* Post an action event if ENTER was pressed.
       */
      else if (key == KeyEvent.VK_ENTER) {
    ActionEvent ae = new ActionEvent(this, _actionCommand);
    Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(ae);
      }
  }
  draw(Toolkit.getDefaultToolkit());
  super.requestSync();
View Full Code Here

Examples of com.ardor3d.extension.ui.event.ActionEvent

     */
    public void fireActionEvent() {
        if (!isEnabled()) {
            return;
        }
        final ActionEvent event = new ActionEvent(this);
        for (final ActionListener l : _listeners) {
            l.actionPerformed(event);
        }
    }
View Full Code Here

Examples of com.cloud.event.ActionEvent

                for ( ActionEvent e : events.value() ) {
                    result.add(e);
                }
            }

            ActionEvent e = m.getAnnotation(ActionEvent.class);

            if ( e != null ) {
                result.add(e);
            }
View Full Code Here

Examples of com.codename1.ui.events.ActionEvent

  void onDenied(RequestToken token) {
    Log.p("Denied", Log.DEBUG);
    // user triggered, so by default do nothing, just continue with limited
    // privileges. Override this to handle otherwise.
    for (Enumeration e = deniedListeners.elements(); e.hasMoreElements(); ) {
      ((ActionListener)e.nextElement()).actionPerformed(new ActionEvent(token));
    }
  }
View Full Code Here

Examples of com.qspin.qtaste.tools.converter.model.event.ActionEvent

class PythonActionEventFactory extends PythonEventFactory {

  @Override
  public String createPythonEvent(Event pEvent, long pPreviousTimestamp)
  {
    ActionEvent evt = (ActionEvent)pEvent;
    StringBuilder builder = new StringBuilder();
    insertSleep(pEvent, pPreviousTimestamp, builder);
    builder.append(getPythonIndentation(1) + "javaguiMI.clickOnButton(" + getComponentIdentifier(evt.getComponentName()) + ")" + LINE_BREAK);
    return builder.toString();
  }
View Full Code Here

Examples of com.sun.dtv.lwuit.events.ActionEvent

    }
   
    protected void fireActionEvent() {
        parent.componentChanged();
        super.fireActionEvent();
        dispatcher.fireActionEvent(new ActionEvent(parent));
    }
View Full Code Here

Examples of java.awt.event.ActionEvent

    }

    if (isDoubleClick) {
      Action defaultAction = menu.getDefaultAction();
      if (defaultAction != null) {
        defaultAction.actionPerformed(new ActionEvent(mTree, 0, ""));
      }
    }

  }
View Full Code Here

Examples of java.awt.event.ActionEvent

  private Action createAction(String name, String id, String description,
      Icon smallIcon, Icon bigIcon, int type, final ActionListener listener) {
    Action action = new AbstractAction() {
      public void actionPerformed(ActionEvent e) {
        listener.actionPerformed(new ActionEvent(this, e.getID(), e
            .getActionCommand()));
      }
    };
    action.putValue(Action.NAME, name);
    action.putValue(Action.SMALL_ICON, smallIcon);
View Full Code Here
TOP
Copyright © 2015 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.