|
org.netbeans.api.visual 2.17.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.api.visual.action.ContiguousSelectEvent
public final class ContiguousSelectEvent
Represents an event for ContiguousSelectEvent passed to ContiguousSelectProvider. Contains information about selection-type, previously and currently choosen objects spots.
| Nested Class Summary | |
|---|---|
static class |
ContiguousSelectEvent.SelectionType
Defines a type of a selection. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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
|
org.netbeans.api.visual 2.17.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||