@Override
public void writeInternal(final Device device, final SComponent _c)
throws IOException {
SInternalFrame frame = (SInternalFrame)_c;
Map optionalAttributes = new HashMap();
optionalAttributes.put("SComponentClass", "org.wings.SInternalFrame");
writeDivPrefix(device, frame, optionalAttributes);
writeWindowBar(device, frame);
if (!frame.isIconified()) {
String style = frame.getStyle(SInternalFrame.SELECTOR_CONTENT);
if (style != null)
device.print("<div class=\"" + style + '"');
else
device.print("<div class=\"WindowContent\"");
StringBuilder contentArea = Utils.inlineStyles(frame.getDynamicStyle(SInternalFrame.SELECTOR_CONTENT));
Utils.optAttribute(device, "style", contentArea);
device.print(">");
Utils.renderContainer(device, frame);
device.print("</div>");
}
writeDivSuffix(device, frame);
}