public class SelectionEvent extends EventObject
Constructor and Description |
---|
SelectionEvent(Object source,
Selection selection) |
Modifier and Type | Method and Description |
---|---|
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 |
getSource, toString
public Selection getSelection()
public boolean toolSelected()
Tool
was selectedpublic boolean entitySelected()
AttributeEntity
was selectedpublic boolean rootSelected()
public boolean nodeSelected()
SceneGraphNode
was selectedpublic boolean componentSelected()
SceneGraphComponent
was selectedpublic boolean geometrySelected()
Geometry
was selectedpublic boolean appearanceSelected()
Appearance
was selectedpublic boolean transformationSelected()
Transformation
was selected