|
org.netbeans.api.visual 2.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.api.visual.action.WidgetAction.LockedAdapter
public abstract static class WidgetAction.LockedAdapter
An adapter of the widget action. All methods return locked or rejected event state based on a result of isLocked method. This is often used for long-term actions like MoveAction.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.netbeans.api.visual.action.WidgetAction |
|---|
WidgetAction.Adapter, WidgetAction.Chain, WidgetAction.LockedAdapter, WidgetAction.State, WidgetAction.WidgetDropTargetDragEvent, WidgetAction.WidgetDropTargetDropEvent, WidgetAction.WidgetDropTargetEvent, WidgetAction.WidgetEvent, WidgetAction.WidgetFocusEvent, WidgetAction.WidgetKeyEvent, WidgetAction.WidgetLocationEvent, WidgetAction.WidgetMouseEvent, WidgetAction.WidgetMouseWheelEvent |
| Constructor Summary | |
|---|---|
WidgetAction.LockedAdapter()
|
|
| Method Summary | |
|---|---|
WidgetAction.State |
dragEnter(Widget widget,
WidgetAction.WidgetDropTargetDragEvent event)
Called for handling a dragEnter event. |
WidgetAction.State |
dragExit(Widget widget,
WidgetAction.WidgetDropTargetEvent event)
Called for handling a dragExit event. |
WidgetAction.State |
dragOver(Widget widget,
WidgetAction.WidgetDropTargetDragEvent event)
Called for handling a dragOver event. |
WidgetAction.State |
drop(Widget widget,
WidgetAction.WidgetDropTargetDropEvent event)
Called for handling a drop event. |
WidgetAction.State |
dropActionChanged(Widget widget,
WidgetAction.WidgetDropTargetDragEvent event)
Called for handling a dropActionChanged event. |
WidgetAction.State |
focusGained(Widget widget,
WidgetAction.WidgetFocusEvent event)
Called for handling a focusGained event. |
WidgetAction.State |
focusLost(Widget widget,
WidgetAction.WidgetFocusEvent event)
Called for handling a focusLost event. |
protected abstract boolean |
isLocked()
Called by event handlers to resolve whether they should return locked or rejected event state. |
WidgetAction.State |
keyPressed(Widget widget,
WidgetAction.WidgetKeyEvent event)
Called for handling a keyPressed event. |
WidgetAction.State |
keyReleased(Widget widget,
WidgetAction.WidgetKeyEvent event)
Called for handling a keyReleased event. |
WidgetAction.State |
keyTyped(Widget widget,
WidgetAction.WidgetKeyEvent event)
Called for handling a keyTyped event. |
WidgetAction.State |
mouseClicked(Widget widget,
WidgetAction.WidgetMouseEvent event)
Called for handling a mouseClicked event. |
WidgetAction.State |
mouseDragged(Widget widget,
WidgetAction.WidgetMouseEvent event)
Called for handling a mouseDragged event. |
WidgetAction.State |
mouseEntered(Widget widget,
WidgetAction.WidgetMouseEvent event)
Called for handling a mouseEntered event. |
WidgetAction.State |
mouseExited(Widget widget,
WidgetAction.WidgetMouseEvent event)
Called for handling a mouseExited event. |
WidgetAction.State |
mouseMoved(Widget widget,
WidgetAction.WidgetMouseEvent event)
Called for handling a mouseMoved event. |
WidgetAction.State |
mousePressed(Widget widget,
WidgetAction.WidgetMouseEvent event)
Called for handling a mousePressed event. |
WidgetAction.State |
mouseReleased(Widget widget,
WidgetAction.WidgetMouseEvent event)
Called for handling a mouseReleased event. |
WidgetAction.State |
mouseWheelMoved(Widget widget,
WidgetAction.WidgetMouseWheelEvent event)
Called for handling a mouseWheelMoved event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WidgetAction.LockedAdapter()
| Method Detail |
|---|
protected abstract boolean isLocked()
public WidgetAction.State mouseClicked(Widget widget, WidgetAction.WidgetMouseEvent event)
mouseClicked in interface WidgetActionwidget - the widget where the action is assignedevent - the mouse event
public WidgetAction.State mousePressed(Widget widget, WidgetAction.WidgetMouseEvent event)
mousePressed in interface WidgetActionwidget - the widget where the action is assignedevent - the mouse event
public WidgetAction.State mouseReleased(Widget widget, WidgetAction.WidgetMouseEvent event)
mouseReleased in interface WidgetActionwidget - the widget where the action is assignedevent - the mouse event
public WidgetAction.State mouseEntered(Widget widget, WidgetAction.WidgetMouseEvent event)
mouseEntered in interface WidgetActionwidget - the widget where the action is assignedevent - the mouse event
public WidgetAction.State mouseExited(Widget widget, WidgetAction.WidgetMouseEvent event)
mouseExited in interface WidgetActionwidget - the widget where the action is assignedevent - the mouse event
public WidgetAction.State mouseDragged(Widget widget, WidgetAction.WidgetMouseEvent event)
mouseDragged in interface WidgetActionwidget - the widget where the action is assignedevent - the mouse event
public WidgetAction.State mouseMoved(Widget widget, WidgetAction.WidgetMouseEvent event)
mouseMoved in interface WidgetActionwidget - the widget where the action is assignedevent - the mouse event
public WidgetAction.State mouseWheelMoved(Widget widget, WidgetAction.WidgetMouseWheelEvent event)
mouseWheelMoved in interface WidgetActionwidget - the widget where the action is assignedevent - the mouse wheel event
public WidgetAction.State keyTyped(Widget widget, WidgetAction.WidgetKeyEvent event)
keyTyped in interface WidgetActionwidget - the widget where the action is assignedevent - the key event
public WidgetAction.State keyPressed(Widget widget, WidgetAction.WidgetKeyEvent event)
keyPressed in interface WidgetActionwidget - the widget where the action is assignedevent - the key event
public WidgetAction.State keyReleased(Widget widget, WidgetAction.WidgetKeyEvent event)
keyReleased in interface WidgetActionwidget - the widget where the action is assignedevent - the key event
public WidgetAction.State focusGained(Widget widget, WidgetAction.WidgetFocusEvent event)
focusGained in interface WidgetActionwidget - the widget where the action is assignedevent - the focus event
public WidgetAction.State focusLost(Widget widget, WidgetAction.WidgetFocusEvent event)
focusLost in interface WidgetActionwidget - the widget where the action is assignedevent - the focus event
public WidgetAction.State dragEnter(Widget widget, WidgetAction.WidgetDropTargetDragEvent event)
dragEnter in interface WidgetActionwidget - the widget where the action is assignedevent - the drop target drag event
public WidgetAction.State dragOver(Widget widget, WidgetAction.WidgetDropTargetDragEvent event)
dragOver in interface WidgetActionwidget - the widget where the action is assignedevent - the drop target drag event
public WidgetAction.State dropActionChanged(Widget widget, WidgetAction.WidgetDropTargetDragEvent event)
dropActionChanged in interface WidgetActionwidget - the widget where the action is assignedevent - the drop target drag event
public WidgetAction.State dragExit(Widget widget, WidgetAction.WidgetDropTargetEvent event)
dragExit in interface WidgetActionwidget - the widget where the action is assignedevent - the drop target event
public WidgetAction.State drop(Widget widget, WidgetAction.WidgetDropTargetDropEvent event)
drop in interface WidgetActionwidget - the widget where the action is assignedevent - the drop target drop event
|
org.netbeans.api.visual 2.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||