|
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.CameraEditEvent
A CameraEditEvent object represents the event of editing the camera in the current scene. The integer code of the CameraEditEvent is the sum of all of the codes that apply to the edit.
| Field Summary | |
static int |
focalLengthChangeEvent
The code for a focal length change event. |
static int |
locationChangeEvent
The code for a location change event. |
static int |
projectionDimensionsChangeEvent
The code for a projection dimensions change event. |
static int |
upDirectionChangeEvent
The code for an up direction change event. |
static int |
viewingDirectionChangeEvent
The code for a viewing direction change event. |
| Constructor Summary | |
CameraEditEvent(int code,
Camera target)
Constructs a new CameraEditEvent object with the specified integer code and target. |
|
| Method Summary | |
int |
getCode()
Returns the integer code of this CameraEditEvent object. |
Camera |
getTarget()
Returns the target of this CameraEditEvent object. |
boolean |
isFocalLengthChangeEvent()
Returns true if this CameraEditEvent object is a focal length change event. |
boolean |
isLocationChangeEvent()
Returns true if this CameraEditEvent object is a location change event. |
boolean |
isProjectionDimensionsChangeEvent()
Returns true if this CameraEditEvent object is a projection dimensions change event. |
boolean |
isUpDirectionChangeEvent()
Returns true if this CameraEditEvent object is an up direction change event. |
boolean |
isViewingDirectionChangeEvent()
Returns true if this CameraEditEvent object is a viewing direction change event. |
java.lang.String |
toString()
Returns "CameraEditEvent". |
| 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 viewingDirectionChangeEvent
public static final int upDirectionChangeEvent
public static final int focalLengthChangeEvent
public static final int projectionDimensionsChangeEvent
| Constructor Detail |
public CameraEditEvent(int code,
Camera target)
| Method Detail |
public int getCode()
public Camera getTarget()
getTarget in interface CameraEventpublic boolean isLocationChangeEvent()
public boolean isViewingDirectionChangeEvent()
public boolean isUpDirectionChangeEvent()
public boolean isFocalLengthChangeEvent()
public boolean isProjectionDimensionsChangeEvent()
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 | |||||||||