当前页面:
在线文档首页 >
NetBeans API Javadoc 5.0.0
Toolbar.DnDEvent (NetBeans Loaders API) - NetBeans API Javadoc 5.0.0
org.openide.awt
Class Toolbar.DnDEvent
java.lang.Object
java.util.EventObject
org.openide.awt.Toolbar.DnDEvent
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- Toolbar
- public static class Toolbar.DnDEvent
- extends EventObject
DnDEvent is Toolbar's drag and drop event.
- See Also:
- Serialized Form
Field Summary |
static int |
DND_END
Type of DnDEvent. |
static int |
DND_LINE
Type of DnDEvent. |
static int |
DND_ONE
Type of DnDEvent. |
DND_ONE
public static final int DND_ONE
- Type of DnDEvent. Dragging with only one Toolbar.
- See Also:
- Constant Field Values
DND_END
public static final int DND_END
- Type of DnDEvent. Only horizontal dragging with Toolbar and it's followers.
- See Also:
- Constant Field Values
DND_LINE
public static final int DND_LINE
- Type of DnDEvent. Only vertical dragging with whole lines.
- See Also:
- Constant Field Values
Toolbar.DnDEvent
public Toolbar.DnDEvent(Toolbar toolbar,
String name,
int dx,
int dy,
int type)
getName
public String getName()
- Returns:
- name of toolbar where event occured.
getDX
public int getDX()
- Returns:
- distance of horizontal dragging
getDY
public int getDY()
- Returns:
- distance of vertical dragging
getType
public int getType()
- Returns:
- type of event.