public void setEnabled(boolean value) {
setAvailableOptions(value);
}
private void createRadioPanel() {
OneColumnPanel col = new OneColumnPanel();
col.setAnchor(OneColumnPanel.WEST);
col.setInsets(2, 2, 0, 2);
String[] labels = getRadioButtonLabels();
JRadioButton[] buttons = ButtonUtils.getExclusiveRadioButtons(labels);
for (JRadioButton btn : buttons) {
TextStyles.DefaultRadioButtonText.makeOver(btn);
col.add(btn);
}
insertUpdateSelector = buttons[0];
insertOnlySelector = buttons[1];
updateOnlySelector = buttons[2];
if (UPDATE_INSERT_SUPPORTED) {
updateInsertSelector = buttons[3];
}
col.setOpaque(false, true);
selectorPanel = InvisiblePanel.newPanel(col);
}