gpt4 book ai didi

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

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

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

XulTextbox.setValue介绍

暂无

代码示例

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

public void browse() {
 try {
  XulTextbox filename = (XulTextbox) document.getElementById( "keytab" );
  XulFileDialog dialog = (XulFileDialog) document.createElement( "filedialog" );
  XulFileDialog.RETURN_CODE retval = dialog.showOpenDialog();
  if ( retval == XulFileDialog.RETURN_CODE.OK ) {
   File file = (File) dialog.getFile();
   filename.setValue( file.getAbsolutePath() );
  }
 } catch ( XulException e ) {
  log.logError( resourceBundle.getString( "error.file_browse" ), e );
 }
}

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

public void changed( LocationEvent event ) {
 Browser browser = (Browser) event.widget;
 if ( back != null ) {
  back.setDisabled( !browser.isBackEnabled() );
  forward.setDisabled( !browser.isForwardEnabled() );
  location.setValue( browser.getUrl() );
 }
}

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

hostNameBox.setValue( meta.getHostname() );
databaseNameBox.setValue( meta.getDatabaseName() );
userNameBox.setValue( meta.getUsername() );
passwordBox.setValue( meta.getPassword() );
dataTablespaceBox.setValue( meta.getDataTablespace() );
indexTablespaceBox.setValue( meta.getIndexTablespace() );
serverInstanceBox.setValue( meta.getSQLServerInstance() );
languageBox.setValue( meta.getAttributes().getProperty( "SAPLanguage" ) );
systemNumberBox.setValue( meta.getAttributes().getProperty( "SAPSystemNumber" ) );
clientBox.setValue( meta.getAttributes().getProperty( "SAPClient" ) );
customUrlBox.setValue( meta.getAttributes().getProperty( GenericDatabaseMeta.ATRRIBUTE_CUSTOM_URL ) );
customDriverClassBox.setValue( meta.getAttributes().getProperty(
 GenericDatabaseMeta.ATRRIBUTE_CUSTOM_DRIVER_CLASS ) );
