org.pentaho.di.ui.core.widget.TableView.setRowNums()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(5.8k)|赞(0)|评价(0)|浏览(100)

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

TableView.setRowNums介绍

暂无

代码示例

代码示例来源:origin: pentaho/pentaho-kettle

private void mapToTableView( Map<String, String> map, TableView table ) {
 for ( String key : map.keySet() ) {
  table.add( key, map.get( key ) );
 }
 table.removeEmptyRows();
 table.setRowNums();
}

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  int[] idx = wFields.getSelectionIndices();
  wFields.remove( idx );
  wFields.removeEmptyRows();
  wFields.setRowNums();
 }
} );

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  int[] idx = wFields.getSelectionIndices();
  wFields.remove( idx );
  wFields.removeEmptyRows();
  wFields.setRowNums();
 }
} );

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  int[] idx = wDirectoryList.getSelectionIndices();
  wDirectoryList.remove( idx );
  wDirectoryList.removeEmptyRows();
  wDirectoryList.setRowNums();
 }
} );

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  int[] idx = wFields.getSelectionIndices();
  wFields.remove( idx );
  wFields.removeEmptyRows();
  wFields.setRowNums();
 }
} );

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  int[] idx = wFilenameList.getSelectionIndices();
  wFilenameList.remove( idx );
  wFilenameList.removeEmptyRows();
  wFilenameList.setRowNums();
 }
} );

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  int[] idx = wFilenameList.getSelectionIndices();
  wFilenameList.remove( idx );
  wFilenameList.removeEmptyRows();
  wFilenameList.setRowNums();
 }
} );

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  int[] idx = wFilenameList.getSelectionIndices();
  wFilenameList.remove( idx );
  wFilenameList.removeEmptyRows();
  wFilenameList.setRowNums();
  input.setChanged();
 }
} );

代码示例来源:origin: pentaho/pentaho-kettle

private void getFields() {
 // Clear Fields Grid
 wFields.removeAll();
 for ( int i = 0; i < MailInputField.ColumnDesc.length; i++ ) {
  wFields.add( new String[] { MailInputField.ColumnDesc[i], MailInputField.ColumnDesc[i] } );
 }
 wFields.removeEmptyRows();
 wFields.setRowNums();
 wFields.optWidth( true );
}

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  int[] idx = wFilenameList.getSelectionIndices();
  wFilenameList.remove( idx );
  wFilenameList.removeEmptyRows();
  wFilenameList.setRowNums();
  input.setChanged();
 }
} );

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFoldernameList.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFoldernameList.getItem( idx );
   wFoldername.setText( string[0] );
   wFoldernameList.remove( idx );
  }
  wFoldernameList.removeEmptyRows();
  wFoldernameList.setRowNums();
 }
} );

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFields.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFields.getItem( idx );
   wSourceFileFolder.setText( string[0] );
   wWildcard.setText( string[1] );
   wFields.remove( idx );
  }
  wFields.removeEmptyRows();
  wFields.setRowNums();
 }
} );

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFields.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFields.getItem( idx );
   wImageFilename.setText( string[0] );
   wContentID.setText( string[1] );
   wFields.remove( idx );
  }
  wFields.removeEmptyRows();
  wFields.setRowNums();
 }
} );

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFilenameList.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFilenameList.getItem( idx );
   wFilename.setText( string[0] );
   wFilemask.setText( string[1] );
   wFilenameList.remove( idx );
  }
  wFilenameList.removeEmptyRows();
  wFilenameList.setRowNums();
 }
} );

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFields.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFields.getItem( idx );
   wSourceFileFolder.setText( string[0] );
   wWildcard.setText( string[1] );
   wFields.remove( idx );
  }
  wFields.removeEmptyRows();
  wFields.setRowNums();
 }
} );

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  int idx = wFields.getSelectionIndex();
  if ( idx >= 0 ) {
   String[] string = wFields.getItem( idx );
   wImageFilename.setText( string[0] );
   wContentID.setText( string[1] );
   wFields.remove( idx );
  }
  wFields.removeEmptyRows();
  wFields.setRowNums();
 }
} );

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  wFields.add( new String[] { wImageFilename.getText(), wContentID.getText() } );
  wImageFilename.setText( "" );
  wContentID.setText( "" );
  wFields.removeEmptyRows();
  wFields.setRowNums();
  wFields.optWidth( true );
 }
};

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  wFields.add( new String[] { wImageFilename.getText(), wContentID.getText() } );
  wImageFilename.setText( "" );
  wContentID.setText( "" );
  wFields.removeEmptyRows();
  wFields.setRowNums();
  wFields.optWidth( true );
 }
};

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  wDirectoryList.add( new String[] {
   wDirectory.getText(), wNameMask.getText(), wExcludeFilemask.getText(), "Y", } );
  wDirectory.setText( "" );
  wNameMask.setText( "" );
  wDirectoryList.removeEmptyRows();
  wDirectoryList.setRowNums();
  wDirectoryList.optWidth( true );
 }
};

代码示例来源:origin: pentaho/pentaho-kettle

public void widgetSelected( SelectionEvent arg0 ) {
  wFilenameList.add( new String[] {
   wFilename.getText(), wFilemask.getText(), wExcludeFilemask.getText(),
   JsonInputMeta.RequiredFilesCode[0], JsonInputMeta.RequiredFilesCode[0] } );
  wFilename.setText( "" );
  wFilemask.setText( "" );
  wExcludeFilemask.setText( "" );
  wFilenameList.removeEmptyRows();
  wFilenameList.setRowNums();
  wFilenameList.optWidth( true );
 }
};

相关文章