Class ChassisPlacement
java.lang.Object
org.netxms.client.objects.configs.ChassisPlacement
Information about object placement
-
Constructor Summary
ConstructorDescriptionDefault constructorChassisPlacement
(UUID image, int height, int heightUnits, int width, int widthUnits, int positionHeight, int positionHeightUnits, int positionWidth, int positionWidthUnits, int oritentaiton) Create new placement definition from scratch. -
Method Summary
Modifier and TypeMethodDescriptionCreate XML from configuration.int
double
Get unit height in mmint
getImage()
Returns image that will be used to display this element on chassisint
int
double
Get unit position height in mmint
int
double
Get unit position width in mmint
int
getWidth()
double
Get unit unit in mmint
-
Constructor Details
-
ChassisPlacement
public ChassisPlacement()Default constructor -
ChassisPlacement
public ChassisPlacement(UUID image, int height, int heightUnits, int width, int widthUnits, int positionHeight, int positionHeightUnits, int positionWidth, int positionWidthUnits, int oritentaiton) Create new placement definition from scratch.- Parameters:
image
- GUID of representing imageheight
- height inside chassisheightUnits
- height unitswidth
- width inside chassiswidthUnits
- width unitspositionHeight
- vertical position of top left cornerpositionHeightUnits
- height units for positioningpositionWidth
- horizontal position of top left cornerpositionWidthUnits
- width units for positioningoritentaiton
- orientation
-
-
Method Details
-
createXml
Create XML from configuration.- Returns:
- XML document
- Throws:
Exception
- if the schema for the object is not valid
-
getImage
Returns image that will be used to display this element on chassis- Returns:
- image UUID
-
getHeight
public int getHeight()- Returns:
- the height
-
getHeightUnits
public int getHeightUnits()- Returns:
- the heightUnits
-
getWidth
public int getWidth()- Returns:
- the width
-
getWidthUnits
public int getWidthUnits()- Returns:
- the widthUnits
-
getPositionHeight
public int getPositionHeight()- Returns:
- the positionHeight
-
getPositionHeightUnits
public int getPositionHeightUnits()- Returns:
- the positionHeightUnits
-
getPositionWidth
public int getPositionWidth()- Returns:
- the positionWidth
-
getPositionWidthUnits
public int getPositionWidthUnits()- Returns:
- the positionWidthUnits
-
getOritentaiton
public int getOritentaiton()- Returns:
- the oritentaiton
-
getPositionHeightInMm
public double getPositionHeightInMm()Get unit position height in mm- Returns:
- position height in mm
-
getPositionWidthInMm
public double getPositionWidthInMm()Get unit position width in mm- Returns:
- position width in mm
-
getHeightInMm
public double getHeightInMm()Get unit height in mm- Returns:
- unit height in mm
-
getWidthInMm
public double getWidthInMm()Get unit unit in mm- Returns:
- unit height in mm
-