public class TabDragEvent extends TabEvent
TabbedPanel
,
Tab
,
Serialized FormConstructor and Description |
---|
TabDragEvent(java.lang.Object source,
java.awt.event.MouseEvent mouseEvent)
Constructs a TabDragEvent
|
TabDragEvent(java.lang.Object source,
Tab tab,
java.awt.Point point)
Deprecated.
Use
TabDragEvent(Object, java.awt.event.MouseEvent) instead. |
Modifier and Type | Method and Description |
---|---|
java.awt.event.MouseEvent |
getMouseEvent()
Returns the mouse event that triggered this drag.
|
java.awt.Point |
getPoint()
Gets the mouse coordinates
|
public TabDragEvent(java.lang.Object source, Tab tab, java.awt.Point point)
TabDragEvent(Object, java.awt.event.MouseEvent)
instead.source
- the Tab or TabbedPanel that is the source for this
mouseEventtab
- the Tab that is being draggedpoint
- the mouse coordinates relative to the Tab that is being
draggedpublic TabDragEvent(java.lang.Object source, java.awt.event.MouseEvent mouseEvent)
source
- the Tab or TabbedPanel that is the source for thismouseEvent
- the mouse mouseEvent that triggered the drag, the event source should be the tab and the event
point should be relative to the tabpublic java.awt.Point getPoint()
public java.awt.event.MouseEvent getMouseEvent()