2 Copyright (C) 2001, 2006 United States Government
3 as represented by the Administrator of the
4 National Aeronautics and Space Administration.
7 package gov
.nasa
.worldwind
;
13 * @version $Id: RenderingEvent.java 1909 2007-05-30 20:50:03Z tgaskins $
15 public class RenderingEvent
extends EventObject
17 public static final String BEFORE_RENDERING
= "gov.nasa.worldwind.RenderingEvent.BeforeRendering";
18 public static final String BEFORE_BUFFER_SWAP
= "gov.nasa.worldwind.RenderingEvent.BeforeBufferSwap";
19 public static final String AFTER_BUFFER_SWAP
= "gov.nasa.worldwind.RenderingEvent.AfterBufferSwap";
23 public RenderingEvent(Object source
, String stage
)
29 public String
getStage()
31 return this.stage
!= null ?
this.stage
: "gov.nasa.worldwind.RenderingEvent.UnknownStage";
35 public String
toString()
37 return this.getClass().getName() + " "
38 + this.stage
!= null ?
this.stage
: WorldWind
.retrieveErrMsg("generic.unknown");