Package jahuwaldt.j3d
Class TransformChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- jahuwaldt.j3d.TransformChangeEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class TransformChangeEvent extends java.util.EventObject
An even that represents a change in a transform.Modified by: Joseph A.Huwaldt
- Version:
- June 4, 2023
- Author:
- Joseph A. Huwaldt, Date: April 14, 2009
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransformChangeEvent.Type
The type of change that has been made to the transform.
-
Constructor Summary
Constructors Constructor Description TransformChangeEvent(java.lang.Object source, TransformChangeEvent.Type type, org.jogamp.java3d.Transform3D transform)
Construct a new event using the specified source, type code and transform.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jogamp.java3d.Transform3D
getTransform()
Return the new transformation matrix.TransformChangeEvent.Type
getType()
Return the type of transform.
-
-
-
Constructor Detail
-
TransformChangeEvent
public TransformChangeEvent(java.lang.Object source, TransformChangeEvent.Type type, org.jogamp.java3d.Transform3D transform)
Construct a new event using the specified source, type code and transform.- Parameters:
source
- The source of the change in the transform.type
- The type code for the change as enumerated in this class.transform
- The new transform after the change.
-
-
Method Detail
-
getType
public TransformChangeEvent.Type getType()
Return the type of transform.- Returns:
- The type of the transform.
-
getTransform
public org.jogamp.java3d.Transform3D getTransform()
Return the new transformation matrix.- Returns:
- The new transformation matrix.
-
-