private Border colorBorder = null;
@Override
public Vote previewExpandedChange(Rollup rollup) {
if (component == null) {
WTKXSerializer wtkxSerializer = new WTKXSerializer();
try {
component = (Component)wtkxSerializer.readObject(this, "spinners.wtkx");
} catch(IOException exception) {
throw new RuntimeException(exception);
} catch(SerializationException exception) {
throw new RuntimeException(exception);
}
numericSpinner = (Spinner)wtkxSerializer.get("numericSpinner");
dateSpinner = (Spinner)wtkxSerializer.get("dateSpinner");
redSlider = (Slider)wtkxSerializer.get("redSlider");
greenSlider = (Slider)wtkxSerializer.get("greenSlider");
blueSlider = (Slider)wtkxSerializer.get("blueSlider");
colorBorder = (Border)wtkxSerializer.get("colorBorder");
rollup.setContent(component);
initializeNumericSpinner(numericSpinner);
initializeDateSpinner(dateSpinner);