Package net.pleso.framework.client.dal

Examples of net.pleso.framework.client.dal.IDataRow


  /* (non-Javadoc)
   * @see net.pleso.framework.client.ui.controls.dataGrid.interfaces.IDataGridEventListener#selectionChanged(net.pleso.framework.client.ui.controls.dataGrid.DataGrid)
   */
  public void selectionChanged(DataGrid sender) {
    // gets current selection row from grid
    IDataRow selectedRow = dataGridWrapper.getSelectedRow();
    // check all action buttons controls and rebind each control with new selected row
    if (this.actionButtons != null) {
      for (int i = 0; i < this.actionButtons.length; i++) {
        if (this.actionButtons[i] != null) {
          this.actionButtons[i].bind(selectedRow, null);
View Full Code Here


    public void onHideWindow(IWindow sender) {
      if (sender instanceof CustomFormWindow) {
        CustomFormWindow customFormWindow = (CustomFormWindow) sender;
       
        if (customFormWindow != null && !customFormWindow.isCanceled()) {
          IDataRow editedRow = customFormWindow.getDataRow();
          if (editedRow != null) {
            report.BuildReport(editedRow);
          }       
        }
      }
View Full Code Here

      // There window with rb or form was closed (row was edited or
      // selected optionally)
      CustomFormWindow customFormWindow = (CustomFormWindow) sender;

      if (customFormWindow != null && !customFormWindow.isCanceled()) {
        IDataRow editedRow = customFormWindow.getDataRow();
        // If button calls window, that return row
        if (editedRow != null) {

          // and provider has ability to copy rows, than:
          if (this.actionProvider instanceof IRowCopier) {
View Full Code Here

TOP

Related Classes of net.pleso.framework.client.dal.IDataRow

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.