{
if (!(component instanceof HtmlGraphicImage))
{
throw new IllegalArgumentException("Component " + component.getClass().getName() + " is no HtmlGraphicImage");
}
HtmlGraphicImage comp = (HtmlGraphicImage)component;
super.setProperties(component);
if (_dir != null)
{
comp.setValueExpression("dir", _dir);
}
if (_onkeypress != null)
{
comp.setValueExpression("onkeypress", _onkeypress);
}
if (_onmouseout != null)
{
comp.setValueExpression("onmouseout", _onmouseout);
}
if (_onmousedown != null)
{
comp.setValueExpression("onmousedown", _onmousedown);
}
if (_onmouseover != null)
{
comp.setValueExpression("onmouseover", _onmouseover);
}
if (_ondblclick != null)
{
comp.setValueExpression("ondblclick", _ondblclick);
}
if (_value != null)
{
comp.setValueExpression("value", _value);
}
if (_lang != null)
{
comp.setValueExpression("lang", _lang);
}
if (_title != null)
{
comp.setValueExpression("title", _title);
}
if (_style != null)
{
comp.setValueExpression("style", _style);
}
if (_url != null)
{
comp.setValueExpression("url", _url);
}
if (_ismap != null)
{
comp.setValueExpression("ismap", _ismap);
}
if (_usemap != null)
{
comp.setValueExpression("usemap", _usemap);
}
if (_longdesc != null)
{
comp.setValueExpression("longdesc", _longdesc);
}
if (_height != null)
{
comp.setValueExpression("height", _height);
}
if (_alt != null)
{
comp.setValueExpression("alt", _alt);
}
if (_styleClass != null)
{
comp.setValueExpression("styleClass", _styleClass);
}
if (_onclick != null)
{
comp.setValueExpression("onclick", _onclick);
}
if (_width != null)
{
comp.setValueExpression("width", _width);
}
if (_onkeydown != null)
{
comp.setValueExpression("onkeydown", _onkeydown);
}
if (_onmousemove != null)
{
comp.setValueExpression("onmousemove", _onmousemove);
}
if (_onkeyup != null)
{
comp.setValueExpression("onkeyup", _onkeyup);
}
if (_onmouseup != null)
{
comp.setValueExpression("onmouseup", _onmouseup);
}
}