Class SimFieldLocationTransformer.ComponentLocation
java.lang.Object
net.simplace.client.sim.graphpanel.transformer.SimFieldLocationTransformer.ComponentLocation
- Enclosing class:
SimFieldLocationTransformer
Computes the location coordinates depending on content type and order number.
- Author:
- Andreas Enders
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ComponentLocation
public ComponentLocation()
-
-
Method Details
-
getHight
public static Double getHight(net.simplace.sim.util.FWSimVariable.CONTENT_TYPE aContentType, int aHeight) - Parameters:
aContentType- content type of the field containeraHeight- height of the graph area- Returns:
- the vertical position
-
getWidth
public static Integer getWidth(net.simplace.sim.util.FWSimVariable.CONTENT_TYPE aContentType, Integer aWidth, Integer aOrderNumber) - Parameters:
aContentType- content type of the field containeraWidth- width of the graph areaaOrderNumber- order number of the field container- Returns:
- the horizontal position
-