public class MouseEmptySelector extends MouseWidgetAction
Modifier and Type | Field and Description |
---|---|
protected boolean |
isFrame
Flag to separate frames and dialogs from other widgets.
|
protected Frame<?> |
parentContainer
Parent frame for widget the handler is attached to.
|
protected Widget<?> |
widgetEff
Actual widget whose component is attached to handler.
|
gd, mouseActions, widget
Constructor and Description |
---|
MouseEmptySelector(Widget<?> widget)
Basic constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
mousePressed(java.awt.event.MouseEvent e)
This action is dedicated for mouse press on not selectable frames.
|
getEventId, hasEvent
protected final boolean isFrame
protected final Frame<?> parentContainer
protected final Widget<?> widgetEff
public MouseEmptySelector(Widget<?> widget)
widget
- The widget for which the empty selector action should be handled.public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class java.awt.event.MouseAdapter