org.netxms.client.maps.elements
Class NetworkMapDecoration
java.lang.Object
org.netxms.client.maps.elements.NetworkMapElement
org.netxms.client.maps.elements.NetworkMapDecoration
public class NetworkMapDecoration
- extends NetworkMapElement
Decoration element of network map
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
GROUP_BOX
public static final int GROUP_BOX
- See Also:
- Constant Field Values
IMAGE
public static final int IMAGE
- See Also:
- Constant Field Values
NetworkMapDecoration
protected NetworkMapDecoration(NXCPMessage msg,
long baseId)
- Parameters:
msg
- baseId
-
NetworkMapDecoration
public NetworkMapDecoration(long id,
int decorationType)
- Create new decoration object
- Parameters:
id
- decorationType
-
getDecorationType
public int getDecorationType()
- Returns:
- the decorationType
getColor
public int getColor()
- Returns:
- the color
getTitle
public java.lang.String getTitle()
- Returns:
- the title
setColor
public void setColor(int color)
- Parameters:
color
- the color to set
setTitle
public void setTitle(java.lang.String title)
- Parameters:
title
- the title to set
fillMessage
public void fillMessage(NXCPMessage msg,
long baseId)
- Description copied from class:
NetworkMapElement
- Fill NXCP message with element data
- Overrides:
fillMessage
in class NetworkMapElement
- Parameters:
msg
- NXCP messagebaseId
- base variable ID
getWidth
public int getWidth()
- Returns:
- the width
getHeight
public int getHeight()
- Returns:
- the height
setSize
public void setSize(int w,
int h)
- Set decoration size
- Parameters:
w
- widthh
- height
Copyright © 2013. All Rights Reserved.