*/
private String renderMovableArea(VolantisProtocol protocol, List idCollector)
throws ProtocolException {
String movableDivId;
// outer div
DivAttributes divOuterAttributes = createDivAttributes(protocol, null,
true);
Map stylesMap = new HashMap();
stylesMap.put(StylePropertyDetails.DISPLAY,DisplayKeywords.NONE);
stylesMap.put(StylePropertyDetails.OVERFLOW, OverflowKeywords.HIDDEN);
stylesMap.put(StylePropertyDetails.HEIGHT,
STYLE_VALUE_FACTORY.getLength(null, MAIN_IMAGES_TABLE_SIZE * this.imageSizePx,LengthUnit.PX));
stylesMap.put(StylePropertyDetails.WIDTH,
STYLE_VALUE_FACTORY.getLength(null, MAIN_IMAGES_TABLE_SIZE * this.imageSizePx,LengthUnit.PX));
updateStyles(divOuterAttributes.getStyles(),stylesMap);
movableDivId = divOuterAttributes.getId();
openDivElement(protocol, divOuterAttributes);
// inner div that moves inside outer div
DivAttributes divInnerAttributes = createDivAttributes(protocol, null,
true);
stylesMap = new HashMap();
stylesMap.put(StylePropertyDetails.POSITION,PositionKeywords.RELATIVE);
stylesMap.put(StylePropertyDetails.TOP,
STYLE_VALUE_FACTORY.getLength(null, -1 * this.imageSizePx, LengthUnit.PX));
stylesMap.put(StylePropertyDetails.LEFT,
STYLE_VALUE_FACTORY.getLength(null, -1 * this.imageSizePx, LengthUnit.PX));
updateStyles(divInnerAttributes.getStyles(),stylesMap);
openDivElement(protocol, divInnerAttributes);
TableAttributes attributes = createTableAttributes(protocol, false);
updateStyles(attributes.getStyles(), tableCellStyles);
createTableElement(protocol,attributes);