JACK 5.4 Application Interface

aos.jack.util.cursor
Class RepeatAction

java.lang.Object
  extended byaos.jack.jak.util.Watchable
      extended byaos.jack.jak.cursor.Cursor
          extended byaos.jack.util.cursor.Change
              extended byaos.jack.util.cursor.Action
                  extended byaos.jack.util.cursor.RepeatAction
All Implemented Interfaces:
ObservableInt, java.lang.Runnable

public class RepeatAction
extends Action

RepeatAction is a cursor that provides the ability to repeatedly perform a long-running action.


Field Summary
 
Fields inherited from class aos.jack.jak.cursor.Cursor
FALSE, falseCursor, TRUE, trueCursor, UNKNOWN
 
Constructor Summary
RepeatAction()
           
 
Method Summary
 boolean next()
          This method will attempt to perform the action() method.
 
Methods inherited from class aos.jack.util.cursor.Action
action, condition, register, run, unRegister
 
Methods inherited from class aos.jack.util.cursor.Change
finished, isTriggered, reset, undo
 
Methods inherited from class aos.jack.jak.cursor.Cursor
negate
 
Methods inherited from class aos.jack.jak.util.Watchable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepeatAction

public RepeatAction()
Method Detail

next

public boolean next()
This method will attempt to perform the action() method. Unlike the Action class, the method can be performed multiple times.

Overrides:
next in class Change
Returns:
True if a change has occurred and the condition is true, false otherwise.

JACK 5.4 Application Interface

Copyright (C) 1999-2008, Agent Oriented Software Pty. Ltd.

US Government Restricted Rights
The JACK Modules and relevant Software Material have been developed entirely at private expense and are accordingly provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of DFARS 252.227-7013 or subparagraph (c)(1) and (2) of the Commercial Computer Software Restricted Rights and 48 CFR 52.2270-19, as applicable.


Agent Oriented Software Pty. Ltd.     http://www.aosgrp.com
PO Box 639, Carlton South, Victoria 3053, Australia
Phone: +61 3 9349 5055, Fax: +61 3 9349 5088