|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
de.jreality.ui.viewerapp.SelectionEvent
public class SelectionEvent
Event for selections in the scene graph.
| Constructor Summary | |
|---|---|
SelectionEvent(Object source,
Selection selection)
|
|
| Method Summary | |
|---|---|
boolean |
appearanceSelected()
Returns true iff an Appearance was selected |
boolean |
componentSelected()
Returns true iff a SceneGraphComponent was selected |
boolean |
entitySelected()
Returns true iff an AttributeEntity was selected |
boolean |
geometrySelected()
Returns true iff a Geometry was selected |
Selection |
getSelection()
Get the current Selection object |
boolean |
nodeSelected()
Returns true iff a SceneGraphNode was selected |
boolean |
rootSelected()
Returns true iff the scene graph's root was selected |
boolean |
toolSelected()
Returns true iff a Tool was selected |
boolean |
transformationSelected()
Returns true iff a Transformation was selected |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SelectionEvent(Object source,
Selection selection)
source - the event's sourceselection - the current Selection object| Method Detail |
|---|
public Selection getSelection()
public boolean toolSelected()
Tool was selected
public boolean entitySelected()
AttributeEntity was selected
public boolean rootSelected()
public boolean nodeSelected()
SceneGraphNode was selected
public boolean componentSelected()
SceneGraphComponent was selected
public boolean geometrySelected()
Geometry was selected
public boolean appearanceSelected()
Appearance was selected
public boolean transformationSelected()
Transformation was selected
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||