Package com.hp.lft.sdk
Class DragAndDropArgs
java.lang.Object
com.hp.lft.sdk.DragAndDropArgs
Class defining the behavior for drag and drop operations.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the point on the source object where the drag operation begins.Returns the point on the source object where the drag operation ends.Returns the mouse button used to drag this object.voidsetDragFromLocation(Location dragFromLocation) Sets the point on the source object where the drag operation begins.voidsetDropOnLocation(Location dropOnLocation) Sets the point on the source object where the drag operation ends.voidsetMouseButtonClicked(MouseButton mouseButtonClicked) Sets the mouse button used to drag this object.
- 
Constructor Details- 
DragAndDropArgspublic DragAndDropArgs()Initializes a new instance of the DragAndDropArgs class.
 
- 
- 
Method Details- 
getDragFromLocationReturns the point on the source object where the drag operation begins. Default is the center of the object.- Returns:
- the the point on the source object where the drag operation begins.
 
- 
setDragFromLocationSets the point on the source object where the drag operation begins.- Parameters:
- dragFromLocation- the point on the source object where the drag operation begins.
 
- 
getDropOnLocationReturns the point on the source object where the drag operation ends. Default is the center of the object.- Returns:
- the the point on the source object where the drag operation ends.
 
- 
setDropOnLocationSets the point on the source object where the drag operation ends.- Parameters:
- dropOnLocation- the point on the source object where the drag operation ends.
 
- 
getMouseButtonClickedReturns the mouse button used to drag this object.- Returns:
- the mouse button used to drag this object.
 
- 
setMouseButtonClickedSets the mouse button used to drag this object.- Parameters:
- mouseButtonClicked- the mouse button used to drag this object.
 
 
-