org.jbundle.thin.base.db.FieldList.isModified()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(115)

本文整理了Java中org.jbundle.thin.base.db.FieldList.isModified()方法的一些代码示例,展示了FieldList.isModified()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。FieldList.isModified()方法的具体详情如下:
包路径:org.jbundle.thin.base.db.FieldList
类名称:FieldList
方法名:isModified

FieldList.isModified介绍

[英]Have any fields Changed? Note: The thin version (this one) keeps a flag for changes, the thick version surveys the fields.
[中]字段有变化吗?注意:精简版(此版本)保留更改标志,而粗版会查看字段。

代码示例

代码示例来源:origin: com.tourgeek.thin.app/com.tourgeek.thin.app.booking

/**
   * When a control loses focus, move the field to the data area.
   * @param e The focus event.
   */
  public void focusLost(FocusEvent e)
  {
    boolean bFirstChange = false;
    if (this.getFieldList() != null)
      if (this.getFieldList().getEditMode() == Constants.EDIT_ADD)
        if (this.getFieldList().isModified() == false)
          bFirstChange = true;
    super.focusLost(e);
    if (bFirstChange)
    {
      m_componentNextFocus = null;
      Component component = (Component)e.getSource();
      String string = component.getName();
      FieldInfo field = this.getFieldList(0).getField(string);        // Get the fieldInfo for this component
      if (field != null)
        if (Booking.CODE.equals(string))
        {
          String strBookingID = field.toString();
          this.getTourGeekScreen().readThisBooking(strBookingID, Booking.CODE, true);
        }
    }
  }
}

代码示例来源:origin: com.tourgeek.thin.app/com.tourgeek.thin.app.booking

|| (!record.isModified()))
    return;
FieldTable fieldTable = record.getTable();

代码示例来源:origin: com.tourgeek.thin.app/com.tourgeek.thin.app.booking

recBooking = this.getFieldList();
tblBooking = recBooking.getTable();
if (recBooking.isModified())
if (recTour.isModified())

代码示例来源:origin: org.jbundle.thin.base.db/org.jbundle.thin.base.db

&& (this.isModified()))

相关文章