charva.awt.event
Class GarbageCollectionEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycharva.awt.event.AWTEvent
          extended bycharva.awt.event.GarbageCollectionEvent
All Implemented Interfaces:
java.io.Serializable

public class GarbageCollectionEvent
extends AWTEvent

An event which can be posted onto the event queue by an application to trigger garbage-collection. If the event is posted onto the event queue as the last action in an actionPerformed() method (e.g. after a menu option or button is invoked), the garbage collection will take place after the actionPerformed() method has returned. This is a useful but optional way of limiting the growth of the heap without causing noticeable delays.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class charva.awt.event.AWTEvent
ACTION_PERFORMED, ADJUSTMENT_EVENT, FOCUS_GAINED, FOCUS_LOST, GARBAGE_COLLECTION, INVOCATION_EVENT, ITEM_STATE_CHANGED, KEY_PRESSED, KEY_TYPED, LIST_SELECTION, MOUSE_EVENT, PAINT_EVENT, RESERVED_ID_MAX, SCROLL_EVENT, SYNC_EVENT, WINDOW_CLOSING, WINDOW_OPENED
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
GarbageCollectionEvent(Component source_)
           
 
Methods inherited from class charva.awt.event.AWTEvent
getID
 
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

GarbageCollectionEvent

public GarbageCollectionEvent(Component source_)