Package kiyut.sketsa.canvas.event
Class CanvasSelectionEvent
- java.lang.Object
-
- java.util.EventObject
-
- kiyut.sketsa.canvas.event.CanvasSelectionEvent
-
- All Implemented Interfaces:
Serializable
public class CanvasSelectionEvent extends EventObject
An event that characterizes a change in the current selection.- Author:
- Kiyut
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description CanvasSelectionEvent(Object source, List<org.w3c.dom.svg.SVGElement> selectionList)Construct a CanvasSelectionEvent object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.w3c.dom.svg.SVGElement>getSelectionList()Return the selection listbooleanisEmpty()Test if the selection list has no elements.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Method Detail
-
getSelectionList
public List<org.w3c.dom.svg.SVGElement> getSelectionList()
Return the selection list- Returns:
- selection list
-
isEmpty
public boolean isEmpty()
Test if the selection list has no elements.- Returns:
- true if selections list has no elements; false otherwise.
-
-