Examples of Trigger


Examples of DisplayProject.binding.value.Trigger

     * @throws NullPointerException if the beanChannel is null
     * @throws PropertyUnboundException  if the <code>bean</code> does not
     *     provide a pair of methods to register a PropertyChangeListener
     */
    public PresentationModel(ValueModel beanChannel) {
        this(beanChannel, new Trigger());
    }
View Full Code Here

Examples of at.bestsolution.efxclipse.runtime.bindings.Trigger

    }

    private final int countStrokes(final Trigger[] triggers) {
      int strokeCount = triggers.length;
      for (int i = 0; i < triggers.length; i++) {
        final Trigger trigger = triggers[i];
        if (trigger instanceof KeyStroke) {
          final KeyStroke keyStroke = (KeyStroke) trigger;
          if( keyStroke.hasAltModifier() ) {
            strokeCount += 8;
          }
View Full Code Here

Examples of at.jku.sii.sqlitereader.model.Trigger

public class TriggerRecord extends MasterTableRecord {
  private final Trigger trigger;

  public TriggerRecord(Record c) {
    super(c);
    this.trigger = new Trigger(this);
  }
View Full Code Here

Examples of ch.njol.skript.lang.Trigger

      }
    }, 0, CHECKPERIOD);
  }
 
  void execute(final World w) {
    final Trigger t = this.t;
    if (t == null) {
      assert false;
      return;
    }
    final ScheduledEvent e = new ScheduledEvent(w);
    SkriptEventHandler.logEventStart(e);
    SkriptEventHandler.logTriggerEnd(t);
    t.execute(e);
    SkriptEventHandler.logTriggerEnd(t);
    SkriptEventHandler.logEventEnd();
  }
View Full Code Here

Examples of com.caucho.config.types.Trigger

   *          expiration. This can be null.
   * @return The newly created Timer.
   */
  private Timer createOneTimeTimer(long expiration, Serializable info)
  {
    Trigger trigger = new TimerTrigger(expiration);

    return createTimer(trigger, info);
  }
View Full Code Here

Examples of com.caucho.config.types.Trigger

   * @return The newly created Timer.
   */
  private Timer createRepeatingTimer(Date expiration, long interval,
      Serializable info)
  {
    Trigger trigger = new TimerTrigger(expiration.getTime(), interval);
    EjbTimer timer = new EjbTimer();

    TimerTask scheduledTask = new TimerTask(_timeout, timer, null, trigger,
        info);
    timer.setScheduledTask(scheduledTask);
View Full Code Here

Examples of com.caucho.config.types.Trigger

    if (schedule.getEnd() != null) {
      end = schedule.getEnd().getTime();
    }

    Trigger trigger = new CronTrigger(cronExpression, start, end, timezone);
    EjbTimer timer = new EjbTimer();
    TimerTask scheduledTask = new TimerTask(_timeout, timer, cronExpression,
        trigger, info);
    timer.setScheduledTask(scheduledTask);
View Full Code Here

Examples of com.epicsagaonline.bukkit.ChallengeMaps.objects.Trigger

      {
        GameState gs = Current.GameStates.get(key);
        for (String objKey : gs.getMap().getObjectives().keySet())
        {
          Objective obj = gs.getMap().getObjectives().get(objKey);
          Trigger trg = obj.getTrigger();
          switch (trg.getType())
          {
            case BLOCK_BREAK:
              ProcessBlockBreak(gs, obj);
              break;
            case BLOCK_PLACE:
View Full Code Here

Examples of com.jgoodies.binding.value.Trigger

      final AbstractModel<T, E> object,
      final AbstractViewHandler<T, E> aViewHandler,
      final PresentationModel aPresentationModel) {
    viewHandler = aViewHandler;

    trigger = new Trigger();

    if (aPresentationModel == null) {
      presentationModel = new PresentationModel(object, trigger);
    } else {
      presentationModel = aPresentationModel;
View Full Code Here

Examples of com.jme3.input.controls.Trigger

    scoreAppState.initialize(getStateManager(), this);
    scoreAppState.setEnabled(true);
    // stateManager.attach(scoreAppState);

    // pause unpause
    Trigger pauseTrigger = new KeyTrigger(KeyInput.KEY_SPACE);
    inputManager.addMapping("Game Pause Unpause", pauseTrigger);
    inputManager.addListener(this, new String[] { "Game Pause Unpause" });

    // init env state
    currentLevelAppState.score.initTime(timer.getTimeInSeconds());
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.