public class DefaultDashboard extends Object implements Dashboard
Dashboard implementation.
In most of cases this implementation will be enough| Constructor and Description |
|---|
DefaultDashboard(String id,
String title) |
| Modifier and Type | Method and Description |
|---|---|
void |
addWidget(Widget widget) |
void |
deleteWidget(String widgetId) |
int |
getColumnCount() |
String |
getId() |
String |
getTitle() |
Widget |
getWidget(String widgetId) |
List<Widget> |
getWidgets() |
List<Widget> |
getWidgets(int column) |
void |
setColumnCount(int columnCount) |
void |
setTitle(String title) |
void |
setWidgets(List<Widget> widgets) |
String |
toString() |
public int getColumnCount()
getColumnCount in interface Dashboardpublic void setColumnCount(int columnCount)
setColumnCount in interface Dashboardpublic List<Widget> getWidgets()
getWidgets in interface Dashboardpublic List<Widget> getWidgets(int column)
getWidgets in interface Dashboardpublic void deleteWidget(String widgetId)
deleteWidget in interface DashboardCopyright © 2025. All rights reserved.