Class ChassisPlacement
java.lang.Object
org.netxms.client.objects.configs.ChassisPlacement
Information about object placement
- 
Constructor SummaryConstructorsConstructorDescriptionDefault 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 SummaryModifier and TypeMethodDescriptionCreate XML from configuration.intdoubleGet unit height in mmintgetImage()Returns image that will be used to display this element on chassisintintdoubleGet unit position height in mmintintdoubleGet unit position width in mmintintgetWidth()doubleGet unit unit in mmint
- 
Constructor Details- 
ChassisPlacementpublic ChassisPlacement()Default constructor
- 
ChassisPlacementpublic 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 image
- height- height inside chassis
- heightUnits- height units
- width- width inside chassis
- widthUnits- width units
- positionHeight- vertical position of top left corner
- positionHeightUnits- height units for positioning
- positionWidth- horizontal position of top left corner
- positionWidthUnits- width units for positioning
- oritentaiton- orientation
 
 
- 
- 
Method Details- 
createXmlCreate XML from configuration.- Returns:
- XML document
- Throws:
- Exception- if the schema for the object is not valid
 
- 
getImageReturns image that will be used to display this element on chassis- Returns:
- image UUID
 
- 
getHeightpublic int getHeight()- Returns:
- the height
 
- 
getHeightUnitspublic int getHeightUnits()- Returns:
- the heightUnits
 
- 
getWidthpublic int getWidth()- Returns:
- the width
 
- 
getWidthUnitspublic int getWidthUnits()- Returns:
- the widthUnits
 
- 
getPositionHeightpublic int getPositionHeight()- Returns:
- the positionHeight
 
- 
getPositionHeightUnitspublic int getPositionHeightUnits()- Returns:
- the positionHeightUnits
 
- 
getPositionWidthpublic int getPositionWidth()- Returns:
- the positionWidth
 
- 
getPositionWidthUnitspublic int getPositionWidthUnits()- Returns:
- the positionWidthUnits
 
- 
getOritentaitonpublic int getOritentaiton()- Returns:
- the oritentaiton
 
- 
getPositionHeightInMmpublic double getPositionHeightInMm()Get unit position height in mm- Returns:
- position height in mm
 
- 
getPositionWidthInMmpublic double getPositionWidthInMm()Get unit position width in mm- Returns:
- position width in mm
 
- 
getHeightInMmpublic double getHeightInMm()Get unit height in mm- Returns:
- unit height in mm
 
- 
getWidthInMmpublic double getWidthInMm()Get unit unit in mm- Returns:
- unit height in mm
 
 
-