public interface string_field extends db_field
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowed(char c) |
java.lang.String |
allowedChars() |
boolean |
canChoose() |
QueryResult |
choices()
Returns a QueryResult encoding a list of valid string choices
for this field.
|
java.lang.Object |
choicesKey()
This method returns a key that can be used by the client
to cache the value returned by choices().
|
java.lang.String |
disallowedChars() |
boolean |
excludeSelected(db_field x)
This method returns true if this invid field should not
show any choices that are currently selected in field
x, where x is another field in this db_object.
|
int |
maxSize() |
int |
minSize() |
boolean |
mustChoose() |
boolean |
showEcho() |
addElement, addElements, containsElement, deleteAllElements, deleteElement, deleteElement, deleteElements, getComment, getElement, getFieldInfo, getFieldTemplate, getID, getName, getType, getTypeDesc, getValue, getValues, isBuiltIn, isDefined, isEditable, isEditInPlace, isVector, isVisible, setElement, setValue, sizeint maxSize()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionint minSize()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionboolean showEcho()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionboolean canChoose()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionboolean mustChoose()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionjava.lang.String allowedChars()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionjava.lang.String disallowedChars()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionboolean allowed(char c)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionboolean excludeSelected(db_field x) throws java.rmi.RemoteException
This method returns true if this invid field should not show any choices that are currently selected in field x, where x is another field in this db_object.
java.rmi.RemoteExceptionQueryResult choices() throws java.rmi.RemoteException
Returns a QueryResult encoding a list of valid string choices for this field. Consult canChoose() and mustChoose() to determine how the results of this method should be treated.
java.rmi.RemoteExceptionjava.lang.Object choicesKey()
throws java.rmi.RemoteException
This method returns a key that can be used by the client to cache the value returned by choices(). If the client already has the key cached on the client side, it can provide the choice list from its cache rather than calling choices() on this object again.
java.rmi.RemoteException