public class Block extends TextElement
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Documents.Block
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.Documents.Block
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Block() |
Block(java.lang.Object instance)
Internal constructor.
|
getBackground, getContentEnd, getContentStart, getElementEnd, getElementStart, getFontFamily, GetFontFamily, getFontSize, GetFontSize, getFontStretch, GetFontStretch, getFontStyle, GetFontStyle, getFontWeight, GetFontWeight, getForeground, GetForeground, getTextEffects, getTypography, setBackground, SetFontFamily, setFontFamily, SetFontSize, setFontSize, SetFontStretch, setFontStretch, SetFontStyle, setFontStyle, SetFontWeight, setFontWeight, setForeground, SetForeground, setTextEffectsaddContextMenuClosing, addContextMenuOpening, addDataContextChanged, addInitialized, addLoaded, addToolTipClosing, addToolTipOpening, addUnloaded, BeginInit, BeginStoryboard, BeginStoryboard, BeginStoryboard, BringIntoView, EndInit, FindName, FindResource, GetBindingExpression, getBindingGroup, getContextMenu, getCursor, getDataContext, getFocusVisualStyle, getForceCursor, getInputScope, getIsInitialized, getIsLoaded, getLanguage, getName, getOverridesDefaultStyle, getParent, getResources, getStyle, getTag, getTemplatedParent, getToolTip, MoveFocus, PredictFocus, RegisterName, removeContextMenuClosing, removeContextMenuOpening, removeDataContextChanged, removeInitialized, removeLoaded, removeToolTipClosing, removeToolTipOpening, removeUnloaded, SetBinding, SetBinding, setBindingGroup, setContextMenu, setCursor, setDataContext, setFocusVisualStyle, setForceCursor, setInputScope, setLanguage, setName, setOverridesDefaultStyle, SetResourceReference, setResources, setStyle, setTag, setToolTip, ShouldSerializeResources, ShouldSerializeStyle, TryFindResource, UnregisterName, UpdateDefaultStyleaddDragEnter, addDragLeave, addDragOver, addDrop, addFocusableChanged, addGiveFeedback, addGotFocus, addGotKeyboardFocus, addGotMouseCapture, addGotStylusCapture, addIsEnabledChanged, addIsKeyboardFocusedChanged, addIsKeyboardFocusWithinChanged, addIsMouseCapturedChanged, addIsMouseCaptureWithinChanged, addIsMouseDirectlyOverChanged, addIsStylusCapturedChanged, addIsStylusCaptureWithinChanged, addIsStylusDirectlyOverChanged, addKeyDown, addKeyUp, 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, BeginAnimation, BeginAnimation, CaptureMouse, CaptureStylus, CaptureTouch, Focus, getAllowDrop, GetAnimationBaseValue, getAreAnyTouchesCaptured, getAreAnyTouchesCapturedWithin, getAreAnyTouchesDirectlyOver, getAreAnyTouchesOver, getCommandBindings, getFocusable, getHasAnimatedProperties, getInputBindings, getIsEnabled, getIsFocused, getIsInputMethodEnabled, getIsKeyboardFocused, getIsKeyboardFocusWithin, getIsMouseCaptured, getIsMouseCaptureWithin, getIsMouseDirectlyOver, getIsMouseOver, getIsStylusCaptured, getIsStylusCaptureWithin, getIsStylusDirectlyOver, getIsStylusOver, RaiseEvent, ReleaseAllTouchCaptures, ReleaseMouseCapture, ReleaseStylusCapture, ReleaseTouchCapture, removeDragEnter, removeDragLeave, removeDragOver, removeDrop, removeFocusableChanged, removeGiveFeedback, removeGotFocus, removeGotKeyboardFocus, removeGotMouseCapture, removeGotStylusCapture, removeIsEnabledChanged, removeIsKeyboardFocusedChanged, removeIsKeyboardFocusWithinChanged, removeIsMouseCapturedChanged, removeIsMouseCaptureWithinChanged, removeIsMouseDirectlyOverChanged, removeIsStylusCapturedChanged, removeIsStylusCaptureWithinChanged, removeIsStylusDirectlyOverChanged, removeKeyDown, removeKeyUp, 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, setFocusable, setIsEnabled, ShouldSerializeCommandBindings, ShouldSerializeInputBindingsClearValue, ClearValue, CoerceValue, getDependencyObjectType, getIsSealed, GetLocalValueEnumerator, GetValue, InvalidateProperty, ReadLocalValue, SetCurrentValue, SetValue, SetValueCheckAccess, getDispatcher, VerifyAccessEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringAddChild, AddText, ToIAddChildIsAmbientPropertyAvailable, ToIQueryAmbientpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Block()
throws java.lang.Throwable
java.lang.Throwablepublic Block(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static Block cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Block, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedBlock instancejava.lang.Throwable - in case of error during cast operationpublic Brush getBorderBrush() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
public Thickness getBorderThickness() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
public boolean getBreakColumnBefore()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
IndexOutOfRangeException,
FormatException
public boolean getBreakPageBefore()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
IndexOutOfRangeException,
FormatException
public WrapDirection getClearFloaters() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
public FlowDirection getFlowDirection() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
public boolean getIsHyphenationEnabled()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
IndexOutOfRangeException,
FormatException
public static boolean GetIsHyphenationEnabled(DependencyObject element) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IAddChildgetJCOAssemblyName in interface IQueryAmbientgetJCOAssemblyName in class TextElementString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IAddChildgetJCOClassName in interface IQueryAmbientgetJCOClassName in class TextElementString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IAddChildgetJCOInstance in interface IQueryAmbientgetJCOInstance in class TextElementObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IAddChildgetJCOObjectName in interface IQueryAmbientgetJCOObjectName in class TextElementString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IAddChildgetJCOType in interface IQueryAmbientgetJCOType in class TextElementJCType representing the CLR Type of the instantiated Classpublic double getLineHeight()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
IndexOutOfRangeException,
FormatException
public static double GetLineHeight(DependencyObject element) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
public LineStackingStrategy getLineStackingStrategy() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
public static LineStackingStrategy GetLineStackingStrategy(DependencyObject element) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
public Thickness getMargin() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
public Block getNextBlock() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionPlatformNotSupportedExceptionpublic Thickness getPadding() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
public Block getPreviousBlock() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionPlatformNotSupportedExceptionpublic BlockCollection getSiblingBlocks() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, SecurityException, ArgumentOutOfRangeException, PlatformNotSupportedException, IOException, UnauthorizedAccessException, IndexOutOfRangeException, InvalidOperationException
public TextAlignment getTextAlignment() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
public static TextAlignment GetTextAlignment(DependencyObject element) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
public void setBorderBrush(Brush BorderBrush) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
public void setBorderThickness(Thickness BorderThickness) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
public void setBreakColumnBefore(boolean BreakColumnBefore)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
NotSupportedException,
OutOfMemoryException
public void setBreakPageBefore(boolean BreakPageBefore)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
NotSupportedException,
OutOfMemoryException
public void setClearFloaters(WrapDirection ClearFloaters) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
public void setFlowDirection(FlowDirection FlowDirection) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
public void setIsHyphenationEnabled(boolean IsHyphenationEnabled)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
NotSupportedException,
OutOfMemoryException
public static void SetIsHyphenationEnabled(DependencyObject element, boolean value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException
public void setJCOInstance(JCObject instance)
setJCOInstance in class TextElementpublic static void SetLineHeight(DependencyObject element, double value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException
public void setLineHeight(double LineHeight)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
NotSupportedException,
FormatException,
OutOfMemoryException
public static void SetLineStackingStrategy(DependencyObject element, LineStackingStrategy value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException
public void setLineStackingStrategy(LineStackingStrategy LineStackingStrategy) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
public void setMargin(Thickness Margin) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
public void setPadding(Thickness Padding) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
public static void SetTextAlignment(DependencyObject element, TextAlignment value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException
public void setTextAlignment(TextAlignment TextAlignment) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException