codesimian
Class PermEvent

java.lang.Object
  extended by codesimian.PermEvent

public class PermEvent
extends java.lang.Object

permanent event. The creator gets a PermEvent.Trigger, the only thing that can cause happened() to return true


Nested Class Summary
static class PermEvent.Trigger
           
 
Constructor Summary
PermEvent()
           
 
Method Summary
 void addListener(CS listener)
           
static PermEvent.Trigger create()
          the only way to create a PermEvent with connected Trigger.
 boolean happened()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermEvent

public PermEvent()
Method Detail

happened

public final boolean happened()

addListener

public void addListener(CS listener)

create

public static PermEvent.Trigger create()
the only way to create a PermEvent with connected Trigger. PermEvent.create().permEvent is always a new PermEvent