|
|
@ -24,6 +24,7 @@ import com.fr.form.ui.mobile.radiogroup.ImageMobileStyle; |
|
|
|
import com.fr.general.FRFont; |
|
|
|
import com.fr.general.FRFont; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
import javax.swing.*; |
|
|
|
|
|
|
|
import javax.swing.border.EmptyBorder; |
|
|
|
import javax.swing.event.ChangeEvent; |
|
|
|
import javax.swing.event.ChangeEvent; |
|
|
|
import javax.swing.event.ChangeListener; |
|
|
|
import javax.swing.event.ChangeListener; |
|
|
|
import java.awt.*; |
|
|
|
import java.awt.*; |
|
|
@ -281,18 +282,22 @@ public class ImageCustomDefinePane extends MobileStyleCustomDefinePane { |
|
|
|
|
|
|
|
|
|
|
|
UILabel initialLabel = DesignerUtils.createConfigLabel(Toolkit.i18nText("Fine-Plugin-RadioGroup_Icon_Init")); |
|
|
|
UILabel initialLabel = DesignerUtils.createConfigLabel(Toolkit.i18nText("Fine-Plugin-RadioGroup_Icon_Init")); |
|
|
|
UILabel selectedLabel = DesignerUtils.createConfigLabel(Toolkit.i18nText("Fine-Plugin-RadioGroup_Icon_Select")); |
|
|
|
UILabel selectedLabel = DesignerUtils.createConfigLabel(Toolkit.i18nText("Fine-Plugin-RadioGroup_Icon_Select")); |
|
|
|
|
|
|
|
initialLabel.setVerticalAlignment(SwingConstants.TOP); |
|
|
|
|
|
|
|
initialLabel.setBorder(new EmptyBorder(5, 0, 0, 0)); |
|
|
|
|
|
|
|
selectedLabel.setVerticalAlignment(SwingConstants.TOP); |
|
|
|
|
|
|
|
selectedLabel.setBorder(new EmptyBorder(5, 0, 0, 0)); |
|
|
|
initInitialIconConfigPane(); |
|
|
|
initInitialIconConfigPane(); |
|
|
|
initSelectedIconConfigPane(); |
|
|
|
initSelectedIconConfigPane(); |
|
|
|
JPanel container = FRGUIPaneFactory.createVerticalFlowLayout_Pane(true, FlowLayout.LEADING, 0, 5); |
|
|
|
JPanel container = FRGUIPaneFactory.createVerticalFlowLayout_Pane(true, FlowLayout.LEADING, 0, 5); |
|
|
|
|
|
|
|
|
|
|
|
JPanel initialPane = FRGUIPaneFactory.createNormalFlowInnerContainer_S_Pane(); |
|
|
|
JPanel initialPane = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
initialPane.add(initialLabel); |
|
|
|
initialPane.add(initialLabel, BorderLayout.WEST); |
|
|
|
initialPane.add(initialIconConfigPane); |
|
|
|
initialPane.add(initialIconConfigPane, BorderLayout.CENTER); |
|
|
|
container.add(initialPane); |
|
|
|
container.add(initialPane); |
|
|
|
|
|
|
|
|
|
|
|
JPanel selectedPane = FRGUIPaneFactory.createNormalFlowInnerContainer_S_Pane(); |
|
|
|
JPanel selectedPane = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
selectedPane.add(selectedLabel); |
|
|
|
selectedPane.add(selectedLabel, BorderLayout.WEST); |
|
|
|
selectedPane.add(selectedIconConfigPane); |
|
|
|
selectedPane.add(selectedIconConfigPane, BorderLayout.CENTER); |
|
|
|
container.add(selectedPane); |
|
|
|
container.add(selectedPane); |
|
|
|
|
|
|
|
|
|
|
|
centerPane.add(container); |
|
|
|
centerPane.add(container); |
|
|
|