示例#1
0
 public boolean searchFieldEmpty() {
   return searchField.getText().length() == 0;
 }
  private void onLoginButtonClicked() {

    ((LoginController) controller).login(usernameField.getText(), passwordField.getText());
    setCacelButton();
  }
示例#3
0
 public String getKeyword() {
   return searchField.getText().trim();
 }