|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.model.OnmsMapElement
public class OnmsMapElement
OnmsMapElement class.
| Field Summary | |
|---|---|
static String |
defaultMapIcon
Constant defaultMapIcon="map" |
static String |
defaultNodeIcon
Constant defaultNodeIcon="unspecified" |
static String |
MAP_HIDE_TYPE
Constant MAP_HIDE_TYPE="W" |
static String |
MAP_TYPE
Constant MAP_TYPE="M" |
static String |
NODE_HIDE_TYPE
Constant NODE_HIDE_TYPE="H" |
static String |
NODE_TYPE
Constant NODE_TYPE="N" |
protected String |
type
|
| Constructor Summary | |
|---|---|
protected |
OnmsMapElement()
Constructor for OnmsMapElement. |
|
OnmsMapElement(OnmsMapElement e)
Constructor for OnmsMapElement. |
|
OnmsMapElement(OnmsMap map,
int elementId,
String type,
String label,
String iconName,
int x,
int y)
Constructor for OnmsMapElement. |
|
OnmsMapElement(OnmsMap map,
int elementId,
String type,
String label,
String iconName,
int x,
int y,
int id)
Constructor for OnmsMapElement. |
| Method Summary | |
|---|---|
int |
getElementId()
Getter for the field elementId. |
String |
getIconName()
Getter for the field iconName. |
int |
getId()
Getter for the field id. |
String |
getLabel()
Getter for the field label. |
OnmsMap |
getMap()
Getter for the field map. |
String |
getMapElementId()
getMapElementId |
String |
getType()
Getter for the field type. |
int |
getX()
Getter for the field x. |
int |
getY()
Getter for the field y. |
void |
setElementId(int elementId)
Setter for the field elementId. |
void |
setIconName(String iconName)
Setter for the field iconName. |
void |
setId(int id)
Setter for the field id. |
void |
setLabel(String label)
Setter for the field label. |
void |
setMap(OnmsMap map)
Setter for the field map. |
void |
setType(String type)
Setter for the field type. |
void |
setX(int x)
Setter for the field x. |
void |
setY(int y)
Setter for the field y. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String MAP_TYPE
MAP_TYPE="M"
public static final String MAP_HIDE_TYPE
MAP_HIDE_TYPE="W"
public static final String NODE_TYPE
NODE_TYPE="N"
public static final String NODE_HIDE_TYPE
NODE_HIDE_TYPE="H"
public static final String defaultNodeIcon
defaultNodeIcon="unspecified"
public static final String defaultMapIcon
defaultMapIcon="map"
protected String type
| Constructor Detail |
|---|
protected OnmsMapElement()
Constructor for OnmsMapElement.
public OnmsMapElement(OnmsMapElement e)
Constructor for OnmsMapElement.
e - a OnmsMapElement object.
public OnmsMapElement(OnmsMap map,
int elementId,
String type,
String label,
String iconName,
int x,
int y,
int id)
Constructor for OnmsMapElement.
map - a OnmsMap object.elementId - a int.type - a String object.label - a String object.iconName - a String object.x - a int.y - a int.id - a int.
public OnmsMapElement(OnmsMap map,
int elementId,
String type,
String label,
String iconName,
int x,
int y)
Constructor for OnmsMapElement.
map - a OnmsMap object.elementId - a int.type - a String object.label - a String object.iconName - a String object.x - a int.y - a int.| Method Detail |
|---|
public int getId()
Getter for the field id.
public void setId(int id)
Setter for the field id.
id - a int.public String getMapElementId()
getMapElementId
String object.public int getElementId()
Getter for the field elementId.
public void setElementId(int elementId)
Setter for the field elementId.
elementId - a int.public String getType()
Getter for the field type.
String object.public void setType(String type)
Setter for the field type.
type - a String object.public String getLabel()
Getter for the field label.
String object.public void setLabel(String label)
Setter for the field label.
label - a String object.public String getIconName()
Getter for the field iconName.
String object.public void setIconName(String iconName)
Setter for the field iconName.
iconName - a String object.public int getX()
Getter for the field x.
public void setX(int x)
Setter for the field x.
x - a int.public int getY()
Getter for the field y.
public void setY(int y)
Setter for the field y.
y - a int.public OnmsMap getMap()
Getter for the field map.
OnmsMap object.public void setMap(OnmsMap map)
Setter for the field map.
map - a OnmsMap object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||