GNU Prolog for Java

gnu.prolog.vm
Class PrologCodeUpdatedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by gnu.prolog.vm.PrologCodeUpdatedEvent
All Implemented Interfaces:
HasEnvironment, Serializable

public class PrologCodeUpdatedEvent
extends EventObject
implements HasEnvironment

Event that indicates changes in prolog code.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PrologCodeUpdatedEvent(Environment environment, CompoundTermTag tag)
          a constructor
 
Method Summary
 Environment getEnvironment()
          get environment
 CompoundTermTag getPredicateTag()
          get tag of predicate
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrologCodeUpdatedEvent

public PrologCodeUpdatedEvent(Environment environment,
                              CompoundTermTag tag)
a constructor

Method Detail

getEnvironment

public Environment getEnvironment()
get environment

Specified by:
getEnvironment in interface HasEnvironment

getPredicateTag

public CompoundTermTag getPredicateTag()
get tag of predicate


GNU Prolog for Java