|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.j3d.threeD.ui.event.SceneEvent
net.sf.j3d.threeD.ui.event.SceneEditEvent
net.sf.j3d.threeD.ui.event.SurfaceEditEvent
public class SurfaceEditEvent
A SurfaceEditEvent object represents the event of editing a surface in the current scene. The integer code of the SurfaceEditEvent is the sum of all of the codes that apply to the edit.
| Field Summary | |
|---|---|
static int |
colorChangeEvent
The code for color change event. |
static int |
dataChangeEvent
The code for a data change event. |
static int |
locationChangeEvent
the code for location change event. |
static int |
nameChangeEvent
The code for name change event. |
static int |
rotationCoefficientChangeEvent
The code for a rotation coefficient change event. |
static int |
scaleCoefficientChangeEvent
The code for a scale coefficient change event. |
static int |
shadingOptionChangeEvent
The code for a shading options change event. |
static int |
sizeChangeEvent
The code for a size change event. |
static int |
transformationChangeEvent
The code for a transformation change event. |
| Constructor Summary | |
|---|---|
SurfaceEditEvent(int code,
Surface target)
Constructs a new SurfaceEditEvent object with the specified integer code. |
|
| Method Summary | |
|---|---|
int |
getCode()
Returns the integer code of this SurfaceEditEvent object. |
Surface |
getTarget()
Returns the target of this SurfaceEditEvent. |
boolean |
isColorChangeEvent()
Returns true if this SurfaceEditEvent object is a color change event. |
boolean |
isDataChangeEvent()
Returns true if this SurfaceEditEvent object is a data change event. |
boolean |
isLocationChangeEvent()
Returns true if this SurfaceEditEvent object is a location change event. |
boolean |
isNameChangeEvent()
Returns true if this SurfaceEditEvent object is a name change event. |
boolean |
isRotationCoefficientChangeEvent()
Returns true if this SurfaceEditEvent object is a rotation coefficient change event. |
boolean |
isScaleCoefficientChangeEvent()
Returns true if this SurfaceEditEvent object is a scale coefficient change event. |
boolean |
isShadingOptionChangeEvent()
Returns true if thsi SurfaceEditEvent object is a shading option change event. |
boolean |
isSizeChangeEvent()
Returns true if this SurfaceEditEvent object is a size change event. |
boolean |
isTransformationChangeEvent()
Returns true if this SurfaceEditEvent obeject is a transformation change event. |
String |
toString()
Returns "SurfaceEditEvent". |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int nameChangeEvent
public static final int locationChangeEvent
public static final int sizeChangeEvent
public static final int scaleCoefficientChangeEvent
public static final int rotationCoefficientChangeEvent
public static final int transformationChangeEvent
public static final int colorChangeEvent
public static final int shadingOptionChangeEvent
public static final int dataChangeEvent
| Constructor Detail |
|---|
public SurfaceEditEvent(int code,
Surface target)
| Method Detail |
|---|
public int getCode()
public Surface getTarget()
getTarget in interface SurfaceEventpublic boolean isNameChangeEvent()
public boolean isLocationChangeEvent()
public boolean isSizeChangeEvent()
public boolean isScaleCoefficientChangeEvent()
public boolean isRotationCoefficientChangeEvent()
public boolean isTransformationChangeEvent()
public boolean isColorChangeEvent()
public boolean isShadingOptionChangeEvent()
public boolean isDataChangeEvent()
public String toString()
toString in class SceneEditEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||