public class DashboardWidgetRefreshEvent extends DashboardWidgetEvent
Modifier and Type | Field and Description |
---|---|
static BBjNumber |
REFRESH_TYPE_AUTO |
static BBjNumber |
REFRESH_TYPE_CATEGORY |
static BBjNumber |
REFRESH_TYPE_WIDGET |
WidgetControl!
Constructor and Description |
---|
DashboardWidgetRefreshEvent(DashboardWidget p_dashboardWidget!)
Contructs a DashboardWidgetRefreshEvent
|
DashboardWidgetRefreshEvent(DashboardWidget p_dashboardWidget!,
BBjNumber p_refreshType)
Contructs a DashboardWidgetRefreshEvent specifying the refresh type
|
Modifier and Type | Method and Description |
---|---|
BBjNumber |
getRefreshType()
Returns the type of refresh (a constant defined in the ChartWidget class) based on what initiated the event.
|
getDashboardWidget
public static BBjNumber REFRESH_TYPE_WIDGET
public static BBjNumber REFRESH_TYPE_CATEGORY
public static BBjNumber REFRESH_TYPE_AUTO
public DashboardWidgetRefreshEvent(DashboardWidget p_dashboardWidget!)
The dashboard utility uses this method internally to create a DashboardWidgetRefreshEvent. After a widget's refresh event has been triggered the WidgetControl uses this method to create a DashboardWidgetRefreshEvent that is then passed to your callback routine.
p_dashboardWidget!
- The DashboardWidget that is associated with the eventpublic DashboardWidgetRefreshEvent(DashboardWidget p_dashboardWidget!, BBjNumber p_refreshType)
The dashboard utility uses this method internally to create a DashboardWidgetRefreshEvent. After a widget's refresh event has been triggered the WidgetControl uses this method to create a DashboardWidgetRefreshEvent that is then passed to your callback routine.
p_dashboardWidget!
- The DashboardWidget that is associated with the eventpublic BBjNumber getRefreshType()