|
|
|
@ -3,6 +3,7 @@
|
|
|
|
|
*/ |
|
|
|
|
package com.fr.design.editor.editor; |
|
|
|
|
|
|
|
|
|
import com.fr.base.i18n.BidiUtils; |
|
|
|
|
import com.fr.design.gui.icheckbox.UICheckBox; |
|
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
|
|
|
|
|
@ -40,7 +41,7 @@ public class BooleanEditor extends Editor<Boolean> {
|
|
|
|
|
public BooleanEditor(Boolean value) { |
|
|
|
|
this.setLayout(FRGUIPaneFactory.createBorderLayout()); |
|
|
|
|
booleanCheckBox = new UICheckBox("true"); |
|
|
|
|
this.add(booleanCheckBox, BorderLayout.CENTER); |
|
|
|
|
this.add(booleanCheckBox, BorderLayout.LINE_START); |
|
|
|
|
this.setValue(value); |
|
|
|
|
this.setName(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Parameter_Boolean")); |
|
|
|
|
booleanCheckBox.addItemListener(new ItemListener() { |
|
|
|
@ -49,6 +50,7 @@ public class BooleanEditor extends Editor<Boolean> {
|
|
|
|
|
fireStateChanged(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
BidiUtils.applyOrientationByLocale(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public JComponent getEditComp() { |
|
|
|
|