Package org.netxms.client.dashboards
Class DashboardElement
- java.lang.Object
-
- org.netxms.client.dashboards.DashboardElement
-
public class DashboardElement extends Object
Dashboard's element
-
-
Field Summary
Fields Modifier and Type Field Description static intALARM_VIEWERstatic intAVAILABLITY_CHARTstatic intBAR_CHARTstatic intBOTTOMstatic intCENTERstatic intCUSTOMstatic intDASHBOARDstatic intDCI_SUMMARY_TABLEstatic intDIAL_CHARTstatic intEVENT_MONITORstatic intFILLstatic intGEO_MAPstatic intLABELstatic intLEFTstatic intLINE_CHARTstatic intNETWORK_MAPstatic intOBJECT_QUERYstatic intOBJECT_TOOLSstatic intPIE_CHARTstatic intPORT_VIEWstatic intRACK_DIAGRAMstatic intRIGHTstatic intSEPARATORstatic intSERVICE_COMPONENTSstatic intSNMP_TRAP_MONITORstatic intSTATUS_CHARTstatic intSTATUS_INDICATORstatic intSTATUS_MAPstatic intSYSLOG_MONITORstatic intTABLE_BAR_CHARTstatic intTABLE_PIE_CHARTstatic intTABLE_TUBE_CHARTstatic intTABLE_VALUEstatic intTOPstatic intTUBE_CHARTstatic intWEB_PAGE
-
Constructor Summary
Constructors Constructor Description DashboardElement(int type, String data)Create dashboard element which takes 1 cell with FILL layout in both directionsDashboardElement(org.netxms.base.NXCPMessage msg, long baseId)Create dashboard element from NXCP messageDashboardElement(DashboardElement src)Copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfillMessage(org.netxms.base.NXCPMessage msg, long baseId)Fill NXCP message with element's dataStringgetData()StringgetLayout()intgetType()voidsetData(String data)voidsetLayout(String layout)
-
-
-
Field Detail
-
LABEL
public static final int LABEL
- See Also:
- Constant Field Values
-
LINE_CHART
public static final int LINE_CHART
- See Also:
- Constant Field Values
-
BAR_CHART
public static final int BAR_CHART
- See Also:
- Constant Field Values
-
PIE_CHART
public static final int PIE_CHART
- See Also:
- Constant Field Values
-
TUBE_CHART
public static final int TUBE_CHART
- See Also:
- Constant Field Values
-
STATUS_CHART
public static final int STATUS_CHART
- See Also:
- Constant Field Values
-
STATUS_INDICATOR
public static final int STATUS_INDICATOR
- See Also:
- Constant Field Values
-
DASHBOARD
public static final int DASHBOARD
- See Also:
- Constant Field Values
-
NETWORK_MAP
public static final int NETWORK_MAP
- See Also:
- Constant Field Values
-
CUSTOM
public static final int CUSTOM
- See Also:
- Constant Field Values
-
GEO_MAP
public static final int GEO_MAP
- See Also:
- Constant Field Values
-
ALARM_VIEWER
public static final int ALARM_VIEWER
- See Also:
- Constant Field Values
-
AVAILABLITY_CHART
public static final int AVAILABLITY_CHART
- See Also:
- Constant Field Values
-
DIAL_CHART
public static final int DIAL_CHART
- See Also:
- Constant Field Values
-
WEB_PAGE
public static final int WEB_PAGE
- See Also:
- Constant Field Values
-
TABLE_BAR_CHART
public static final int TABLE_BAR_CHART
- See Also:
- Constant Field Values
-
TABLE_PIE_CHART
public static final int TABLE_PIE_CHART
- See Also:
- Constant Field Values
-
TABLE_TUBE_CHART
public static final int TABLE_TUBE_CHART
- See Also:
- Constant Field Values
-
SEPARATOR
public static final int SEPARATOR
- See Also:
- Constant Field Values
-
TABLE_VALUE
public static final int TABLE_VALUE
- See Also:
- Constant Field Values
-
STATUS_MAP
public static final int STATUS_MAP
- See Also:
- Constant Field Values
-
DCI_SUMMARY_TABLE
public static final int DCI_SUMMARY_TABLE
- See Also:
- Constant Field Values
-
SYSLOG_MONITOR
public static final int SYSLOG_MONITOR
- See Also:
- Constant Field Values
-
SNMP_TRAP_MONITOR
public static final int SNMP_TRAP_MONITOR
- See Also:
- Constant Field Values
-
EVENT_MONITOR
public static final int EVENT_MONITOR
- See Also:
- Constant Field Values
-
SERVICE_COMPONENTS
public static final int SERVICE_COMPONENTS
- See Also:
- Constant Field Values
-
RACK_DIAGRAM
public static final int RACK_DIAGRAM
- See Also:
- Constant Field Values
-
OBJECT_TOOLS
public static final int OBJECT_TOOLS
- See Also:
- Constant Field Values
-
OBJECT_QUERY
public static final int OBJECT_QUERY
- See Also:
- Constant Field Values
-
PORT_VIEW
public static final int PORT_VIEW
- See Also:
- Constant Field Values
-
FILL
public static final int FILL
- See Also:
- Constant Field Values
-
CENTER
public static final int CENTER
- See Also:
- Constant Field Values
-
LEFT
public static final int LEFT
- See Also:
- Constant Field Values
-
RIGHT
public static final int RIGHT
- See Also:
- Constant Field Values
-
TOP
public static final int TOP
- See Also:
- Constant Field Values
-
BOTTOM
public static final int BOTTOM
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DashboardElement
public DashboardElement(int type, String data)Create dashboard element which takes 1 cell with FILL layout in both directions- Parameters:
type- element's typedata- element's data
-
DashboardElement
public DashboardElement(org.netxms.base.NXCPMessage msg, long baseId)Create dashboard element from NXCP message- Parameters:
msg- NXCP messagebaseId- base variable ID
-
DashboardElement
public DashboardElement(DashboardElement src)
Copy constructor- Parameters:
src- original element
-
-
Method Detail
-
fillMessage
public void fillMessage(org.netxms.base.NXCPMessage msg, long baseId)Fill NXCP message with element's data- Parameters:
msg- NXCP messagebaseId- base variable ID
-
getData
public String getData()
- Returns:
- the data
-
setData
public void setData(String data)
- Parameters:
data- the data to set
-
getType
public int getType()
- Returns:
- the type
-
getLayout
public String getLayout()
- Returns:
- the layout
-
setLayout
public void setLayout(String layout)
- Parameters:
layout- the layout to set
-
-