|
|
@ -1,13 +1,12 @@ |
|
|
|
package com.fr.design.widget.ui; |
|
|
|
package com.fr.design.widget.ui; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
import com.fine.theme.utils.FineUIUtils; |
|
|
|
|
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.utils.DesignUtils; |
|
|
|
|
|
|
|
import com.fr.form.ui.NameWidget; |
|
|
|
import com.fr.form.ui.NameWidget; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.SwingConstants; |
|
|
|
import javax.swing.JTextArea; |
|
|
|
import java.awt.BorderLayout; |
|
|
|
import java.awt.BorderLayout; |
|
|
|
import java.awt.Font; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class UserEditorDefinePane extends AbstractDataModify<NameWidget> { |
|
|
|
public class UserEditorDefinePane extends AbstractDataModify<NameWidget> { |
|
|
|
private NameWidget nWidget; |
|
|
|
private NameWidget nWidget; |
|
|
@ -18,13 +17,9 @@ public class UserEditorDefinePane extends AbstractDataModify<NameWidget> { |
|
|
|
private void initComponents() { |
|
|
|
private void initComponents() { |
|
|
|
this.setLayout(FRGUIPaneFactory.createBorderLayout()); |
|
|
|
this.setLayout(FRGUIPaneFactory.createBorderLayout()); |
|
|
|
|
|
|
|
|
|
|
|
UILabel infoLabel = new UILabel(); |
|
|
|
JTextArea label = FineUIUtils.createAutoWrapTipLabel(Toolkit.i18nText( |
|
|
|
infoLabel.setFont(DesignUtils.getDefaultGUIFont().applySize(24).applyStyle(Font.BOLD)); |
|
|
|
"Fine-Design_Report_Widget_User_Defined_Editor")); |
|
|
|
infoLabel.setText(com.fr.design.i18n.Toolkit.i18nText( |
|
|
|
this.add(label, BorderLayout.CENTER); |
|
|
|
"Fine-Design_Report_Widget_User_Defined_Editor") + "."); |
|
|
|
|
|
|
|
infoLabel.setHorizontalAlignment(SwingConstants.CENTER); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.add(infoLabel, BorderLayout.CENTER); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|