}
protected Object updateUI(Object com, DomNode element)
{
super.updateUI(com, element);
Slider slider = (Slider) com;
String orientation = element.getAttribute("orientation");
if (orientation.equals("vertical"))
{
slider.setOrientation(Slider.VERTICAL);
} else
{
slider.setOrientation(Slider.HORIZONTAL);
}
int min = getInt(element, "minimum");
slider.setMinValue(min);
int max = getInt(element, "maximum");
slider.setMaxValue(max);
int value = getInt(element, "value");
slider.setValue(value);
return com;
}