}
this.unitType = unitType;
this.unitLength = unitLength;
backGround = new Rectangle((null == getId() ? "" : getId() + "-bg"));
backGround.setBounds(new Bbox(0, 0, 5, MARKERHEIGHT + 2 * VERTICALPADDING));
backGround.setStyle(STYLE_BACKGROUND);
leftMarker = new Rectangle((null == getId() ? "" : getId() + "-lm"));
leftMarker.setStyle(STYLE_MARKER);
leftMarker.setBounds(new Bbox(0, 0, 1, MARKERHEIGHT));
rightMarker = new Rectangle((null == getId() ? "" : getId() + "-rm"));
rightMarker.setStyle(STYLE_MARKER);
rightMarker.setBounds(new Bbox(0, 0, 1, MARKERHEIGHT));
bottomLine = new Rectangle((null == getId() ? "" : getId() + "-bm"));
bottomLine.setStyle(STYLE_MARKER);
bottomLine.setBounds(new Bbox(0, 0, 0, 1));
distance = new Text((null == getId() ? "" : getId() + "-text"));
distance.setStyle(STYLE_FONT);
dummy = new Rectangle(getId() + "-dummy");
dummy.setStyle(new ShapeStyle("#FFFFFF", 0, "#FFFFFF", 0, 0));
dummy.setBounds(new Bbox(0, 0, 1, 1));
}