private void construct() {
mainLayout.setPrimaryStyleName("switcher");
mainLayout.addStyleName(VARIATION_GREEN.equals(colorVariation) ? cssGreenVariationClassname : cssBlackVariationClassname);
back = new Button("");
back.setPrimaryStyleName(cssSwitcherArrowClassname);
back.addStyleName("icon-arrow2_w");
mainLayout.addComponent(back);
comboLayout.setWidth(100, Unit.PERCENTAGE);
combobox.setWidth(100, Unit.PERCENTAGE);
comboLayout.addComponent(combobox);
descriptionLabel = new Label("");
descriptionLabel.setPrimaryStyleName("switcherItemDescription");
descriptionLabel.addStyleName("descriptionLabel");
comboLayout.addComponent(descriptionLabel);
mainLayout.addComponent(comboLayout);
mainLayout.setExpandRatio(comboLayout, 1.0f);
forward = new Button("");
forward.setPrimaryStyleName(cssSwitcherArrowClassname);
forward.addStyleName("icon-arrow2_e");
mainLayout.addComponent(forward);
updateButtonState(getValue());
updateItemDescription();
}