gpt4 book ai didi

org.pentaho.ui.xul.components.XulTextbox.getValue()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-23 01:23:05 25 4
gpt4 key购买 nike

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

XulTextbox.getValue介绍

暂无

代码示例

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

public void disablePortIfInstancePopulated() {
 String serverInstance = serverInstanceBox.getValue();
 if ( serverInstance != null && serverInstance.length() > 0 ) {
  portNumberBox.setDisabled( true );
 } else {
  portNumberBox.setDisabled( false );
 }
}

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

meta.setHostname( hostNameBox.getValue() );
meta.setDBName( databaseNameBox.getValue() );
meta.setUsername( userNameBox.getValue() );
meta.setPassword( passwordBox.getValue() );
meta.setDataTablespace( dataTablespaceBox.getValue() );
meta.setIndexTablespace( indexTablespaceBox.getValue() );
meta.setSQLServerInstance( serverInstanceBox.getValue() );
if ( optionsParameterTree != null && optionsParameterTree.getRootChildren() != null ) {
 for ( int i = 0; i < optionsParameterTree.getRootChildren().getItemCount(); i++ ) {
   XulTreeCell cell2 = potRow.getRow().getCell( 1 );
   if ( cell != null && cell.getLabel() != null && cell.getLabel().equals( "instance" ) ) {
    cell2.setLabel( serverInstanceBox.getValue() );
    if ( serverInstanceBox.getValue().trim().length() == 0 ) {
     cell.setLabel( "" );
meta.getAttributes().put( "SAPLanguage", languageBox.getValue() );
meta.getAttributes().put( "SAPSystemNumber", systemNumberBox.getValue() );
meta.getAttributes().put( "SAPClient", clientBox.getValue() );
meta.getAttributes().put( GenericDatabaseMeta.ATRRIBUTE_CUSTOM_URL, customUrlBox.getValue() );

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

meta.setName( connectionNameBox.getValue() );
meta.setDisplayName( connectionNameBox.getValue() );
 meta.setDBPort( portNumberBox.getValue() );
 meta.setPreferredSchemaName( preferredSchemaName.getValue() );
 meta.setConnectSQL( sqlBox.getValue() );
 if ( poolSizeBox != null ) {
  try {
   int initialPoolSize = Integer.parseInt( this.databaseMeta.environmentSubstitute( poolSizeBox.getValue() ) );
   meta.setInitialPoolSize( initialPoolSize );
  } catch ( NumberFormatException e ) {
   int maxPoolSize = Integer.parseInt( this.databaseMeta.environmentSubstitute( maxPoolSizeBox.getValue() ) );
   meta.setMaximumPoolSize( maxPoolSize );
  } catch ( NumberFormatException e ) {

代码示例来源:origin: pentaho/big-data-plugin

private int fetchValue( XulTextbox textbox ) {
 int result = -1;
 if ( textbox != null && !StringUtil.isEmpty( textbox.getValue() ) ) {
  try {
   result = Integer.parseInt( textbox.getValue() );
  } catch ( NumberFormatException e ) {
   log.logError( BaseMessages.getString( "HadoopEnter.Error.ParseInteger", textbox.getValue() ) );
  }
 }
 return result;
}

代码示例来源:origin: pentaho/data-access

public void propertyChange( PropertyChangeEvent evt ) {
  boolean isDisabled = StringUtils.isEmpty( paramNameTextBox.getValue() )
   || StringUtils.isEmpty( paramValueTextBox.getValue() );
  parametersAcceptButton.setDisabled( isDisabled );
 }
}

代码示例来源:origin: pentaho/data-access

@Bindable
public void addParameter() {
 String paramName = paramNameTextBox.getValue();
 String paramValue = paramValueTextBox.getValue();
 if ( !StringUtils.isEmpty( paramName ) && !StringUtils.isEmpty( paramValue ) ) {
  importDialogModel.addParameter( paramName, paramValue );
  closeParametersDialog();
  acceptButton.setDisabled( !isValid() );
 }
}

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com