textVAlignCombo.setModel(new DefaultComboBoxModel(TextVAlign.values()));
textVAlignCombo.setSelectedItem(style.getTextVAlign());
textVAlignCombo.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
TextVAlign selected = (TextVAlign) textVAlignCombo.getSelectedItem();
style.setTextVAlign(selected);
fireStyleChanged();
}
});