Class DocumentViewerBase
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.threading.DispatcherObject
-
- system.windows.DependencyObject
-
- system.windows.media.Visual
-
- system.windows.UIElement
-
- system.windows.FrameworkElement
-
- system.windows.controls.Control
-
- system.windows.controls.primitives.DocumentViewerBase
-
- All Implemented Interfaces:
IJCOBridgeReflected,IServiceProvider,IAddChild,IQueryAmbient
- Direct Known Subclasses:
DocumentViewer,FlowDocumentPageViewer
public class DocumentViewerBase extends Control implements IAddChild, IServiceProvider
The base .NET class managing System.Windows.Controls.Primitives.DocumentViewerBase, PresentationFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Controls.Primitives.DocumentViewerBase
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: PresentationFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: PresentationFrameworkstatic java.lang.StringclassNameQualified class name: System.Windows.Controls.Primitives.DocumentViewerBasestatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DocumentViewerBase()DocumentViewerBase(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPageViewsChanged(EventHandler handler)voidCancelPrint()booleanCanGoToPage(int pageNumber)static DocumentViewerBasecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoDocumentViewerBase, a cast assert is made to check if types are compatible.voidFirstPage()booleangetCanGoToNextPage()booleangetCanGoToPreviousPage()IDocumentPaginatorSourcegetDocument()static booleanGetIsMasterPage(DependencyObject element)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeintgetMasterPageNumber()intgetPageCount()voidGoToPage(int pageNumber)voidLastPage()voidNextPage()voidOnApplyTemplate()voidPreviousPage()voidPrint()voidremovePageViewsChanged(EventHandler handler)voidsetDocument(IDocumentPaginatorSource Document)static voidSetIsMasterPage(DependencyObject element, boolean value)voidsetJCOInstance(JCObject instance)-
Methods inherited from class system.windows.controls.Control
addMouseDoubleClick, 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, setVerticalContentAlignment
-
Methods inherited from class system.windows.FrameworkElement
addContextMenuClosing, 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, UpdateDefaultStyle
-
Methods inherited from class system.windows.UIElement
addDragEnter, 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, 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, UpdateLayout
-
Methods inherited from class system.windows.media.Visual
FindCommonVisualAncestor, IsAncestorOf, IsDescendantOf, PointFromScreen, PointToScreen, TransformToAncestor, TransformToAncestor, TransformToDescendant, TransformToVisual
-
Methods inherited from class system.windows.DependencyObject
ClearValue, ClearValue, CoerceValue, getDependencyObjectType, getIsSealed, GetLocalValueEnumerator, GetValue, InvalidateProperty, ReadLocalValue, SetCurrentValue, SetValue, SetValue
-
Methods inherited from class system.windows.threading.DispatcherObject
CheckAccess, getDispatcher, VerifyAccess
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.windows.markup.IQueryAmbient
IsAmbientPropertyAvailable
-
Methods inherited from interface system.IServiceProvider
GetService
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: PresentationFramework- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Controls.Primitives.DocumentViewerBase- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIAddChild- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceIQueryAmbient- Specified by:
getJCOAssemblyNamein interfaceIServiceProvider- Overrides:
getJCOAssemblyNamein classControl- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIAddChild- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Specified by:
getJCOClassNamein interfaceIQueryAmbient- Specified by:
getJCOClassNamein interfaceIServiceProvider- Overrides:
getJCOClassNamein classControl- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIAddChild- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Specified by:
getJCOObjectNamein interfaceIQueryAmbient- Specified by:
getJCOObjectNamein interfaceIServiceProvider- Overrides:
getJCOObjectNamein classControl- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIAddChild- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Specified by:
getJCOInstancein interfaceIQueryAmbient- Specified by:
getJCOInstancein interfaceIServiceProvider- Overrides:
getJCOInstancein classControl- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classControl
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIAddChild- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceIQueryAmbient- Specified by:
getJCOTypein interfaceIServiceProvider- Overrides:
getJCOTypein classControl- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static DocumentViewerBase cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoDocumentViewerBase, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
DocumentViewerBaseinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CanGoToPage
public boolean CanGoToPage(int pageNumber) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
-
GetIsMasterPage
public static boolean GetIsMasterPage(DependencyObject element) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
-
CancelPrint
public void CancelPrint() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
FirstPage
public void FirstPage() throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, InvalidEnumArgumentException
-
GoToPage
public void GoToPage(int pageNumber) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, InvalidEnumArgumentException
-
LastPage
public void LastPage() throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, InvalidEnumArgumentException
-
NextPage
public void NextPage() throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, InvalidEnumArgumentException
-
OnApplyTemplate
public void OnApplyTemplate() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException, ArgumentNullException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, NotSupportedException, Win32Exception, PlatformNotSupportedException, TargetInvocationException- Overrides:
OnApplyTemplatein classFrameworkElement- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionArgumentNullExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidOperationExceptionNotSupportedExceptionWin32ExceptionPlatformNotSupportedExceptionTargetInvocationException
-
PreviousPage
public void PreviousPage() throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, InvalidEnumArgumentException
-
Print
public void Print() throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, MulticastNotSupportedException, ArgumentOutOfRangeException, Win32Exception
-
SetIsMasterPage
public static void SetIsMasterPage(DependencyObject element, boolean value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException
-
getCanGoToNextPage
public boolean getCanGoToNextPage() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
-
getCanGoToPreviousPage
public boolean getCanGoToPreviousPage() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
-
getMasterPageNumber
public int getMasterPageNumber() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
-
getPageCount
public int getPageCount() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
-
getDocument
public IDocumentPaginatorSource getDocument() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDocument
public void setDocument(IDocumentPaginatorSource Document) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
-
addPageViewsChanged
public void addPageViewsChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removePageViewsChanged
public void removePageViewsChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-