public class KeyboardRow extends ArrayList<KeyboardButton> implements Validable
modCount| Constructor and Description |
|---|
KeyboardRow() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
String text) |
boolean |
add(String text) |
boolean |
contains(String text) |
int |
indexOf(String text) |
int |
lastIndexOf(String text) |
boolean |
remove(String text) |
KeyboardButton |
set(int index,
String text) |
void |
validate()
Validates that mandatory fields are filled and optional objects
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic boolean add(String text)
public void add(int index,
String text)
public boolean contains(String text)
public int lastIndexOf(String text)
public int indexOf(String text)
public KeyboardButton set(int index, String text)
public boolean remove(String text)
public void validate()
throws TelegramApiValidationException
Validablevalidate in interface ValidableTelegramApiValidationException - If any mandatory field is emptyCopyright © 2016. All rights reserved.