public class RichTextBox extends TextBoxBase
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Controls.RichTextBox
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: PresentationFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationFramework
|
static java.lang.String |
className
Qualified class name: System.Windows.Controls.RichTextBox
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
RichTextBox() |
RichTextBox(FlowDocument document) |
RichTextBox(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static RichTextBox |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into RichTextBox, a cast assert is made to check if types are compatible. |
TextPointer |
getCaretPosition() |
FlowDocument |
getDocument() |
boolean |
getIsDocumentEnabled() |
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
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
TextPointer |
GetNextSpellingErrorPosition(TextPointer position,
LogicalDirection direction) |
TextPointer |
GetPositionFromPoint(Point point,
boolean snapToText) |
TextSelection |
getSelection() |
SpellingError |
GetSpellingError(TextPointer position) |
TextRange |
GetSpellingErrorRange(TextPointer position) |
void |
setCaretPosition(TextPointer CaretPosition) |
void |
setDocument(FlowDocument Document) |
void |
setIsDocumentEnabled(boolean IsDocumentEnabled) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
boolean |
ShouldSerializeDocument() |
addSelectionChanged, addTextChanged, AppendText, BeginChange, Copy, Cut, DeclareChangeBlock, EndChange, getAcceptsReturn, getAcceptsTab, getAutoWordSelection, getCanRedo, getCanUndo, getCaretBrush, getExtentHeight, getExtentWidth, getHorizontalOffset, getHorizontalScrollBarVisibility, getIsInactiveSelectionHighlightEnabled, getIsReadOnly, getIsReadOnlyCaretVisible, getIsSelectionActive, getIsUndoEnabled, getSelectionBrush, getSelectionOpacity, getSelectionTextBrush, getSpellCheck, getUndoLimit, getVerticalOffset, getVerticalScrollBarVisibility, getViewportHeight, getViewportWidth, LineDown, LineLeft, LineRight, LineUp, LockCurrentUndoUnit, OnApplyTemplate, PageDown, PageLeft, PageRight, PageUp, Paste, Redo, removeSelectionChanged, removeTextChanged, ScrollToEnd, ScrollToHome, ScrollToHorizontalOffset, ScrollToVerticalOffset, SelectAll, setAcceptsReturn, setAcceptsTab, setAutoWordSelection, setCaretBrush, setHorizontalScrollBarVisibility, setIsInactiveSelectionHighlightEnabled, setIsReadOnly, setIsReadOnlyCaretVisible, setIsUndoEnabled, setSelectionBrush, setSelectionOpacity, setSelectionTextBrush, setUndoLimit, setVerticalScrollBarVisibility, UndoaddMouseDoubleClick, addPreviewMouseDoubleClick, getBackground, getBorderBrush, getBorderThickness, getFontFamily, getFontSize, getFontStretch, getFontStyle, getFontWeight, getForeground, getHorizontalContentAlignment, getIsTabStop, getPadding, getTabIndex, getTemplate, getVerticalContentAlignment, removeMouseDoubleClick, removePreviewMouseDoubleClick, setBackground, setBorderBrush, setBorderThickness, setFontFamily, setFontSize, setFontStretch, setFontStyle, setFontWeight, setForeground, setHorizontalContentAlignment, setIsTabStop, setPadding, setTabIndex, setTemplate, setVerticalContentAlignmentaddContextMenuClosing, addContextMenuOpening, addDataContextChanged, addInitialized, addLoaded, addRequestBringIntoView, addSizeChanged, addToolTipClosing, addToolTipOpening, addUnloaded, ApplyTemplate, BeginInit, BeginStoryboard, BeginStoryboard, BeginStoryboard, BringIntoView, BringIntoView, EndInit, FindName, FindResource, getActualHeight, getActualWidth, GetBindingExpression, getBindingGroup, getContextMenu, getCursor, getDataContext, getFlowDirection, GetFlowDirection, getFocusVisualStyle, getForceCursor, getHeight, getHorizontalAlignment, getInputScope, getIsInitialized, getIsLoaded, getLanguage, getLayoutTransform, getMargin, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getName, getOverridesDefaultStyle, getParent, getResources, getStyle, getTag, getTemplatedParent, getToolTip, getTriggers, getUseLayoutRounding, getVerticalAlignment, getWidth, MoveFocus, PredictFocus, RegisterName, removeContextMenuClosing, removeContextMenuOpening, removeDataContextChanged, removeInitialized, removeLoaded, removeRequestBringIntoView, removeSizeChanged, removeToolTipClosing, removeToolTipOpening, removeUnloaded, SetBinding, SetBinding, setBindingGroup, setContextMenu, setCursor, setDataContext, SetFlowDirection, setFlowDirection, setFocusVisualStyle, setForceCursor, setHeight, setHorizontalAlignment, setInputScope, setLanguage, setLayoutTransform, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setName, setOverridesDefaultStyle, SetResourceReference, setResources, setStyle, setTag, setToolTip, setUseLayoutRounding, setVerticalAlignment, setWidth, ShouldSerializeResources, ShouldSerializeStyle, ShouldSerializeTriggers, TryFindResource, UnregisterName, UpdateDefaultStyleaddDragEnter, addDragLeave, addDragOver, addDrop, addFocusableChanged, addGiveFeedback, addGotFocus, addGotKeyboardFocus, addGotMouseCapture, addGotStylusCapture, addIsEnabledChanged, addIsHitTestVisibleChanged, addIsKeyboardFocusedChanged, addIsKeyboardFocusWithinChanged, addIsMouseCapturedChanged, addIsMouseCaptureWithinChanged, addIsMouseDirectlyOverChanged, addIsStylusCapturedChanged, addIsStylusCaptureWithinChanged, addIsStylusDirectlyOverChanged, addIsVisibleChanged, addKeyDown, addKeyUp, addLayoutUpdated, addLostFocus, addLostKeyboardFocus, addLostMouseCapture, addLostStylusCapture, addMouseDown, addMouseEnter, addMouseLeave, addMouseLeftButtonDown, addMouseLeftButtonUp, addMouseMove, addMouseRightButtonDown, addMouseRightButtonUp, addMouseUp, addMouseWheel, addPreviewDragEnter, addPreviewDragLeave, addPreviewDragOver, addPreviewDrop, addPreviewGiveFeedback, addPreviewGotKeyboardFocus, addPreviewKeyDown, addPreviewKeyUp, addPreviewLostKeyboardFocus, addPreviewMouseDown, addPreviewMouseLeftButtonDown, addPreviewMouseLeftButtonUp, addPreviewMouseMove, addPreviewMouseRightButtonDown, addPreviewMouseRightButtonUp, addPreviewMouseUp, addPreviewMouseWheel, addPreviewQueryContinueDrag, addPreviewStylusButtonDown, addPreviewStylusButtonUp, addPreviewStylusDown, addPreviewStylusInAirMove, addPreviewStylusInRange, addPreviewStylusMove, addPreviewStylusOutOfRange, addPreviewStylusSystemGesture, addPreviewStylusUp, addPreviewTextInput, addQueryContinueDrag, addQueryCursor, addStylusButtonDown, addStylusButtonUp, addStylusDown, addStylusEnter, addStylusInAirMove, addStylusInRange, addStylusLeave, addStylusMove, addStylusOutOfRange, addStylusSystemGesture, addStylusUp, addTextInput, AddToEventRoute, ApplyAnimationClock, ApplyAnimationClock, Arrange, BeginAnimation, BeginAnimation, CaptureMouse, CaptureStylus, CaptureTouch, Focus, getAllowDrop, GetAnimationBaseValue, getAreAnyTouchesCaptured, getAreAnyTouchesCapturedWithin, getAreAnyTouchesDirectlyOver, getAreAnyTouchesOver, getBitmapEffect, getBitmapEffectInput, getCacheMode, getClip, getClipToBounds, getCommandBindings, getDesiredSize, getEffect, getFocusable, getHasAnimatedProperties, getInputBindings, getIsArrangeValid, getIsEnabled, getIsFocused, getIsHitTestVisible, getIsInputMethodEnabled, getIsKeyboardFocused, getIsKeyboardFocusWithin, getIsManipulationEnabled, getIsMeasureValid, getIsMouseCaptured, getIsMouseCaptureWithin, getIsMouseDirectlyOver, getIsMouseOver, getIsStylusCaptured, getIsStylusCaptureWithin, getIsStylusDirectlyOver, getIsStylusOver, getIsVisible, getOpacity, getOpacityMask, getPersistId, getRenderSize, getRenderTransform, getRenderTransformOrigin, getSnapsToDevicePixels, getTouchesCaptured, getTouchesCapturedWithin, getTouchesDirectlyOver, getTouchesOver, getUid, getVisibility, InputHitTest, InvalidateArrange, InvalidateMeasure, InvalidateVisual, Measure, RaiseEvent, ReleaseAllTouchCaptures, ReleaseMouseCapture, ReleaseStylusCapture, ReleaseTouchCapture, removeDragEnter, removeDragLeave, removeDragOver, removeDrop, removeFocusableChanged, removeGiveFeedback, removeGotFocus, removeGotKeyboardFocus, removeGotMouseCapture, removeGotStylusCapture, removeIsEnabledChanged, removeIsHitTestVisibleChanged, removeIsKeyboardFocusedChanged, removeIsKeyboardFocusWithinChanged, removeIsMouseCapturedChanged, removeIsMouseCaptureWithinChanged, removeIsMouseDirectlyOverChanged, removeIsStylusCapturedChanged, removeIsStylusCaptureWithinChanged, removeIsStylusDirectlyOverChanged, removeIsVisibleChanged, removeKeyDown, removeKeyUp, removeLayoutUpdated, removeLostFocus, removeLostKeyboardFocus, removeLostMouseCapture, removeLostStylusCapture, removeMouseDown, removeMouseEnter, removeMouseLeave, removeMouseLeftButtonDown, removeMouseLeftButtonUp, removeMouseMove, removeMouseRightButtonDown, removeMouseRightButtonUp, removeMouseUp, removeMouseWheel, removePreviewDragEnter, removePreviewDragLeave, removePreviewDragOver, removePreviewDrop, removePreviewGiveFeedback, removePreviewGotKeyboardFocus, removePreviewKeyDown, removePreviewKeyUp, removePreviewLostKeyboardFocus, removePreviewMouseDown, removePreviewMouseLeftButtonDown, removePreviewMouseLeftButtonUp, removePreviewMouseMove, removePreviewMouseRightButtonDown, removePreviewMouseRightButtonUp, removePreviewMouseUp, removePreviewMouseWheel, removePreviewQueryContinueDrag, removePreviewStylusButtonDown, removePreviewStylusButtonUp, removePreviewStylusDown, removePreviewStylusInAirMove, removePreviewStylusInRange, removePreviewStylusMove, removePreviewStylusOutOfRange, removePreviewStylusSystemGesture, removePreviewStylusUp, removePreviewTextInput, removeQueryContinueDrag, removeQueryCursor, removeStylusButtonDown, removeStylusButtonUp, removeStylusDown, removeStylusEnter, removeStylusInAirMove, removeStylusInRange, removeStylusLeave, removeStylusMove, removeStylusOutOfRange, removeStylusSystemGesture, removeStylusUp, removeTextInput, setAllowDrop, setBitmapEffect, setBitmapEffectInput, setCacheMode, setClip, setClipToBounds, setEffect, setFocusable, setIsEnabled, setIsHitTestVisible, setIsManipulationEnabled, setOpacity, setOpacityMask, setRenderSize, setRenderTransform, setRenderTransformOrigin, setSnapsToDevicePixels, setUid, setVisibility, ShouldSerializeCommandBindings, ShouldSerializeInputBindings, TranslatePoint, UpdateLayoutFindCommonVisualAncestor, IsAncestorOf, IsDescendantOf, PointFromScreen, PointToScreen, TransformToAncestor, TransformToAncestor, TransformToDescendant, TransformToVisualClearValue, ClearValue, CoerceValue, getDependencyObjectType, getIsSealed, GetLocalValueEnumerator, GetValue, InvalidateProperty, ReadLocalValue, SetCurrentValue, SetValue, SetValueCheckAccess, getDispatcher, VerifyAccesspublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic RichTextBox()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
InvalidOperationException,
ArgumentException,
NotSupportedException,
PlatformNotSupportedException,
ArgumentNullException,
RankException,
ArrayTypeMismatchException,
NullReferenceException,
Win32Exception,
InvalidEnumArgumentException,
IndexOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
ObjectDisposedException,
SecurityException,
IOException,
UnauthorizedAccessException,
XamlParseException,
OverflowException
java.lang.ThrowableArgumentOutOfRangeExceptionInvalidOperationExceptionArgumentExceptionNotSupportedExceptionPlatformNotSupportedExceptionArgumentNullExceptionRankExceptionArrayTypeMismatchExceptionNullReferenceExceptionWin32ExceptionInvalidEnumArgumentExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionXamlParseExceptionOverflowExceptionpublic RichTextBox(FlowDocument document) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, Win32Exception, SynchronizationLockException, NullReferenceException, InvalidEnumArgumentException, TargetInvocationException, ThreadStateException, IndexOutOfRangeException, CultureNotFoundException, ObjectDisposedException, SecurityException, XamlParseException, OverflowException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentNullExceptionWin32ExceptionSynchronizationLockExceptionNullReferenceExceptionInvalidEnumArgumentExceptionTargetInvocationExceptionThreadStateExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionSecurityExceptionXamlParseExceptionOverflowExceptionpublic RichTextBox(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static RichTextBox cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into RichTextBox, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedRichTextBox instancejava.lang.Throwable - in case of error during cast operationpublic TextPointer getCaretPosition() throws java.lang.Throwable
java.lang.Throwablepublic FlowDocument getDocument() throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, OutOfMemoryException, SecurityException, ArrayTypeMismatchException, IOException, UnauthorizedAccessException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionSecurityExceptionArrayTypeMismatchExceptionIOExceptionUnauthorizedAccessExceptionInvalidOperationExceptionpublic boolean getIsDocumentEnabled()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
IndexOutOfRangeException,
FormatException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class TextBoxBaseString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class TextBoxBaseString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class TextBoxBaseObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class TextBoxBaseString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class TextBoxBaseJCType representing the CLR Type of the instantiated Classpublic TextPointer GetNextSpellingErrorPosition(TextPointer position, LogicalDirection direction) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, SecurityException, IOException, NullReferenceException, COMException, SynchronizationLockException, CultureNotFoundException, KeyNotFoundException, FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionSecurityExceptionIOExceptionNullReferenceExceptionCOMExceptionSynchronizationLockExceptionCultureNotFoundExceptionKeyNotFoundExceptionFormatExceptionpublic TextPointer GetPositionFromPoint(Point point, boolean snapToText) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, Win32Exception, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionWin32ExceptionArgumentOutOfRangeExceptionpublic TextSelection getSelection() throws java.lang.Throwable
java.lang.Throwablepublic SpellingError GetSpellingError(TextPointer position) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, SecurityException, IOException, NullReferenceException, COMException, SynchronizationLockException, CultureNotFoundException, KeyNotFoundException, FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionSecurityExceptionIOExceptionNullReferenceExceptionCOMExceptionSynchronizationLockExceptionCultureNotFoundExceptionKeyNotFoundExceptionFormatExceptionpublic TextRange GetSpellingErrorRange(TextPointer position) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, SecurityException, IOException, NullReferenceException, COMException, SynchronizationLockException, CultureNotFoundException, KeyNotFoundException, FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionSecurityExceptionIOExceptionNullReferenceExceptionCOMExceptionSynchronizationLockExceptionCultureNotFoundExceptionKeyNotFoundExceptionFormatExceptionpublic void setCaretPosition(TextPointer CaretPosition) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void setDocument(FlowDocument Document) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, SecurityException, IOException, UnauthorizedAccessException, IndexOutOfRangeException, NullReferenceException, InvalidEnumArgumentException, Win32Exception, CultureNotFoundException, KeyNotFoundException, MulticastNotSupportedException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionNullReferenceExceptionInvalidEnumArgumentExceptionWin32ExceptionCultureNotFoundExceptionKeyNotFoundExceptionMulticastNotSupportedExceptionpublic void setIsDocumentEnabled(boolean IsDocumentEnabled)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
NotSupportedException,
OutOfMemoryException
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class TextBoxBasepublic boolean ShouldSerializeDocument()
throws java.lang.Throwable,
ArgumentException,
ObjectDisposedException,
SecurityException,
IOException,
UnauthorizedAccessException,
PlatformNotSupportedException,
InvalidOperationException,
NotSupportedException,
ArgumentNullException