Package system.windows.forms
Class PrintPreviewControl
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.windows.forms.Control
-
- system.windows.forms.PrintPreviewControl
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
,IDropTarget
public class PrintPreviewControl extends Control
The base .NET class managing System.Windows.Forms.PrintPreviewControl, System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.PrintPreviewControl
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.String
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Windows.Formsstatic java.lang.String
className
Qualified class name: System.Windows.Forms.PrintPreviewControlstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description PrintPreviewControl()
PrintPreviewControl(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addStartPageChanged(EventHandler handler)
void
addTextChanged(EventHandler handler)
static PrintPreviewControl
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoPrintPreviewControl
, a cast assert is made to check if types are compatible.boolean
getAutoZoom()
int
getColumns()
PrintDocument
getDocument()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeint
getRows()
int
getStartPage()
boolean
getTabStop()
boolean
getUseAntiAlias()
double
getZoom()
void
InvalidatePreview()
void
removeStartPageChanged(EventHandler handler)
void
removeTextChanged(EventHandler handler)
void
ResetBackColor()
void
ResetForeColor()
void
setAutoZoom(boolean AutoZoom)
void
setColumns(int Columns)
void
setDocument(PrintDocument Document)
void
setJCOInstance(JCObject instance)
void
setRows(int Rows)
void
setStartPage(int StartPage)
void
setTabStop(boolean TabStop)
void
setUseAntiAlias(boolean UseAntiAlias)
void
setZoom(double Zoom)
-
Methods inherited from class system.windows.forms.Control
addAutoSizeChanged, addBackColorChanged, addBackgroundImageChanged, addBackgroundImageLayoutChanged, addBindingContextChanged, addCausesValidationChanged, addChangeUICues, addClick, addClientSizeChanged, 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, addMouseClick, addMouseDoubleClick, addMouseDown, addMouseEnter, addMouseHover, addMouseLeave, addMouseMove, addMouseUp, addMouseWheel, addMove, addPaddingChanged, addPaint, addParentChanged, addPreviewKeyDown, addQueryAccessibilityHelp, addQueryContinueDrag, addRegionChanged, addResize, addRightToLeftChanged, addSizeChanged, addStyleChanged, addSystemColorsChanged, addTabIndexChanged, addTabStopChanged, 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, 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, getPadding, getParent, getPreferredSize, GetPreferredSize, getProductName, getProductVersion, getRecreatingHandle, getRegion, getRight, getRightToLeft, getSize, getTabIndex, 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, removeAutoSizeChanged, removeBackColorChanged, removeBackgroundImageChanged, removeBackgroundImageLayoutChanged, removeBindingContextChanged, removeCausesValidationChanged, removeChangeUICues, removeClick, removeClientSizeChanged, 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, removeMouseClick, removeMouseDoubleClick, removeMouseDown, removeMouseEnter, removeMouseHover, removeMouseLeave, removeMouseMove, removeMouseUp, removeMouseWheel, removeMove, removePaddingChanged, removePaint, removeParentChanged, removePreviewKeyDown, removeQueryAccessibilityHelp, removeQueryContinueDrag, removeRegionChanged, removeResize, removeRightToLeftChanged, removeSizeChanged, removeStyleChanged, removeSystemColorsChanged, removeTabIndexChanged, removeTabStopChanged, removeValidated, removeValidating, removeVisibleChanged, ResetBindings, ResetCursor, ResetFont, 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, setContextMenuStrip, setCursor, setDataContext, setDock, setEnabled, setFont, setForeColor, setHeight, setImeMode, setIsAccessible, setLeft, setLocation, setMargin, setMaximumSize, setMinimumSize, setName, setPadding, setParent, setRegion, setRightToLeft, setSize, setTabIndex, setTag, setText, setTop, setUseWaitCursor, setVisible, setWidth, setWindowTarget, Show, SuspendLayout, Update
-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
GetLifetimeService, InitializeLifetimeService
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.windows.forms.IDropTarget
OnDragDrop, OnDragEnter, OnDragLeave, OnDragOver
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Windows.Forms- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Forms.PrintPreviewControl- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PrintPreviewControl
public PrintPreviewControl(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
PrintPreviewControl
public PrintPreviewControl() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ObjectDisposedException, NotSupportedException, FormatException, Win32Exception, InvalidEnumArgumentException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentNullException
RankException
IndexOutOfRangeException
ArgumentException
ArrayTypeMismatchException
InvalidOperationException
ArgumentOutOfRangeException
OutOfMemoryException
ObjectDisposedException
NotSupportedException
FormatException
Win32Exception
InvalidEnumArgumentException
MulticastNotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIDropTarget
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classControl
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIDropTarget
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classControl
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIDropTarget
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classControl
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIDropTarget
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classControl
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classControl
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIDropTarget
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classControl
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static PrintPreviewControl cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoPrintPreviewControl
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
PrintPreviewControl
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
InvalidatePreview
public void InvalidatePreview() throws java.lang.Throwable, InvalidOperationException, Win32Exception, OutOfMemoryException, ArgumentException, OverflowException, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidEnumArgumentException
-
ResetBackColor
public void ResetBackColor() throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, RankException, ArrayTypeMismatchException, InvalidCastException
- Overrides:
ResetBackColor
in classControl
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentNullException
PlatformNotSupportedException
ArgumentException
ArgumentOutOfRangeException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
RankException
ArrayTypeMismatchException
InvalidCastException
-
ResetForeColor
public void ResetForeColor() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, InvalidOperationException, NotSupportedException, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
- Overrides:
ResetForeColor
in classControl
- Throws:
java.lang.Throwable
ArgumentException
ObjectDisposedException
InvalidOperationException
NotSupportedException
PlatformNotSupportedException
ArgumentNullException
RankException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidCastException
-
getAutoZoom
public boolean getAutoZoom() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAutoZoom
public void setAutoZoom(boolean AutoZoom) throws java.lang.Throwable, InvalidOperationException, Win32Exception, OutOfMemoryException, ArgumentException, OverflowException, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidEnumArgumentException
-
getTabStop
public boolean getTabStop() throws java.lang.Throwable
- Overrides:
getTabStop
in classControl
- Throws:
java.lang.Throwable
-
setTabStop
public void setTabStop(boolean TabStop) throws java.lang.Throwable
- Overrides:
setTabStop
in classControl
- Throws:
java.lang.Throwable
-
getUseAntiAlias
public boolean getUseAntiAlias() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUseAntiAlias
public void setUseAntiAlias(boolean UseAntiAlias) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getZoom
public double getZoom() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setZoom
public void setZoom(double Zoom) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, Win32Exception, OutOfMemoryException, OverflowException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
Win32Exception
OutOfMemoryException
OverflowException
InvalidEnumArgumentException
-
getColumns
public int getColumns() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setColumns
public void setColumns(int Columns) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, Win32Exception, OutOfMemoryException, OverflowException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
Win32Exception
OutOfMemoryException
OverflowException
InvalidEnumArgumentException
-
getRows
public int getRows() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setRows
public void setRows(int Rows) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, Win32Exception, OutOfMemoryException, OverflowException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
Win32Exception
OutOfMemoryException
OverflowException
InvalidEnumArgumentException
-
getStartPage
public int getStartPage() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setStartPage
public void setStartPage(int StartPage) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, Win32Exception, OutOfMemoryException, OverflowException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
Win32Exception
OutOfMemoryException
OverflowException
InvalidEnumArgumentException
-
getDocument
public PrintDocument getDocument() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDocument
public void setDocument(PrintDocument Document) throws java.lang.Throwable, InvalidOperationException, ArgumentException, PlatformNotSupportedException, Win32Exception, NotSupportedException, ArgumentOutOfRangeException
-
addStartPageChanged
public void addStartPageChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeStartPageChanged
public void removeStartPageChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addTextChanged
public void addTextChanged(EventHandler handler) throws java.lang.Throwable
- Overrides:
addTextChanged
in classControl
- Throws:
java.lang.Throwable
-
removeTextChanged
public void removeTextChanged(EventHandler handler) throws java.lang.Throwable
- Overrides:
removeTextChanged
in classControl
- Throws:
java.lang.Throwable
-
-