private void reset() { listView.getEndpointKeyHashTextBox().setValue(""); listView.getEndpointKeyHashButton().setValue(false); listView.getEndpointGroupButton().setValue(true); listView.getEndpointGroupsInfo().reset(); getGroupsList(); }
@Override public void setWorkingDirectory(String workingDirectory) { this.workingDirectory.setValue(workingDirectory); }
@Override public void setGwtModule(String gwtModule) { this.gwtModule.setValue(gwtModule); }
@Override public void setWorkingDirectory(String workingDirectory) { this.workingDirectory.setValue(workingDirectory); }
@Override public void setTitle(final String title) { m_titleBox.setValue(title == null? "" : title); }
public void onClick(ClickEvent event) { searchBox.setValue(""); applyFilters(); } });
public void onClick(ClickEvent event) { searchBox.setValue(""); applyFilters(); } });
@Override public void setExpressionValue(String expr) { this.expressionValue = expr; if(expressionValue!=null) { toggleExpressionInput(textBox, true); textBox.setValue(expressionValue); } }
@Override public void setValue(String value) { toggleExpressionInput(textBox, false); textBox.setValue(value.trim()); }
@Override public void resetMetaData() { super.resetMetaData(); textBox.setValue(null); }
@Override public void setExpressionValue(String expr) { this.expressionValue = expr; if (expressionValue != null) { toggleExpressionInput(textBox, true); textBox.setValue(expressionValue); } }
@Override public void setExpressionValue(String expr) { this.expressionValue = expr; if(expressionValue!=null) { toggleExpressionInput(textBox, true); textBox.setValue(expressionValue); } }
@Override public void resetMetaData() { super.resetMetaData(); textBox.setValue(null); }
@Override public void removeValue() { if ( hasOldValue() ) { valueField.setValue( "" ); oldValueHandler.replaceValue( eiInstance, propertyEntity, oldValue, null ); } }
@Override public void setValue(String value, boolean fireEvents) { textBox.setValue(value, false); if (value == null || "".equals(value)) { clearButton.setVisible(false); } if (fireEvents) { ValueChangeEvent.fire(this, getValue()); } }
@Override public void setValue(String value, boolean fireEvents) { textBox.setValue(value, false); if (value == null || "".equals(value)) { clearButton.setVisible(false); } if (fireEvents) { ValueChangeEvent.fire(this, getValue()); } }
@UiHandler("projectName") void onProjectNameChanged(KeyUpEvent event) { String projectNameValue = projectName.getValue(); if (projectNameValue != null && projectNameValue.contains(" ")) { projectNameValue = projectNameValue.replace(" ", "-"); projectName.setValue(projectNameValue); } if (event.getNativeKeyCode() == KeyCodes.KEY_ENTER) { return; } delegate.projectNameChanged(projectName.getValue()); }
private void changeAnimationMillis() { String txt = millisBox.getValue(); int time = defaultMillis; try { time = Integer.parseInt(txt); } catch (Exception e) { // NOSONAR Window.alert("Could not parse milliseconds... Default value of " + defaultMillis + " is used"); mapPresenter.getConfiguration().setHintValue(MapConfiguration.ANIMATION_TIME, defaultMillis); millisBox.setValue(defaultMillis + ""); } mapPresenter.getConfiguration().setHintValue(MapConfiguration.ANIMATION_TIME, time); }
public EditorStringPropertyWidget(String name, String value) { propertyName.setText(name); propertyValueBox = new TextBox(); propertyValueBox.setVisibleLength(5); propertyValueBox.setValue(value); propertyValueBox.addKeyUpHandler(this); valuePanel.add(propertyValueBox); }