public class DashboardWidgetClickEvent extends DashboardWidgetEvent
DashboardWidgetClickEvent Class that contains mouse click event information for a DashboardWidget This data class will be made available to your custom callback routine after the user executes a click on the DashboardWidget if you have previously executed the DashboardWidget::setCallback() method to register for the ON_WIDGET_CLICK event.
This event is independent of the mouse button (left, middle, right) and overrides any callbacks associated with the ON_WIDGET_LEFT_CLICK or ON_WIDGET_RIGHT_CLICK event types.
| Modifier and Type | Field and Description |
|---|---|
BBjMouseUpEvent | BBjMouseUpEvent!The BBjMouseUp event that triggered this event |
WidgetControl! | Constructor and Description |
|---|
DashboardWidgetClickEvent(DashboardWidget p_dashboardWidget!, BBjMouseUpEvent p_event!)Contructs a DashboardWidgetClickEvent The dashboard utility uses this method internally to create a DashboardWidgetClickEvent. After the user clicks on the widget the WidgetControl uses this method to create a DashboardWidgetClickEvent that is then passed to your callback routine. |
getDashboardWidget public BBjMouseUpEvent BBjMouseUpEvent!The BBjMouseUp event that triggered this event
public DashboardWidgetClickEvent(DashboardWidget p_dashboardWidget!, BBjMouseUpEvent p_event!)
Contructs a DashboardWidgetClickEvent
The dashboard utility uses this method internally to create a DashboardWidgetClickEvent. After the user clicks on the widget the WidgetControl uses this method to create a DashboardWidgetClickEvent that is then passed to your callback routine.
p_dashboardWidget! The DashboardWidget that is associated with the eventp_event! The BBjMouseUpEvent that is associated with the event