Пример #1
0
  public boolean addTextField(String fieldName, String fieldPrettyName, int size) {
    if (get(fieldName) == null) {
      StringClass text_class = new StringClass();
      text_class.setName(fieldName);
      text_class.setPrettyName(fieldPrettyName);
      text_class.setSize(size);
      text_class.setObject(this);
      put(fieldName, text_class);

      return true;
    }

    return false;
  }