* Creates a slider with the specified orientation.
*
* @param vertical true to create a vertical slider
*/
public Slider(boolean vertical) {
super(new SliderCell(vertical ? GWT.<VerticalSliderAppearance> create(VerticalSliderAppearance.class)
: GWT.<HorizontalSliderAppearance> create(HorizontalSliderAppearance.class)));
cell = (SliderCell) getCell();
redraw();
}