{
if (!(component instanceof HtmlPanelGrid))
{
throw new IllegalArgumentException("Component " + component.getClass().getName() + " is no HtmlPanelGrid");
}
HtmlPanelGrid comp = (HtmlPanelGrid)component;
super.setProperties(component);
if (_summary != null)
{
comp.setValueExpression("summary", _summary);
}
if (_onmousemove != null)
{
comp.setValueExpression("onmousemove", _onmousemove);
}
if (_frame != null)
{
comp.setValueExpression("frame", _frame);
}
if (_onkeydown != null)
{
comp.setValueExpression("onkeydown", _onkeydown);
}
if (_cellspacing != null)
{
comp.setValueExpression("cellspacing", _cellspacing);
}
if (_columns != null)
{
comp.setValueExpression("columns", _columns);
}
if (_styleClass != null)
{
comp.setValueExpression("styleClass", _styleClass);
}
if (_onmouseover != null)
{
comp.setValueExpression("onmouseover", _onmouseover);
}
if (_title != null)
{
comp.setValueExpression("title", _title);
}
if (_onmouseout != null)
{
comp.setValueExpression("onmouseout", _onmouseout);
}
if (_cellpadding != null)
{
comp.setValueExpression("cellpadding", _cellpadding);
}
if (_rules != null)
{
comp.setValueExpression("rules", _rules);
}
if (_headerClass != null)
{
comp.setValueExpression("headerClass", _headerClass);
}
if (_captionStyle != null)
{
comp.setValueExpression("captionStyle", _captionStyle);
}
if (_onkeyup != null)
{
comp.setValueExpression("onkeyup", _onkeyup);
}
if (_onmousedown != null)
{
comp.setValueExpression("onmousedown", _onmousedown);
}
if (_rowClasses != null)
{
comp.setValueExpression("rowClasses", _rowClasses);
}
if (_footerClass != null)
{
comp.setValueExpression("footerClass", _footerClass);
}
if (_width != null)
{
comp.setValueExpression("width", _width);
}
if (_onkeypress != null)
{
comp.setValueExpression("onkeypress", _onkeypress);
}
if (_captionClass != null)
{
comp.setValueExpression("captionClass", _captionClass);
}
if (_bgcolor != null)
{
comp.setValueExpression("bgcolor", _bgcolor);
}
if (_style != null)
{
comp.setValueExpression("style", _style);
}
if (_lang != null)
{
comp.setValueExpression("lang", _lang);
}
if (_columnClasses != null)
{
comp.setValueExpression("columnClasses", _columnClasses);
}
if (_ondblclick != null)
{
comp.setValueExpression("ondblclick", _ondblclick);
}
if (_onclick != null)
{
comp.setValueExpression("onclick", _onclick);
}
if (_onmouseup != null)
{
comp.setValueExpression("onmouseup", _onmouseup);
}
if (_dir != null)
{
comp.setValueExpression("dir", _dir);
}
if (_border != null)
{
comp.setValueExpression("border", _border);
}
}