|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
package com.fr.design.gui.core; |
|
|
|
|
|
|
|
|
|
import com.fr.base.BaseUtils; |
|
|
|
|
import com.fr.base.svg.SVGIconUtils; |
|
|
|
|
import com.fr.base.svg.IconUtils; |
|
|
|
|
import com.fr.form.ui.*; |
|
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
|
|
|
|
|
@ -128,27 +128,27 @@ public abstract class WidgetOption implements Serializable {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static final WidgetOption DATEEDITOR = WidgetOptionFactory.createByWidgetClass(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Date"), |
|
|
|
|
SVGIconUtils.readIcon("/com/fr/design/images/buttonicon/widget/date_16_normal.svg"), |
|
|
|
|
IconUtils.readIcon("/com/fr/design/images/buttonicon/widget/date_16_normal.svg"), |
|
|
|
|
DateEditor.class); |
|
|
|
|
|
|
|
|
|
public static final WidgetOption TREE = WidgetOptionFactory.createByWidgetClass(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_View_Tree"), |
|
|
|
|
SVGIconUtils.readIcon("/com/fr/design/images/buttonicon/widget/tree_16_normal.svg"), TreeEditor.class); |
|
|
|
|
IconUtils.readIcon("/com/fr/design/images/buttonicon/widget/tree_16_normal.svg"), TreeEditor.class); |
|
|
|
|
|
|
|
|
|
public static final WidgetOption TREECOMBOBOX = WidgetOptionFactory.createByWidgetClass(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Tree_ComboBox"), SVGIconUtils.readIcon("/com/fr/design/images/buttonicon/widget/comboboxtree16_normal.svg"), |
|
|
|
|
public static final WidgetOption TREECOMBOBOX = WidgetOptionFactory.createByWidgetClass(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Tree_ComboBox"), IconUtils.readIcon("/com/fr/design/images/buttonicon/widget/comboboxtree16_normal.svg"), |
|
|
|
|
TreeComboBoxEditor.class); |
|
|
|
|
|
|
|
|
|
public static final WidgetOption CHECKBOXGROUP = WidgetOptionFactory.createByWidgetClass( |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Checkbox_Group"), SVGIconUtils.readIcon("/com/fr/design/images/buttonicon/widget/checkbox_group_16_normal.svg"), CheckBoxGroup.class); |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Checkbox_Group"), IconUtils.readIcon("/com/fr/design/images/buttonicon/widget/checkbox_group_16_normal.svg"), CheckBoxGroup.class); |
|
|
|
|
|
|
|
|
|
public static final WidgetOption RADIOGROUP = WidgetOptionFactory.createByWidgetClass( |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Radio_Group"), SVGIconUtils.readIcon("/com/fr/design/images/buttonicon/widget/button_group_16_normal.svg"), |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Radio_Group"), IconUtils.readIcon("/com/fr/design/images/buttonicon/widget/button_group_16_normal.svg"), |
|
|
|
|
RadioGroup.class); |
|
|
|
|
|
|
|
|
|
public static final WidgetOption NUMBEREDITOR = WidgetOptionFactory.createByWidgetClass( |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Number"), SVGIconUtils.readIcon("/com/fr/design/images/buttonicon/widget/number_field_16_normal.svg"), NumberEditor.class); |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Number"), IconUtils.readIcon("/com/fr/design/images/buttonicon/widget/number_field_16_normal.svg"), NumberEditor.class); |
|
|
|
|
|
|
|
|
|
public static final WidgetOption LABEL = WidgetOptionFactory.createByWidgetClass( |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Label"), SVGIconUtils.readIcon("/com/fr/design/images/buttonicon/widget/label_16_normal.svg"), |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Label"), IconUtils.readIcon("/com/fr/design/images/buttonicon/widget/label_16_normal.svg"), |
|
|
|
|
Label.class); |
|
|
|
|
|
|
|
|
|
public static final WidgetOption BUTTON = WidgetOptionFactory.createByWidgetClass( |
|
|
|
@ -156,23 +156,23 @@ public abstract class WidgetOption implements Serializable {
|
|
|
|
|
Button.class); |
|
|
|
|
|
|
|
|
|
public static final WidgetOption FREEBUTTON = WidgetOptionFactory.createByWidgetClass( |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Button"), SVGIconUtils.readIcon("/com/fr/design/images/buttonicon/widget/button_16_normal.svg"), |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Button"), IconUtils.readIcon("/com/fr/design/images/buttonicon/widget/button_16_normal.svg"), |
|
|
|
|
FreeButton.class); |
|
|
|
|
|
|
|
|
|
public static final WidgetOption MULTI_FILEEDITOR = WidgetOptionFactory.createByWidgetClass( |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_File"), SVGIconUtils.readIcon("/com/fr/design/images/buttonicon/widget/files_up_normal.svg"), |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_File"), IconUtils.readIcon("/com/fr/design/images/buttonicon/widget/files_up_normal.svg"), |
|
|
|
|
MultiFileEditor.class); |
|
|
|
|
|
|
|
|
|
public static final WidgetOption COMBOBOX = WidgetOptionFactory.createByWidgetClass( |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Combo_Box"), SVGIconUtils.readIcon("/com/fr/design/images/buttonicon/widget/combo_box_16_normal.svg"), |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Combo_Box"), IconUtils.readIcon("/com/fr/design/images/buttonicon/widget/combo_box_16_normal.svg"), |
|
|
|
|
ComboBox.class); |
|
|
|
|
|
|
|
|
|
public static final WidgetOption COMBOCHECKBOX = WidgetOptionFactory.createByWidgetClass( |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Combo_Checkbox"), SVGIconUtils.readIcon("/com/fr/design/images/buttonicon/widget/combo_check_16_normal.svg"), |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Combo_Checkbox"), IconUtils.readIcon("/com/fr/design/images/buttonicon/widget/combo_check_16_normal.svg"), |
|
|
|
|
ComboCheckBox.class); |
|
|
|
|
|
|
|
|
|
public static final WidgetOption CHECKBOX = WidgetOptionFactory.createByWidgetClass( |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Checkbox"), SVGIconUtils.readIcon("/com/fr/design/images/buttonicon/widget/check_box_16_normal.svg"), |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Checkbox"), IconUtils.readIcon("/com/fr/design/images/buttonicon/widget/check_box_16_normal.svg"), |
|
|
|
|
CheckBox.class); |
|
|
|
|
|
|
|
|
|
public static final WidgetOption LIST = WidgetOptionFactory.createByWidgetClass( |
|
|
|
@ -182,16 +182,16 @@ public abstract class WidgetOption implements Serializable {
|
|
|
|
|
|
|
|
|
|
public static final WidgetOption TEXTEDITOR = WidgetOptionFactory.createByWidgetClass( |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Text") |
|
|
|
|
, SVGIconUtils.readIcon("/com/fr/design/images/buttonicon/widget/text_field_16_normal.svg"), |
|
|
|
|
, IconUtils.readIcon("/com/fr/design/images/buttonicon/widget/text_field_16_normal.svg"), |
|
|
|
|
TextEditor.class); |
|
|
|
|
|
|
|
|
|
public static final WidgetOption TEXTAREA = WidgetOptionFactory.createByWidgetClass( |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Textarea"), SVGIconUtils.readIcon("/com/fr/design/images/buttonicon/widget/text_area_16_normal.svg"), |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Textarea"), IconUtils.readIcon("/com/fr/design/images/buttonicon/widget/text_area_16_normal.svg"), |
|
|
|
|
TextArea.class); |
|
|
|
|
|
|
|
|
|
public static final WidgetOption PASSWORD = WidgetOptionFactory.createByWidgetClass( |
|
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Type_Password"), |
|
|
|
|
SVGIconUtils.readIcon("/com/fr/design/images/buttonicon/widget/password_field_16_normal.svg"), Password.class); |
|
|
|
|
IconUtils.readIcon("/com/fr/design/images/buttonicon/widget/password_field_16_normal.svg"), Password.class); |
|
|
|
|
|
|
|
|
|
public static final WidgetOption IFRAMEDITOR = WidgetOptionFactory.createByWidgetClass(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Form_Iframe"), BaseUtils.readIcon("/com/fr/web/images/form/resources/iframe_16.png"), |
|
|
|
|
IframeEditor.class); |
|
|
|
|