de.jreality.scene.event
Class GeometryEvent
java.lang.Object
java.util.EventObject
de.jreality.scene.event.SceneEvent
de.jreality.scene.event.GeometryEvent
- All Implemented Interfaces:
- java.io.Serializable
public class GeometryEvent
- extends SceneEvent
The event object containing information about the changed
geometry data. The event contains the attribute keys of changed
geometry features. The key can be used to query the actual values
from the source geometry.
- Author:
- pietsch
- See Also:
- Serialized Form
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GeometryEvent
public GeometryEvent(Geometry source,
java.util.Set<Attribute> chgVertexAttrKeys,
java.util.Set<Attribute> chgEdgeAttrKeys,
java.util.Set<Attribute> chgFaceAttrKeys,
java.util.Set<java.lang.String> chgGeomAttrKeys)
- Parameters:
source
-
getChangedVertexAttributes
public java.util.Set<Attribute> getChangedVertexAttributes()
getChangedEdgeAttributes
public java.util.Set<Attribute> getChangedEdgeAttributes()
getChangedFaceAttributes
public java.util.Set<Attribute> getChangedFaceAttributes()
getChangedGeometryAttributes
public java.util.Set<java.lang.String> getChangedGeometryAttributes()
getGeometry
public Geometry getGeometry()