aos.jack.jak.util
Class Watchable
java.lang.Object
aos.jack.jak.util.Watchable
- All Implemented Interfaces:
- ObservableInt
- Direct Known Subclasses:
- BeliefSet, Cursor, FSM, TaskJunction
- public class Watchable
- extends java.lang.Object
- implements ObservableInt
A light-weight observable.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Watchable
public Watchable()
addObserver
public void addObserver(java.util.Observer o)
- Specified by:
addObserver
in interface ObservableInt
deleteObserver
public void deleteObserver(java.util.Observer o)
- Specified by:
deleteObserver
in interface ObservableInt
notifyObservers
public void notifyObservers()
- Specified by:
notifyObservers
in interface ObservableInt
notifyObservers
public void notifyObservers(java.lang.Object arg)
- Specified by:
notifyObservers
in interface ObservableInt
deleteObservers
public void deleteObservers()
- Specified by:
deleteObservers
in interface ObservableInt
countObservers
public int countObservers()
- Specified by:
countObservers
in interface ObservableInt
hasChanged
public boolean hasChanged()
- Specified by:
hasChanged
in interface ObservableInt
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