本文整理了Java中org.pentaho.di.ui.core.widget.TableView.add()
方法的一些代码示例,展示了TableView.add()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TableView.add()
方法的具体详情如下:
包路径:org.pentaho.di.ui.core.widget.TableView
类名称:TableView
方法名:add
暂无
代码示例来源: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
private void populateOptionsTable() {
optionsTable.clearAll();
options.stream()
.forEach( option -> optionsTable.add( option.getText(), option.getValue() ) );
optionsTable.remove( 0 );
}
代码示例来源: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 ) {
wFields.add( new String[] { wFilename.getText() } );
wFilename.setText( "" );
wFields.removeEmptyRows();
wFields.setRowNums();
wFields.optWidth( true );
}
};
代码示例来源:origin: pentaho/pentaho-kettle
public void widgetSelected( SelectionEvent arg0 ) {
wFields.add( new String[] { wFilename.getText() } );
wFilename.setText( "" );
wFields.removeEmptyRows();
wFields.setRowNums();
wFields.optWidth( true );
}
};
代码示例来源:origin: pentaho/pentaho-kettle
public void widgetSelected( SelectionEvent arg0 ) {
wFoldernameList.add( new String[] { wFoldername.getText() } );
wFoldername.setText( "" );
wFoldernameList.removeEmptyRows();
wFoldernameList.setRowNums();
wFoldernameList.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 ) {
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[] { wFilename.getText(), wFilemask.getText() } );
wFilename.setText( "" );
wFilemask.setText( "" );
wFields.removeEmptyRows();
wFields.setRowNums();
wFields.optWidth( true );
}
};
代码示例来源:origin: pentaho/pentaho-kettle
public void widgetSelected( SelectionEvent arg0 ) {
wFields.add( new String[] { wSourceFileFolder.getText(), wWildcard.getText() } );
wSourceFileFolder.setText( "" );
wWildcard.setText( "" );
wFields.removeEmptyRows();
wFields.setRowNums();
wFields.optWidth( true );
}
};
代码示例来源:origin: pentaho/pentaho-kettle
public void widgetSelected( SelectionEvent arg0 ) {
wFields.add( new String[] { wSourceFileFolder.getText(), wWildcard.getText() } );
wSourceFileFolder.setText( "" );
wWildcard.setText( "" );
wFields.removeEmptyRows();
wFields.setRowNums();
wFields.optWidth( true );
}
};
代码示例来源:origin: pentaho/pentaho-kettle
public void widgetSelected( SelectionEvent arg0 ) {
wFields.add( new String[] { wSourceFileFolder.getText(), wWildcard.getText() } );
wSourceFileFolder.setText( "" );
wWildcard.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(),
GetFileNamesMeta.RequiredFilesCode[0], GetFileNamesMeta.RequiredFilesCode[0] } );
wFilename.setText( "" );
wFilemask.setText( "" );
wFilenameList.removeEmptyRows();
wFilenameList.setRowNums();
wFilenameList.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 );
}
};
代码示例来源:origin: pentaho/pentaho-kettle
public void widgetSelected( SelectionEvent arg0 ) {
wFilenameList.add( new String[] {
wFilename.getText(), wFilemask.getText(), wExcludeFilemask.getText(),
LDIFInputMeta.RequiredFilesCode[0], LDIFInputMeta.RequiredFilesCode[0] } );
wFilename.setText( "" );
wFilemask.setText( "" );
wExcludeFilemask.setText( "" );
wFilenameList.removeEmptyRows();
wFilenameList.setRowNums();
wFilenameList.optWidth( true );
}
};
代码示例来源:origin: pentaho/pentaho-kettle
public void widgetSelected( SelectionEvent arg0 ) {
wFields.add( new String[] {
wSourceFileFolder.getText(), wWildcard.getText(), null, wDestinationFileFolder.getText() } );
wSourceFileFolder.setText( "" );
wDestinationFileFolder.setText( "" );
wWildcard.setText( "" );
wFields.removeEmptyRows();
wFields.setRowNums();
wFields.optWidth( true );
}
};
代码示例来源:origin: pentaho/pentaho-kettle
public void widgetSelected( SelectionEvent arg0 ) {
wFilenameList.add( new String[] {
wFilename.getText(), wFilemask.getText(), wExcludeFilemask.getText(),
LoadFileInputMeta.RequiredFilesCode[0], LoadFileInputMeta.RequiredFilesCode[0] } );
wFilename.setText( "" );
wFilemask.setText( "" );
wExcludeFilemask.setText( "" );
wFilenameList.removeEmptyRows();
wFilenameList.setRowNums();
wFilenameList.optWidth( true );
}
};
代码示例来源:origin: pentaho/pentaho-kettle
public void widgetSelected( SelectionEvent arg0 ) {
wFilenameList.add( new String[] {
wFilename.getText(), wFilemask.getText(), wExcludeFilemask.getText(),
GetFilesRowsCountMeta.RequiredFilesCode[0], GetFilesRowsCountMeta.RequiredFilesCode[0] } );
wFilename.setText( "" );
wFilemask.setText( "" );
wExcludeFilemask.setText( "" );
wFilenameList.removeEmptyRows();
wFilenameList.setRowNums();
wFilenameList.optWidth( true );
}
};
代码示例来源:origin: pentaho/pentaho-kettle
public void widgetSelected( SelectionEvent arg0 ) {
wFilenameList.add( wFilename.getText(), wFilemask.getText(), wExcludeFilemask.getText(),
TextFileInputMeta.RequiredFilesCode[0], TextFileInputMeta.RequiredFilesCode[0] );
wFilename.setText( "" );
wFilemask.setText( "" );
wExcludeFilemask.setText( "" );
wFilenameList.removeEmptyRows();
wFilenameList.setRowNums();
wFilenameList.optWidth( true );
}
};
内容来源于网络,如有侵权,请联系作者删除!