device.write(__align_left);
device.print(" align=\"left\"");
    protected void writeCell(Device device, STable table, SCellRendererPane rendererPane, int row, int col)            throws IOException {        SComponent component = null;        boolean isEditingCell = table.isEditing()                && row == table.getEditingRow()                && col == table.getEditingColumn();        boolean selectable = table.getSelectionMode() != SListSelectionModel.NO_SELECTION && !table.isEditable();        boolean showAsFormComponent = table.getShowAsFormComponent();        if (isEditingCell)            component = table.getEditorComponent();        else            component = table.prepareRenderer(table.getCellRenderer(row, col), row, col);        device.print("<td col=\"");        device.print(col);        device.print("\"");        if (component == null) {            device.print("></td>");            return;        }        switch (component.getHorizontalAlignment()) {            case LEFT_ALIGN:                device.write(__align_left);                break;            case CENTER_ALIGN:                device.write(__align_center);                break;            case RIGHT_ALIGN:                device.write(__align_right);                break;        }        switch (component.getVerticalAlignment()) {            case TOP_ALIGN:                device.write(__valign_top);                break;            case CENTER_ALIGN:                device.write(__valign_center);                break;            case BOTTOM_ALIGN:                device.write(__align_bottom);                break;        }        device.print(">");        String parameter = null;        if (table.isEditable() && !isEditingCell && table.isCellEditable(row, col))            parameter = table.getEditParameter(row, col);        else if (selectable)            parameter = table.getToggleSelectionParameter(row, col);        if (parameter != null && !isEditingCell) {            if (showAsFormComponent) {                device.print("<button type=\"submit\" name=\"");                org.wings.plaf.Utils.write(device, Utils.event(table));                device.print("\" value=\"");                org.wings.plaf.Utils.write(device, parameter);                device.print("\">");            } else {                RequestURL selectionAddr = table.getRequestURL();                selectionAddr.addParameter(Utils.event(table), parameter);                device.print("<a href=\"");                org.wings.plaf.Utils.write(device, selectionAddr.toString());                device.print("\">");            }        } else            device.print("<span>");        rendererPane.writeComponent(device, component, table);        if (parameter != null && !isEditingCell) {            if (showAsFormComponent)                device.print("</button>");            else                device.print("</a>");        } else            device.print("</span>");        device.print("</td>\n");    }