public class WebMouseDirectManipulation extends MouseDirectManipulation
| Modifier and Type | Field and Description |
|---|---|
static int |
BOX_SELECTION
Box selection.
|
private static boolean |
jsInAction
Per client session global flag to indicate JS direct manipulation is active.
|
static int |
MOVE_WIDGETS
Widget move.
|
static int |
RESIZE_ROW
Row resize.
|
static int |
RESIZE_WIDGET
Widget resize.
|
boxSelecting, clickExpected, dragInProgress, isFrame, isRectangle, isWindow, parentContainer, RESIZE_DIRECTION_E, RESIZE_DIRECTION_N, RESIZE_DIRECTION_NE, RESIZE_DIRECTION_NW, RESIZE_DIRECTION_S, RESIZE_DIRECTION_SE, RESIZE_DIRECTION_SW, RESIZE_DIRECTION_W, RESIZE_HANDLE_SIZE, resizeDirection, resizedRowNumber, rowResizing, startPoint, widgetEff, widgetResizing, widgetsMoving, widgetToResize, windowWorkSpacegd, mouseActions, widget| Constructor and Description |
|---|
WebMouseDirectManipulation(Widget<?> widget)
Constructor for Web client specific version.
|
| Modifier and Type | Method and Description |
|---|---|
void |
mouseClicked(java.awt.event.MouseEvent evt)
Notification of a mouse clicked event occurred for this handler.
|
void |
mouseDragged(java.awt.event.MouseEvent evt)
Notification of a mouse dragged event occurred for this handler.
|
void |
mouseMoved(java.awt.event.MouseEvent evt)
Notification of a mouse moved event occurred for this handler.
|
void |
mousePressed(java.awt.event.MouseEvent evt)
Notification of a mouse pressed event occurred for this widget.
|
void |
mouseReleased(java.awt.event.MouseEvent evt)
Notification of a mouse released event occurred for this handler.
|
void |
processDrag(java.awt.event.MouseEvent evt,
boolean firstCall)
Handling drag mouse event for Web client specific processing.
|
private void |
startDirectManipulation()
This calls initiates the mouse processing on the JS side to handle selection rectangles
painting.
|
getMovableWidgetsBounds, isDirectManipulationValid, isFrameResizing, isGridSnapOn, mouseExited, setNoApplyEventgetEventId, hasEventpublic static final int RESIZE_WIDGET
public static final int RESIZE_ROW
public static final int MOVE_WIDGETS
public static final int BOX_SELECTION
private static volatile boolean jsInAction
public WebMouseDirectManipulation(Widget<?> widget)
widget - The widget which contains the objects for direct manipulation.public void mousePressed(java.awt.event.MouseEvent evt)
mousePressed in interface java.awt.event.MouseListenermousePressed in class MouseDirectManipulationevt - The mouse event.public void mouseClicked(java.awt.event.MouseEvent evt)
mouseClicked in interface java.awt.event.MouseListenermouseClicked in class MouseDirectManipulationevt - The mouse event.public void mouseReleased(java.awt.event.MouseEvent evt)
mouseReleased in interface java.awt.event.MouseListenermouseReleased in class MouseDirectManipulationevt - The mouse event.public void mouseMoved(java.awt.event.MouseEvent evt)
mouseMoved in interface java.awt.event.MouseMotionListenermouseMoved in class MouseDirectManipulationevt - The mouse event.public void mouseDragged(java.awt.event.MouseEvent evt)
mouseDragged in interface java.awt.event.MouseMotionListenermouseDragged in class MouseDirectManipulationevt - The mouse event.public void processDrag(java.awt.event.MouseEvent evt,
boolean firstCall)
processDrag in class MouseDirectManipulationevt - The mouse event details.firstCall - Flag indicating first call in a current drag session.private void startDirectManipulation()