|
Rings Version 0.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectthreeD.ui.event.SceneEvent
threeD.ui.event.SceneEditEvent
threeD.ui.event.LightEditEvent
A LightEditEvent object represents the event of editing a light in the current scene. The integer code of the LightEditEvent is the sum of all of the codes that apply to the edit.
| Field Summary | |
static int |
attenuationCoefficientChangeEvent
The code for an attenuation coefficient change event. |
static int |
colorChangeEvent
The code for a color change event. |
static int |
directionChangeEvent
The code for a direction change event. |
static int |
intensityChangeEvent
The code for an intensity change event. |
static int |
locationChangeEvent
The code for a location change event. |
| Constructor Summary | |
LightEditEvent(int code,
Light target)
Constructs a new LightEditEvent object with the specified integer code and target. |
|
| Method Summary | |
int |
getCode()
Returns the integer code of this LightEditEvent object. |
Light |
getTarget()
Returns the target of this LightEditEvent object. |
boolean |
isAttenuationCoefficientChangeEvent()
Returns true if this LightEditEvent object is an attenuation coefficient change event. |
boolean |
isColorChangeEvent()
Returns true if this LightEditEvent object is a color change event. |
boolean |
isDirectionChangeEvent()
Returns true if this LightEditEvent object is a direction change event. |
boolean |
isIntensityChangeEvent()
Returns true if this LightEditEvent object is an intensity change event. |
boolean |
isLocationChangeEvent()
Returns true if this LightEditEvent object is a location change event. |
java.lang.String |
toString()
Returns "LightEditEvent". |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int locationChangeEvent
public static final int attenuationCoefficientChangeEvent
public static final int directionChangeEvent
public static final int colorChangeEvent
public static final int intensityChangeEvent
| Constructor Detail |
public LightEditEvent(int code,
Light target)
| Method Detail |
public int getCode()
public Light getTarget()
getTarget in interface LightEventpublic boolean isLocationChangeEvent()
public boolean isAttenuationCoefficientChangeEvent()
public boolean isDirectionChangeEvent()
public boolean isColorChangeEvent()
public boolean isIntensityChangeEvent()
public java.lang.String toString()
toString in class SceneEditEvent
|
Rings Version 0.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||