public class nUISearchEntry extends nUIEntryElement
Y_IDENTIFIER_PREV_BOTTOM
COLOR_BACKGROUND_NORMAL, COLOR_BLACK, COLOR_FOREGROUND_DARK, COLOR_FOREGROUND_LIGHT, COLOR_FOREGROUND_NORMAL, COLOR_TRANSPARENT, COLOR_WHITE, DIMENSIONS_IDENTIFIER_PARENT_DIMENSIONS
event_listener, event_listener_exclusive, first_child, last_child, next_sibling, nuiid, parent, prev_sibling, unlink_children_on_removal_from_parent
Constructor and Description |
---|
nUISearchEntry(int nuiid,
java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
void |
setFormat(java.lang.String format)
Sets the allowable text format of this search entry field.
|
void |
setLines(int lines)
Will be ignored, a search dialog is always one line long.
|
getEditable, getFontSize, getFontStyle, getFormat, getHintText, getLines, getText, getTextColor, setEditable, setEditing, setFontSize, setFontSizeAbsolute, setFontSizeRelative, setFontStyle, setHintText, setText, setTextColor
getY, insertAt
getBottom, getFocus, getFocusable, getGesturable, getHeight, getInnerHeight, getInnerWidth, getInnerX, getInnerY, getLeft, getMaxChildX, getMaxChildY, getRight, getScreenInnerX, getScreenInnerY, getScreenX, getScreenY, getTop, getTopLevelParentView, getTopLevelParentWindow, getTriggerable, getWidth, getX, insertAtInternal, remove, setBottom, setChildFocus, setFocus, setFocusable, setGesturable, setHeight, setInnerHeight, setInnerWidth, setInnerX, setInnerY, setLeft, setRight, setTop, setTriggerable, setWidth, setX, setY
add, addEventListener, childElementAt, childIndexOf, insertAfter, insertBefore, outputChildHierarchy, remove, removeEventListener, replace, replace
public void setLines(int lines)
setLines
in class nUIEntryElement
lines
- Number of lines to displaypublic void setFormat(java.lang.String format)
nUIEntryElement
, a "hidden" field
has no meaning here and will be ignored if present.
setFormat
in class nUIEntryElement
format
- the allowable text format for this field.java.lang.NullPointerException
- if format
is null