|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netxms.client.datacollection.GraphItemStyle
public class GraphItemStyle
This class contains styling for individual graph items
Field Summary | |
---|---|
static int |
AREA
|
static int |
LINE
|
static int |
SHOW_AVERAGE
|
static int |
SHOW_THRESHOLDS
|
static int |
SHOW_TREND
|
Constructor Summary | |
---|---|
GraphItemStyle()
Create style record with default values. |
|
GraphItemStyle(int color)
Create style record for line item with given color |
|
GraphItemStyle(int type,
int color,
int lineWidth,
int flags)
constructor |
Method Summary | |
---|---|
int |
getColor()
|
int |
getFlags()
|
int |
getLineWidth()
|
int |
getType()
|
boolean |
isShowAverage()
Convenient method for checking SHOW_AVERAGE flag |
boolean |
isShowThresholds()
Convenient method for checking SHOW_THRESHOLDS flag |
boolean |
isShowTrend()
Convenient method for checking SHOW_TREND flag |
void |
setColor(int color)
|
void |
setFlags(int flags)
|
void |
setLineWidth(int lineWidth)
|
void |
setType(int type)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LINE
public static final int AREA
public static final int SHOW_AVERAGE
public static final int SHOW_THRESHOLDS
public static final int SHOW_TREND
Constructor Detail |
---|
public GraphItemStyle()
public GraphItemStyle(int color)
public GraphItemStyle(int type, int color, int lineWidth, int flags)
type
- color
- lineWidth
- flags
- Method Detail |
---|
public int getType()
public int getColor()
public int getLineWidth()
public int getFlags()
public void setType(int type)
type
- the type to setpublic void setColor(int color)
color
- the color to setpublic void setLineWidth(int lineWidth)
lineWidth
- the lineWidth to setpublic void setFlags(int flags)
flags
- the flags to setpublic boolean isShowAverage()
public boolean isShowThresholds()
public boolean isShowTrend()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |