Java/JavaFX企业级应用开发平台(fxEAP)
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

eap-platform-javafx

eap-platform-javafx对javafx sdk的功能进行了扩展,并为eap模式化开发提供基础的支持。包括:

  • 按钮动作(Action)。用于实现界面按钮、工具栏。
  • 界面组件扩展。对TableView、对话框、选择器等进行功能增强及扩展。提供FormView、通知组件、公式编辑组件等。实现组件的国际化机制。
  • 定义各类事件。
  • 实现界面输入合法性机制。

UI

UI

一个界面,主要由工具栏、查询条件框、数据显示组件等部分组成。上图中,数据显示组件是一个分页的TableView。

Action

Action

  • Action:动作按钮。
  • ActionGroup:用于把有相关性的Action组合在一起。
  • SplitBar:分隔Action、ActionGroup,美化展示效果。
  • Toolbar:Action、ActionGroup的容器。

TableView

TableView

以表格形式显示多条数据,进行了以下增强及扩展:

  • 显示行号

  • 显示多选框

    TableView

  • 增加右键菜单

  • 自适应列宽

  • 美化样式

  • 单元格失去输入焦点时自动提交

  • 国际化支持

  • 支持分页

  • 根据元数据自动生成TableColumn

  • 支持对数据进行批量处理

    TableView

  • 为不同的数据类型提供相应的TableCell

    • LRByteFieldTableCell,支持Byte输出的TableCell
    • LRCheckBoxTableCell,CheckBox样式的TableCell
    • LRCheckComboBoxTableCell,支持多选的下拉框的TableCell
    • LRColorPickerTableCell,顏色選擇TableCell
    • LRComboBoxTableCell,下拉框TableCell
    • LRCurrencyFieldTableCell,货币类型TableCell
    • LRDatePickerTableCell,日期类型TableCell
    • LRDecimalFieldTableCell,高精度浮點類型TableCell
    • LRIntegerFieldTableCell,整型TableCell
    • LRLongFieldTableCell,长整型TableCell
    • LRShortFieldTableCell,short類型TableCell
    • LRTextFieldTableCell,字符型TableCell
    • LRTimePickerTableCell,时间类型TableCell
    • LRReferenceValueTableCell,弹出对话框的TableCell

FormView

FormView

新增FormView组件,用于显示、编辑一条数据。提供以下功能:

  • 支持定义显示的栏位数,默认显示4个栏位,支持1以上的显示栏位

    FormView

  • 必输项控制

    FormView

  • 分组显示

    FormView

  • 为不同数据类型提供Editor

    • ColorEditor

    • CurrencyEditor

    • ByteEditor

    • ShortEditor

    • IntegerEditor

    • LongEditor

    • DecimalEditor

    • CheckEditor

    • DateEditor

      FormView

    • TimeEditor

      FormView

    • DateTimeEditor

    • MultiIEnumTypeEditor

      FormView

    • IEnumTypeEditor

      FormView

    • FontEditor

    • ReferenceEditor

      ReferenceDialog

    • StringEditor,支持默认值,限制输入字符的长度(包括中文)

FormulaDialog

FormulaDialog

通知消息

Notic