115 |
115 |
GridBagLayoutPanel panel = new GridBagLayoutPanel();
|
116 |
116 |
|
117 |
117 |
GridBagLayoutPanel aux = new GridBagLayoutPanel();
|
118 |
|
aux.addComponent(PluginServices.getText(this, "field_to_be_labeled") + ":", getCmbTextField());
|
|
118 |
aux.addComponent(PluginServices.getText(this, "_Field_to_use_in_label") + ":", getCmbTextField());
|
119 |
119 |
aux.addComponent(getRdBtnHeightField(), getCmbHeightField());
|
120 |
120 |
aux.addComponent(getRdBtnFixedHeight(), getTxtHeightField());
|
121 |
121 |
aux.addComponent(PluginServices.getText(this, "rotation_height") + ":", getCmbRotationField());
|
... | ... | |
174 |
174 |
private JRadioButton getRdBtnFixedHeight() {
|
175 |
175 |
if (rdBtnFixedHeight == null) {
|
176 |
176 |
rdBtnFixedHeight = new JRadioButton(PluginServices.getText(this, "fixed_height") + ":");
|
177 |
|
rdBtnFixedHeight.setSelected(false);
|
|
177 |
rdBtnFixedHeight.setSelected(true);
|
178 |
178 |
rdBtnFixedHeight.setName("RDFIXEDHEIGHT");
|
179 |
179 |
}
|
180 |
180 |
|
... | ... | |
184 |
184 |
private JRadioButton getRdBtnHeightField() {
|
185 |
185 |
if (rdBtnHeightField == null) {
|
186 |
186 |
rdBtnHeightField = new JRadioButton(PluginServices.getText(this, "text_height_field") + ":");
|
187 |
|
rdBtnHeightField.setSelected(true);
|
|
187 |
rdBtnHeightField.setSelected(false);
|
188 |
188 |
rdBtnHeightField.setName("RDHEIGHTFIELD");
|
189 |
189 |
}
|
190 |
190 |
|
... | ... | |
193 |
193 |
|
194 |
194 |
private JRadioButton getRdBtnFixedColor() {
|
195 |
195 |
if (rdBtnFixedColor == null) {
|
196 |
|
rdBtnFixedColor = new JRadioButton(PluginServices.getText(this, "fixed_color") + ":");
|
197 |
|
rdBtnFixedColor.setSelected(false);
|
|
196 |
rdBtnFixedColor = new JRadioButton(PluginServices.getText(this, "_Fixed_color") + ":");
|
|
197 |
rdBtnFixedColor.setSelected(true);
|
198 |
198 |
rdBtnFixedColor.setName("RDFIXEDCOLOR");
|
199 |
199 |
}
|
200 |
200 |
|
... | ... | |
204 |
204 |
private JRadioButton getRdBtnColorField() {
|
205 |
205 |
if (rdBtnColorField == null) {
|
206 |
206 |
rdBtnColorField = new JRadioButton(PluginServices.getText(this, "color_field") + ":");
|
207 |
|
rdBtnColorField.setSelected(true);
|
|
207 |
rdBtnColorField.setSelected(false);
|
208 |
208 |
rdBtnColorField.setName("RDCOLORFIELD");
|
209 |
209 |
}
|
210 |
210 |
|
... | ... | |
464 |
464 |
private void refreshTextHeight() {
|
465 |
465 |
getCmbHeightField().removeAllItems();
|
466 |
466 |
|
|
467 |
/*
|
467 |
468 |
boolean enabled = numericFieldNames.length>0;
|
468 |
|
// getCmbHeightField().setEnabled(enabled);
|
469 |
|
// getRdBtnHeightField().setEnabled(enabled);
|
|
469 |
// getCmbHeightField().setEnabled(enabled);
|
|
470 |
// getRdBtnHeightField().setEnabled(enabled);
|
470 |
471 |
|
471 |
472 |
if (!enabled) {
|
472 |
473 |
getRdBtnFixedHeight().setSelected(true);
|
473 |
474 |
}
|
|
475 |
*/
|
474 |
476 |
|
475 |
477 |
for (int i = 0; i < numericFieldNames.length; i++) {
|
476 |
478 |
getCmbHeightField().addItem(numericFieldNames[i]);
|