public interface WidgetText extends Widget
HIGH_INVERT, HIGH_NONE, HIGH_OUTLINE, HIGH_PUSH, HIGH_TOGGLE
BORDERSTYLE_BEVELED, BORDERSTYLE_CLOUD, BORDERSTYLE_DASHED, BORDERSTYLE_INSETS, BORDERSTYLE_SOLID, BORDERSTYLE_UNDERLINE, FLAGS_HIDDEN, FLAGS_INVISIBLE, FLAGS_LOCKED, FLAGS_NOROTATE, FLAGS_NOVIEW, FLAGS_NOZOOM, FLAGS_PRINTABLE, FLAGS_READONLY
Modifier and Type | Method and Description |
---|---|
boolean |
doNotScroll() |
int |
getMaxLength() |
boolean |
isCombFormat()
Indicates whether this text widget is in the comb format.
|
boolean |
isMultiLine() |
boolean |
isPassword() |
void |
setMaxLength(int maxLength) |
double |
stringWidth(String str) |
canEdit, fieldValueChanged, getAppearanceState, getBackground, getBorderColor, getCaption, getEditingComponent, getField, getHighlightMode, getHorzTextAlign, isEditable, setAppearanceState, setBackground, setBorderColor, setCaption, setField, setHidden, setHighlightMode, setPrintable, setWidgetHighlight
getActions, getBorderStyle, getBorderWidth, getCheckmarkStatus, getColor, getComponent, getContents, getCreator, getFlags, getModifiedDate, getName, getOpacity, getRectangle, getReviewHistory, getSubject, getSubtype, getTriggerActions, isHidden, isInvisible, isLocked, isNoRotate, isNoView, isNoZoom, isPrintable, isReadOnly, paint, print, revalidate, setActions, setBorderStyle, setBorderWidth, setColor, setComponent, setComponentVisible, setCreator, setFlags, setInvisible, setLayer, setLocked, setModifiedDate, setName, setNoRotate, setNoView, setNoZoom, setOpacity, setReadOnly, setRectangle, setSubject, setSubtype, setTriggerActions, shiftRectangle
int getMaxLength()
void setMaxLength(int maxLength)
boolean isMultiLine()
boolean doNotScroll()
boolean isCombFormat()
boolean isPassword()
double stringWidth(String str)