/** * Called from the main game loop to update the screen. */ @Override public void updateScreen() { worldNameField.updateCursorCounter(); worldSeedField.updateCursorCounter(); }
@Override public void updateScreen() { newChannelTF.updateCursorCounter(); }
@Override public void updateScreen() { this.worldNameField.updateCursorCounter(); this.worldSeedField.updateCursorCounter(); }
@Override public void updateScreen() { tbName.updateCursorCounter(); }
@Override public void updateScreen(){ super.updateScreen(); this.fieldPutStart.updateCursorCounter(); this.fieldPutEnd.updateCursorCounter(); this.fieldPullStart.updateCursorCounter(); this.fieldPullEnd.updateCursorCounter(); if(this.isAdvanced){ this.leftFilter.update(); this.rightFilter.update(); } }
@Override public void updateScreen() { super.updateScreen(); for (GuiTextField txtNew : txtBoxes) if (txtNew != null) { txtNew.updateCursorCounter(); } }
@Override public void updateScreen() { super.updateScreen(); this.textBoxFilter.updateCursorCounter(); }
@Override public void updateScreen(){ super.updateScreen(); this.nameField.updateCursorCounter(); }
@Override public void updateScreen() { super.updateScreen(); for (GuiTextField text : textFields) { text.updateCursorCounter(); } }
/** * Called from the main game loop to update the screen. */ @Override public void updateScreen() { this.export.updateCursorCounter(); super.updateScreen(); }
/** * Called from the main game loop to update the screen. */ @Override public void updateScreen() { this.export.updateCursorCounter(); super.updateScreen(); }
@Override public void updateScreen() { super.updateScreen(); if (txtNew != null) { txtNew.updateCursorCounter(); } }
@Override public void updateScreen() { super.updateScreen(); for (GuiTextField f : textFields) { f.updateCursorCounter(); } }
@Override public void updateScreen() { super.updateScreen(); for (GuiTextField text : textFields) { text.updateCursorCounter(); } }
@Override public void updateScreen() { // http://www.minecraftforge.net/forum/index.php?topic=22378.0 super.updateScreen(); for (GuiTextField txt : txtBoxes) { if (txt != null) { txt.updateCursorCounter(); } } }
@Override public void updateScreen(){ super.updateScreen(); if(this.hasSearchBar()){ this.searchField.updateCursorCounter(); } }
@Override public void updateScreen() { super.updateScreen(); if (txtPassword != null) { txtPassword.updateCursorCounter(); updateVisibility(); } }
public void update() { super.updateCursorCounter(); if (this.queriedSuggestions != null && this.queriedSuggestions.isDone()) { this.suggestions.clear(); try { String[] result = this.queriedSuggestions.get(); this.suggestions.addAll(Arrays.asList(result).subList(0, Math.min(result.length, SUGGESTION_COUNT))); if (this.suggestions.isEmpty()) { this.state = State.NOT_FOUND; } this.queriedSuggestions = null; } catch (InterruptedException | ExecutionException e) { Terrarium.LOGGER.error("Failed to get queried suggestions", e); } } String text = this.getText().trim(); if (!this.pause && !text.isEmpty()) { if (!text.equals(this.lastSearchText) && this.queriedSuggestions == null) { this.suggestions.clear(); try { this.queriedSuggestions = this.executor.submit(() -> this.geocoder.suggest(text)); } catch (Exception e) { Terrarium.LOGGER.error("Failed to get geocoder suggestions", e); } this.lastSearchText = text; } } else { this.suggestions.clear(); } }