serverNameBox.setValue( meta.getServername() );
 webAppName.setValue( DEFAULT_WEB_APPLICATION_NAME );
} else {

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

public void poolingRowChange( int idx ) {
 if ( idx != -1 ) {
  if ( idx >= BaseDatabaseMeta.poolingParameters.length ) {
   idx = BaseDatabaseMeta.poolingParameters.length - 1;
  }
  if ( idx < 0 ) {
   idx = 0;
  }
  poolingDescription.setValue( BaseDatabaseMeta.poolingParameters[idx].getDescription() );
  XulTreeRow row = poolParameterTree.getRootChildren().getItem( idx ).getRow();
  if ( row.getSelectedColumnIndex() == 2 ) {
   row.addCellText( 0, "true" );
  }
 }
}

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

int port = database.getDefaultDatabasePort();
if ( port > 0 ) {
 portBox.setValue( Integer.toString( port ) );

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

( (XulTextbox) document.getElementById( "step-name" ) ).setValue( getStepName() );
( (XulTextbox) document.getElementById( "rule-file" ) ).setValue( metaMapper.getRuleFile() );
( (XulTextbox) document.getElementById( "rule-definition" ) ).setValue( metaMapper.getRuleDefinition() );
( (XulTree) document.getElementById( "fields-table" ) ).setElements( metaMapper.getColumnList() );

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

connectionNameBox.setValue( meta.getDisplayName() );
portNumberBox.setValue( meta.getDatabasePortNumberString() );
preferredSchemaName.setValue( Const.NVL( meta.getPreferredSchemaName(), "" ) );
sqlBox.setValue( meta.getConnectSQL() == null ? "" : meta.getConnectSQL() );
 poolSizeBox.setValue( Integer.toString( meta.getInitialPoolSize() ) );
 maxPoolSizeBox.setValue( Integer.toString( meta.getMaximumPoolSize() ) );

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

( (XulTextbox) document.getElementById( "step-name" ) ).setValue( getStepName() );
( (XulTextbox) document.getElementById( "rule-file" ) ).setValue( metaMapper.getRuleFile() );
( (XulTextbox) document.getElementById( "rule-definition" ) ).setValue( metaMapper.getRuleDefinition() );
( (XulTree) document.getElementById( "fields-table" ) ).setElements( metaMapper.getColumnList() );

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

@Bindable
public void closeParametersDialog() {
 paramNameTextBox.setValue( "" );
 paramValueTextBox.setValue( "" );
 importDialogModel.setSelectedAnalysisParameter( -1 );
 analysisParametersTree.clearSelection();
 analysisParametersDialog.hide();
}

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

private void setTextBoxValue( String textbox, int value ) {
 String v = "";
 if ( value >= 0 ) {
  v = Integer.toString( value );
 }
 ( (XulTextbox) getXulDomContainer().getDocumentRoot().getElementById( textbox ) ).setValue( v );
}

代码示例来源:origin: pentaho/modeler

@Bindable
public void setName( String name ) {
 if ( getNode() != null ) {
  getNode().setName( name );
 }
 this.name.setValue( name );
}

代码示例来源:origin: pentaho/modeler

public void setObject( HierarchyMetaData dim ) {
 setNode( dim );
 if ( getNode() == null ) {
  return;
 }
 name.setValue( dim.getName() );
 showValidations();
}

代码示例来源:origin: pentaho/modeler

@Bindable
public void setName( String name ) {
 if ( getNode() != null ) {
  getNode().setName( name );
 }
 this.name.setValue( name );
}

代码示例来源:origin: pentaho/modeler

@Bindable
public void setName( String name ) {
 if ( getNode() != null ) {
  getNode().setName( name );
 }
 this.name.setValue( name );
}

代码示例来源:origin: pentaho/modeler

@Bindable
public void setName( String name ) {
 if ( getNode() != null ) {
  getNode().setName( name );
 }
 this.name.setValue( name );
}

代码示例来源:origin: pentaho/modeler

@Bindable
public void setName( String name ) {
 if ( getNode() != null ) {
  getNode().setName( name );
 }
 this.name.setValue( name );
}

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

public void openErrorDialog( String title, String message ) {
 XulDialog errorDialog = (XulDialog) getXulDomContainer().getDocumentRoot().getElementById( "hadoop-error-dialog" );
 errorDialog.setTitle( title );
 XulTextbox errorMessage =
  (XulTextbox) getXulDomContainer().getDocumentRoot().getElementById( "hadoop-error-message" );
 errorMessage.setValue( message );
 errorDialog.show();
}

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

public void openErrorDialog( String title, String message ) {
 XulDialog errorDialog =
  (XulDialog) getXulDomContainer().getDocumentRoot().getElementById( XUL_AMAZON_EMR_ERROR_DIALOG );
 errorDialog.setTitle( title );
 XulTextbox errorMessage =
  (XulTextbox) getXulDomContainer().getDocumentRoot().getElementById( XUL_AMAZON_EMR_ERROR_MESSAGE );
 errorMessage.setValue( message );
 errorDialog.show();
}

代码示例来源:origin: pentaho/modeler

@Bindable
public void setName( String name ) {
 if ( getNode() != null ) {
  getNode().setName( name );
  if ( getNode().getLogicalColumn() != null ) {
   getNode().getLogicalColumn().setName( new LocalizedString( locale, name ) );
  }
 }
 this.name.setValue( name );
}

代码示例来源:origin: pentaho/modeler

public void setObject( CategoryMetaData categoryMetaData ) {
 if ( getNode() != null ) {
  getNode().removePropertyChangeListener( propListener );
 }
 setNode( categoryMetaData );
 if ( getNode() == null ) {
  return;
 }
 getNode().addPropertyChangeListener( propListener );
 name.setValue( getNode().getName() );
 showValidations();
}

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