public final class ContiguousSelectEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ContiguousSelectEvent.SelectionType
Defines a type of a selection.
|
Modifier and Type | Method and Description |
---|---|
static ContiguousSelectEvent |
create(Widget previousWidget,
Point previousLocalLocation,
Widget choosenWidget,
Point choosenLocalLocation,
ContiguousSelectEvent.SelectionType selectionType)
Creates an event.
|
Point |
getChoosenLocalLocation()
Returns a local location of a choosen widget.
|
Widget |
getChoosenWidget()
Returns a choosen widget.
|
Point |
getPreviouslyChoosenLocalLocation()
Returns a local location of a previously choosen widget.
|
Widget |
getPreviouslyChoosenWidget()
Returns a previously choosen widget.
|
ContiguousSelectEvent.SelectionType |
getSelectionType()
Represents a selection type.
|
public Widget getPreviouslyChoosenWidget()
public Point getPreviouslyChoosenLocalLocation()
public Widget getChoosenWidget()
public Point getChoosenLocalLocation()
public ContiguousSelectEvent.SelectionType getSelectionType()
public static ContiguousSelectEvent create(Widget previousWidget, Point previousLocalLocation, Widget choosenWidget, Point choosenLocalLocation, ContiguousSelectEvent.SelectionType selectionType)
previousWidget
- the previously choosen widgetpreviousLocalLocation
- the local location of the previously choosen widgetchoosenWidget
- the choosen widgetchoosenLocalLocation
- the local location of the currently choosen widgetselectionType
- the selection type invoked by an user