public class TextArea extends EditTextBase implements AppTextArea
anchor, contextMenu, itemType, parent, path, peer, peerType, properties| Constructor and Description |
|---|
TextArea(Application app) |
TextArea(net.thevpc.common.i18n.Str str,
Application app) |
TextArea(String id,
net.thevpc.common.i18n.Str str,
Application app) |
| Modifier and Type | Method and Description |
|---|---|
String |
getText(int from,
int to) |
int |
getTextLength() |
void |
highlight(int from,
int to,
AppColor c,
Object userObjectKey) |
net.thevpc.common.props.WritableBoolean |
highlightSelectionDuplicates() |
net.thevpc.common.props.WritableValue<AppColor> |
highlightSelectionDuplicatesColor() |
void |
installDefaults() |
AppTextAreaPeer |
peer() |
void |
registerAccelerator(String actionId,
String accelerator,
Runnable action) |
void |
removeAllHighlights(Object userKeyObject) |
void |
replaceSelection(String newValue) |
net.thevpc.common.props.WritableBoolean |
rowNumberRuler() |
void |
runSelectLine() |
void |
runTextDuplicate() |
net.thevpc.common.props.WritableBoolean |
zoomOnMouseWheel() |
caretPosition, textSelectiontext, textContentType, textStyleaccelerator, active, anchor, app, backgroundColor, bounds, childConstraints, componentType, contextMenu, copy, copyDefault, createListeners, editable, editing, enabled, events, focused, foregroundColor, icon, iconConfig, iconSet, id, largeIcon, locale, mnemonic, opaque, order, parent, parentConstraints, path, peer, peerType, prefSize, prepareUnshowing, properties, requestFocus, resolveDefaultComponentConstructor, setOptions, setParent, setPeer, shown, title, titleStyle, tooltip, updateUI, visiblefullPropertyName, parentProperty, propagateEvents, propertyName, propertyType, toString, userObjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcaretPosition, textSelectiontext, textContentType, textStyleaccelerator, active, anchor, app, backgroundColor, bounds, childConstraints, componentType, contextMenu, copy, editable, editing, enabled, events, focused, foregroundColor, icon, iconConfig, iconSet, id, largeIcon, locale, mnemonic, opaque, order, parent, parentConstraints, path, peer, peerType, prefSize, properties, requestFocus, setOptions, shown, title, titleStyle, tooltip, visiblegetChildProperty, isWritable, onChange, onChange, onChangeAndInit, onChangeAndInit, onPropagatedChange, onPropagatedChange, onPropagatedChangeAndInit, onPropagatedChangeAndInit, propertyName, propertyType, readOnly, userObjects, with, withpublic TextArea(Application app)
public TextArea(net.thevpc.common.i18n.Str str,
Application app)
public TextArea(String id, net.thevpc.common.i18n.Str str, Application app)
public void installDefaults()
public String getText(int from, int to)
public int getTextLength()
public void removeAllHighlights(Object userKeyObject)
public void runSelectLine()
public void runTextDuplicate()
public void registerAccelerator(String actionId, String accelerator, Runnable action)
public AppTextAreaPeer peer()
peer in interface AppComponentpeer in class ComponentBasepublic net.thevpc.common.props.WritableBoolean rowNumberRuler()
rowNumberRuler in interface AppTextAreapublic net.thevpc.common.props.WritableBoolean zoomOnMouseWheel()
zoomOnMouseWheel in interface AppTextAreapublic net.thevpc.common.props.WritableBoolean highlightSelectionDuplicates()
highlightSelectionDuplicates in interface AppTextAreapublic net.thevpc.common.props.WritableValue<AppColor> highlightSelectionDuplicatesColor()
highlightSelectionDuplicatesColor in interface AppTextAreapublic void replaceSelection(String newValue)
replaceSelection in interface AppEditTextControlCopyright © 2021 vpc open source initiative. All rights reserved.