public class TextBox extends TextBoxBase
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.TextBox
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.TextBox
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TextBox() |
TextBox(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTextAlignChanged(EventHandler handler) |
static TextBox |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TextBox, a cast assert is made to check if types are compatible. |
boolean |
getAcceptsReturn() |
AutoCompleteStringCollection |
getAutoCompleteCustomSource() |
AutoCompleteMode |
getAutoCompleteMode() |
AutoCompleteSource |
getAutoCompleteSource() |
CharacterCasing |
getCharacterCasing() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
char |
getPasswordChar() |
java.lang.String |
getPlaceholderText() |
ScrollBars |
getScrollBars() |
HorizontalAlignment |
getTextAlign() |
boolean |
getUseSystemPasswordChar() |
void |
Paste(java.lang.String text) |
void |
removeTextAlignChanged(EventHandler handler) |
void |
setAcceptsReturn(boolean AcceptsReturn) |
void |
setAutoCompleteCustomSource(AutoCompleteStringCollection AutoCompleteCustomSource) |
void |
setAutoCompleteMode(AutoCompleteMode AutoCompleteMode) |
void |
setAutoCompleteSource(AutoCompleteSource AutoCompleteSource) |
void |
setCharacterCasing(CharacterCasing CharacterCasing) |
void |
setJCOInstance(JCObject instance) |
void |
setPasswordChar(char PasswordChar) |
void |
setPlaceholderText(java.lang.String PlaceholderText) |
void |
setScrollBars(ScrollBars ScrollBars) |
void |
setTextAlign(HorizontalAlignment TextAlign) |
void |
setUseSystemPasswordChar(boolean UseSystemPasswordChar) |
addAcceptsTabChanged, addAutoSizeChanged, addBackgroundImageChanged, addBackgroundImageLayoutChanged, addBorderStyleChanged, addClick, addHideSelectionChanged, addModifiedChanged, addMouseClick, addMultilineChanged, addPaddingChanged, addPaint, addReadOnlyChanged, AppendText, Clear, ClearUndo, Copy, Cut, DeselectAll, getAcceptsTab, getBorderStyle, getCanUndo, GetCharFromPosition, GetCharIndexFromPosition, GetFirstCharIndexFromLine, GetFirstCharIndexOfCurrentLine, getHideSelection, GetLineFromCharIndex, getLines, getMaxLength, getModified, getMultiline, getPadding, GetPositionFromCharIndex, getPreferredHeight, getReadOnly, getSelectedText, getSelectionLength, getSelectionStart, getShortcutsEnabled, getTextLength, getWordWrap, Paste, removeAcceptsTabChanged, removeAutoSizeChanged, removeBackgroundImageChanged, removeBackgroundImageLayoutChanged, removeBorderStyleChanged, removeClick, removeHideSelectionChanged, removeModifiedChanged, removeMouseClick, removeMultilineChanged, removePaddingChanged, removePaint, removeReadOnlyChanged, ScrollToCaret, Select, SelectAll, setAcceptsTab, setBorderStyle, setHideSelection, setLines, setMaxLength, setModified, setMultiline, setPadding, setReadOnly, setSelectedText, setSelectionLength, setSelectionStart, setShortcutsEnabled, setWordWrap, UndoaddBackColorChanged, addBindingContextChanged, addCausesValidationChanged, addChangeUICues, addClientSizeChanged, addContextMenuChanged, addContextMenuStripChanged, addControlAdded, addControlRemoved, addCursorChanged, addDataContextChanged, addDockChanged, addDoubleClick, addDpiChangedAfterParent, addDpiChangedBeforeParent, addDragDrop, addDragEnter, addDragLeave, addDragOver, addEnabledChanged, addEnter, addFontChanged, addForeColorChanged, addGiveFeedback, addGotFocus, addHandleCreated, addHandleDestroyed, addHelpRequested, addImeModeChanged, addInvalidated, addKeyDown, addKeyPress, addKeyUp, addLayout, addLeave, addLocationChanged, addLostFocus, addMarginChanged, addMouseCaptureChanged, addMouseDoubleClick, addMouseDown, addMouseEnter, addMouseHover, addMouseLeave, addMouseMove, addMouseUp, addMouseWheel, addMove, addParentChanged, addPreviewKeyDown, addQueryAccessibilityHelp, addQueryContinueDrag, addRegionChanged, addResize, addRightToLeftChanged, addSizeChanged, addStyleChanged, addSystemColorsChanged, addTabIndexChanged, addTabStopChanged, addTextChanged, addValidated, addValidating, addVisibleChanged, BeginInvoke, BringToFront, Contains, CreateControl, CreateGraphics, DoDragDrop, DoDragDrop, DrawToBitmap, EndInvoke, FindForm, Focus, getAccessibilityObject, getAccessibleDefaultActionDescription, getAccessibleDescription, getAccessibleName, getAccessibleRole, getAllowDrop, getAnchor, getAutoScrollOffset, getAutoSize, getBackColor, getBackgroundImage, getBackgroundImageLayout, getBindingContext, getBottom, getBounds, getCanFocus, getCanSelect, getCapture, getCausesValidation, getCheckForIllegalCrossThreadCalls, GetChildAtPoint, GetChildAtPoint, getClientRectangle, getClientSize, getCompanyName, GetContainerControl, getContainsFocus, getContextMenu, getContextMenuStrip, getCreated, getCursor, getDataBindings, getDataContext, getDefaultBackColor, getDefaultFont, getDefaultForeColor, getDeviceDpi, getDisplayRectangle, getDisposing, getDock, getEnabled, getFocused, getFont, getForeColor, getHasChildren, getHeight, getImeMode, getInvokeRequired, getIsAccessible, getIsAncestorSiteInDesignMode, getIsDisposed, getIsHandleCreated, getIsMirrored, getLayoutEngine, getLeft, getLocation, getMargin, getMaximumSize, getMinimumSize, getModifierKeys, getMouseButtons, getMousePosition, getName, GetNextControl, getParent, getPreferredSize, GetPreferredSize, getProductName, getProductVersion, getRecreatingHandle, getRegion, getRight, getRightToLeft, getSize, getTabIndex, getTabStop, getTag, getText, getTop, getTopLevelControl, getUseWaitCursor, getVisible, getWidth, getWindowTarget, Hide, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invoke, InvokeAsync, IsKeyLocked, IsMnemonic, LogicalToDeviceUnits, LogicalToDeviceUnits, PerformLayout, PerformLayout, PointToClient, PointToScreen, PreProcessControlMessage, PreProcessMessage, RectangleToClient, RectangleToScreen, Refresh, removeBackColorChanged, removeBindingContextChanged, removeCausesValidationChanged, removeChangeUICues, removeClientSizeChanged, removeContextMenuChanged, removeContextMenuStripChanged, removeControlAdded, removeControlRemoved, removeCursorChanged, removeDataContextChanged, removeDockChanged, removeDoubleClick, removeDpiChangedAfterParent, removeDpiChangedBeforeParent, removeDragDrop, removeDragEnter, removeDragLeave, removeDragOver, removeEnabledChanged, removeEnter, removeFontChanged, removeForeColorChanged, removeGiveFeedback, removeGotFocus, removeHandleCreated, removeHandleDestroyed, removeHelpRequested, removeImeModeChanged, removeInvalidated, removeKeyDown, removeKeyPress, removeKeyUp, removeLayout, removeLeave, removeLocationChanged, removeLostFocus, removeMarginChanged, removeMouseCaptureChanged, removeMouseDoubleClick, removeMouseDown, removeMouseEnter, removeMouseHover, removeMouseLeave, removeMouseMove, removeMouseUp, removeMouseWheel, removeMove, removeParentChanged, removePreviewKeyDown, removeQueryAccessibilityHelp, removeQueryContinueDrag, removeRegionChanged, removeResize, removeRightToLeftChanged, removeSizeChanged, removeStyleChanged, removeSystemColorsChanged, removeTabIndexChanged, removeTabStopChanged, removeTextChanged, removeValidated, removeValidating, removeVisibleChanged, ResetBackColor, ResetBindings, ResetCursor, ResetFont, ResetForeColor, ResetImeMode, ResetRightToLeft, ResetText, ResumeLayout, ResumeLayout, Scale, Scale, Scale, ScaleBitmapLogicalToDevice, Select, SelectNextControl, SendToBack, setAccessibleDefaultActionDescription, setAccessibleDescription, setAccessibleName, setAccessibleRole, setAllowDrop, setAnchor, setAutoScrollOffset, setAutoSize, setBackColor, setBackgroundImage, setBackgroundImageLayout, setBindingContext, SetBounds, SetBounds, setBounds, setCapture, setCausesValidation, setCheckForIllegalCrossThreadCalls, setClientSize, setContextMenu, setContextMenuStrip, setCursor, setDataContext, setDock, setEnabled, setFont, setForeColor, setHeight, setImeMode, setIsAccessible, setLeft, setLocation, setMargin, setMaximumSize, setMinimumSize, setName, setParent, setRegion, setRightToLeft, setSize, setTabIndex, setTabStop, setTag, setText, setTop, setUseWaitCursor, setVisible, setWidth, setWindowTarget, Show, SuspendLayout, UpdateaddDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteGetLifetimeService, InitializeLifetimeServiceEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringOnDragDrop, OnDragEnter, OnDragLeave, OnDragOver, ToIDropTargetpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TextBox()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
PlatformNotSupportedException,
ArgumentNullException,
InvalidOperationException,
InvalidCastException,
ObjectDisposedException,
FormatException,
Win32Exception,
OutOfMemoryException,
NotSupportedException
public TextBox(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void addTextAlignChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic static TextBox cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TextBox, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTextBox instancejava.lang.Throwable - in case of error during cast operationpublic boolean getAcceptsReturn()
throws java.lang.Throwable
java.lang.Throwablepublic AutoCompleteStringCollection getAutoCompleteCustomSource() throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, InvalidOperationException, ObjectDisposedException, Win32Exception, OutOfMemoryException, ArgumentOutOfRangeException, NotSupportedException, OverflowException, MulticastNotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionWin32ExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionNotSupportedExceptionOverflowExceptionMulticastNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic AutoCompleteMode getAutoCompleteMode() throws java.lang.Throwable
java.lang.Throwablepublic AutoCompleteSource getAutoCompleteSource() throws java.lang.Throwable
java.lang.Throwablepublic CharacterCasing getCharacterCasing() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IDropTargetgetJCOAssemblyName in class TextBoxBaseString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IDropTargetgetJCOClassName in class TextBoxBaseString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IDropTargetgetJCOInstance in class TextBoxBaseObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IDropTargetgetJCOObjectName in class TextBoxBaseString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IDropTargetgetJCOType in class TextBoxBaseJCType representing the CLR Type of the instantiated Classpublic char getPasswordChar()
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
OutOfMemoryException,
CultureNotFoundException,
NotSupportedException,
FormatException,
Win32Exception,
InvalidCastException,
LockRecursionException,
AbandonedMutexException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionCultureNotFoundExceptionNotSupportedExceptionFormatExceptionWin32ExceptionInvalidCastExceptionLockRecursionExceptionAbandonedMutexExceptionpublic java.lang.String getPlaceholderText()
throws java.lang.Throwable
java.lang.Throwablepublic ScrollBars getScrollBars() throws java.lang.Throwable
java.lang.Throwablepublic HorizontalAlignment getTextAlign() throws java.lang.Throwable
java.lang.Throwablepublic boolean getUseSystemPasswordChar()
throws java.lang.Throwable
java.lang.Throwablepublic void Paste(java.lang.String text)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
ArgumentNullException,
InvalidOperationException,
ArgumentOutOfRangeException,
OutOfMemoryException,
FormatException,
Win32Exception,
InvalidCastException,
LockRecursionException,
AbandonedMutexException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionObjectDisposedExceptionArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionWin32ExceptionInvalidCastExceptionLockRecursionExceptionAbandonedMutexExceptionpublic void removeTextAlignChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setAcceptsReturn(boolean AcceptsReturn)
throws java.lang.Throwable
java.lang.Throwablepublic void setAutoCompleteCustomSource(AutoCompleteStringCollection AutoCompleteCustomSource) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, InvalidOperationException, ObjectDisposedException, Win32Exception, OutOfMemoryException, ArgumentOutOfRangeException, NotSupportedException, OverflowException, MulticastNotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionWin32ExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionNotSupportedExceptionOverflowExceptionMulticastNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic void setAutoCompleteMode(AutoCompleteMode AutoCompleteMode) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, InvalidCastException, ObjectDisposedException, Win32Exception, NotSupportedException, OutOfMemoryException, SecurityException, IOException, OverflowException, RankException, ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionInvalidCastExceptionObjectDisposedExceptionWin32ExceptionNotSupportedExceptionOutOfMemoryExceptionSecurityExceptionIOExceptionOverflowExceptionRankExceptionArrayTypeMismatchExceptionpublic void setAutoCompleteSource(AutoCompleteSource AutoCompleteSource) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, InvalidCastException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, ObjectDisposedException, Win32Exception, OutOfMemoryException, SecurityException, IOException, OverflowException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidCastExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionObjectDisposedExceptionWin32ExceptionOutOfMemoryExceptionSecurityExceptionIOExceptionOverflowExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidEnumArgumentExceptionpublic void setCharacterCasing(CharacterCasing CharacterCasing) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, InvalidCastException, ObjectDisposedException, Win32Exception, NotSupportedException, OutOfMemoryException, SecurityException, IOException, UnauthorizedAccessException, OverflowException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionArgumentNullExceptionInvalidCastExceptionObjectDisposedExceptionWin32ExceptionNotSupportedExceptionOutOfMemoryExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionOverflowExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class TextBoxBasepublic void setPasswordChar(char PasswordChar)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
ArgumentNullException,
InvalidOperationException,
ArgumentOutOfRangeException,
OutOfMemoryException,
FormatException,
Win32Exception,
InvalidCastException,
LockRecursionException,
AbandonedMutexException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionObjectDisposedExceptionArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionWin32ExceptionInvalidCastExceptionLockRecursionExceptionAbandonedMutexExceptionpublic void setPlaceholderText(java.lang.String PlaceholderText)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentNullException,
IndexOutOfRangeException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
InvalidCastException
public void setScrollBars(ScrollBars ScrollBars) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, InvalidCastException, ObjectDisposedException, Win32Exception, NotSupportedException, OutOfMemoryException, SecurityException, IOException, UnauthorizedAccessException, OverflowException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionArgumentNullExceptionInvalidCastExceptionObjectDisposedExceptionWin32ExceptionNotSupportedExceptionOutOfMemoryExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionOverflowExceptionpublic void setTextAlign(HorizontalAlignment TextAlign) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, InvalidCastException, ObjectDisposedException, Win32Exception, NotSupportedException, OutOfMemoryException, SecurityException, IOException, UnauthorizedAccessException, OverflowException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionArgumentNullExceptionInvalidCastExceptionObjectDisposedExceptionWin32ExceptionNotSupportedExceptionOutOfMemoryExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionOverflowExceptionpublic void setUseSystemPasswordChar(boolean UseSystemPasswordChar)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
InvalidCastException,
IndexOutOfRangeException,
FormatException,
ObjectDisposedException,
Win32Exception,
OutOfMemoryException,
SecurityException,
IOException,
UnauthorizedAccessException,
OverflowException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionArgumentNullExceptionInvalidCastExceptionIndexOutOfRangeExceptionFormatExceptionObjectDisposedExceptionWin32ExceptionOutOfMemoryExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionOverflowException