|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netxms.client.dashboards.DashboardElement
public class DashboardElement
Dashboard's element
| Field Summary | |
|---|---|
static int |
BAR_CHART
|
static int |
BOTTOM
|
static int |
CENTER
|
static int |
FILL
|
static int |
LABEL
|
static int |
LEFT
|
static int |
LINE_CHART
|
static int |
PIE_CHART
|
static int |
RIGHT
|
static int |
STATUS_INDICATOR
|
static int |
TOP
|
| Constructor Summary | |
|---|---|
DashboardElement(DashboardElement src)
Copy constructor |
|
DashboardElement(int type,
java.lang.String data)
Create dashboard element which takes 1 cell with FILL layout in both directions |
|
DashboardElement(NXCPMessage msg,
long baseId)
Create dashboard element from NXCP message |
|
| Method Summary | |
|---|---|
void |
fillMessage(NXCPMessage msg,
long baseId)
Fill NXCP message with element's data |
java.lang.String |
getData()
|
int |
getHorizontalAlignment()
|
int |
getHorizontalSpan()
|
int |
getType()
|
int |
getVerticalAlignment()
|
int |
getVerticalSpan()
|
void |
setData(java.lang.String data)
|
void |
setHorizontalAlignment(int horizontalAlignment)
|
void |
setHorizontalSpan(int horizontalSpan)
|
void |
setVerticalAlignment(int verticalAlignment)
|
void |
setVerticalSpan(int verticalSpan)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int LABEL
public static final int LINE_CHART
public static final int BAR_CHART
public static final int PIE_CHART
public static final int STATUS_INDICATOR
public static final int FILL
public static final int CENTER
public static final int LEFT
public static final int RIGHT
public static final int TOP
public static final int BOTTOM
| Constructor Detail |
|---|
public DashboardElement(int type,
java.lang.String data)
type - element's typedata - element's data
public DashboardElement(NXCPMessage msg,
long baseId)
msg - NXCP messagebaseId - base variable IDpublic DashboardElement(DashboardElement src)
src - original element| Method Detail |
|---|
public void fillMessage(NXCPMessage msg,
long baseId)
msg - NXCP messagebaseId - base variable IDpublic java.lang.String getData()
public void setData(java.lang.String data)
data - the data to setpublic int getHorizontalSpan()
public void setHorizontalSpan(int horizontalSpan)
horizontalSpan - the horizontalSpan to setpublic int getVerticalSpan()
public void setVerticalSpan(int verticalSpan)
verticalSpan - the verticalSpan to setpublic int getHorizontalAlignment()
public void setHorizontalAlignment(int horizontalAlignment)
horizontalAlignment - the horizontalAlignment to setpublic int getVerticalAlignment()
public void setVerticalAlignment(int verticalAlignment)
verticalAlignment - the verticalAlignment to setpublic int getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||