public class NetworkMapResource extends NetworkMapElement
| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER_RESOURCE |
id, MAP_ELEMENT_DECORATION, MAP_ELEMENT_GENERIC, MAP_ELEMENT_OBJECT, x, y| Constructor and Description |
|---|
NetworkMapResource(long id,
int type,
java.lang.Object data) |
NetworkMapResource(NXCPMessage msg,
long baseId) |
| Modifier and Type | Method and Description |
|---|---|
void |
fillMessage(NXCPMessage msg,
long baseId)
Fill NXCP message with element data
|
java.lang.Object |
getData() |
int |
getType() |
createMapElement, equals, getId, getX, getY, hashCode, setLocationpublic static final int CLUSTER_RESOURCE
public NetworkMapResource(NXCPMessage msg, long baseId)
msg - baseId - public NetworkMapResource(long id,
int type,
java.lang.Object data)
id - public void fillMessage(NXCPMessage msg, long baseId)
NetworkMapElementfillMessage in class NetworkMapElementmsg - NXCP messagebaseId - base variable IDpublic int getType()
getType in class NetworkMapElementpublic java.lang.Object getData()
Copyright © 2013. All Rights Reserved.