net.sf.j3d.threeD.ui.event
Class LightAddEvent

java.lang.Object
  extended by net.sf.j3d.threeD.ui.event.SceneEvent
      extended by net.sf.j3d.threeD.ui.event.SceneEditEvent
          extended by net.sf.j3d.threeD.ui.event.LightAddEvent
All Implemented Interfaces:
Event, LightEvent

public class LightAddEvent
extends SceneEditEvent
implements LightEvent

A LightAddEvent object represents the event of adding a new Light object to the current Scene object.


Constructor Summary
LightAddEvent(Light target)
          Constructs a new LightAddEvent object using the specified target.
 
Method Summary
 Light getTarget()
          Returns the target of this LightAddEvent object.
 String toString()
          Returns "LightAddEvent".
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LightAddEvent

public LightAddEvent(Light target)
Constructs a new LightAddEvent object using the specified target.

Method Detail

getTarget

public Light getTarget()
Returns the target of this LightAddEvent object.

Specified by:
getTarget in interface LightEvent

toString

public String toString()
Returns "LightAddEvent".

Overrides:
toString in class SceneEditEvent