Package system.componentmodel.design
Class ByteViewer
- java.lang.Object
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected,IExtenderProvider,IDropTarget
public class ByteViewer extends TableLayoutPanel
The base .NET class managing System.ComponentModel.Design.ByteViewer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ComponentModel.Design.ByteViewer
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: System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Designstatic java.lang.StringclassNameQualified class name: System.ComponentModel.Design.ByteViewerstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ByteViewer()ByteViewer(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ByteViewercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoByteViewer, a cast assert is made to check if types are compatible.byte[]GetBytes()DisplayModeGetDisplayMode()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 TypevoidSaveToFile(java.lang.String path)voidSetBytes(byte[] bytes)voidSetBytes(JCORefOut dupParam0)voidSetDisplayMode(DisplayMode mode)voidSetFile(java.lang.String path)voidsetJCOInstance(JCObject instance)voidSetStartLine(int line)-
Methods inherited from class system.windows.forms.TableLayoutPanel
addCellPaint, getBorderStyle, getCellBorderStyle, GetCellPosition, GetColumn, getColumnCount, GetColumnSpan, getColumnStyles, GetColumnWidths, GetControlFromPosition, getControlsNewTableLayoutPanel, getGrowStyle, getLayoutSettings, GetPositionFromControl, GetRow, getRowCount, GetRowHeights, GetRowSpan, getRowStyles, removeCellPaint, setBorderStyle, setCellBorderStyle, SetCellPosition, SetColumn, setColumnCount, SetColumnSpan, setGrowStyle, setLayoutSettings, SetRow, setRowCount, SetRowSpan
-
Methods inherited from class system.windows.forms.Panel
addAutoSizeChanged, addKeyDown, addKeyPress, addKeyUp, addTextChanged, getAutoSizeMode, getTabStop, removeAutoSizeChanged, removeKeyDown, removeKeyPress, removeKeyUp, removeTextChanged, setAutoSizeMode, setTabStop
-
Methods inherited from class system.windows.forms.ScrollableControl
addScroll, getAutoScroll, getAutoScrollMargin, getAutoScrollMinSize, getAutoScrollPosition, getHorizontalScroll, getVerticalScroll, removeScroll, ScrollControlIntoView, setAutoScroll, setAutoScrollMargin, SetAutoScrollMargin, setAutoScrollMinSize, setAutoScrollPosition
-
Methods inherited from class system.windows.forms.Control
addBackColorChanged, addBackgroundImageChanged, addBackgroundImageLayoutChanged, addBindingContextChanged, addCausesValidationChanged, addChangeUICues, addClick, addClientSizeChanged, addContextMenuChanged, addContextMenuStripChanged, addControlAdded, addControlRemoved, addCursorChanged, addDockChanged, addDoubleClick, addDpiChangedAfterParent, addDpiChangedBeforeParent, addDragDrop, addDragEnter, addDragLeave, addDragOver, addEnabledChanged, addEnter, addFontChanged, addForeColorChanged, addGiveFeedback, addGotFocus, addHandleCreated, addHandleDestroyed, addHelpRequested, addImeModeChanged, addInvalidated, 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, BringToFront, Contains, CreateControl, CreateGraphics, 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, getDefaultBackColor, getDefaultFont, getDefaultForeColor, getDeviceDpi, getDisplayRectangle, getDisposing, getDock, getEnabled, getFocused, getFont, getForeColor, getHasChildren, getHeight, getImeMode, getInvokeRequired, getIsAccessible, 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, IsKeyLocked, IsMnemonic, LogicalToDeviceUnits, LogicalToDeviceUnits, PerformLayout, PerformLayout, PointToClient, PointToScreen, PreProcessControlMessage, PreProcessMessage, RectangleToClient, RectangleToScreen, Refresh, removeBackColorChanged, removeBackgroundImageChanged, removeBackgroundImageLayoutChanged, removeBindingContextChanged, removeCausesValidationChanged, removeChangeUICues, removeClick, removeClientSizeChanged, removeContextMenuChanged, removeContextMenuStripChanged, removeControlAdded, removeControlRemoved, removeCursorChanged, removeDockChanged, removeDoubleClick, removeDpiChangedAfterParent, removeDpiChangedBeforeParent, removeDragDrop, removeDragEnter, removeDragLeave, removeDragOver, removeEnabledChanged, removeEnter, removeFontChanged, removeForeColorChanged, removeGiveFeedback, removeGotFocus, removeHandleCreated, removeHandleDestroyed, removeHelpRequested, removeImeModeChanged, removeInvalidated, 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, 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, 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
CreateObjRef, 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
-
Methods inherited from interface system.componentmodel.IExtenderProvider
CanExtend
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Design- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.ComponentModel.Design.ByteViewer- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ByteViewer
public ByteViewer(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
ByteViewer
public ByteViewer() throws java.lang.Throwable, ConfigurationErrorsException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, ObjectDisposedException, NotSupportedException, SecurityException, MulticastNotSupportedException, InvalidEnumArgumentException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, KeyNotFoundException, RankException- Throws:
java.lang.ThrowableConfigurationErrorsExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionWin32ExceptionObjectDisposedExceptionNotSupportedExceptionSecurityExceptionMulticastNotSupportedExceptionInvalidEnumArgumentExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionKeyNotFoundExceptionRankException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIDropTarget- Specified by:
getJCOAssemblyNamein interfaceIExtenderProvider- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classTableLayoutPanel- 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 interfaceIDropTarget- Specified by:
getJCOClassNamein interfaceIExtenderProvider- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classTableLayoutPanel- 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 interfaceIDropTarget- Specified by:
getJCOObjectNamein interfaceIExtenderProvider- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classTableLayoutPanel- 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 interfaceIDropTarget- Specified by:
getJCOInstancein interfaceIExtenderProvider- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classTableLayoutPanel- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classTableLayoutPanel
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIDropTarget- Specified by:
getJCOTypein interfaceIExtenderProvider- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classTableLayoutPanel- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ByteViewer cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoByteViewer, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ByteViewerinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetBytes
public byte[] GetBytes() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetDisplayMode
public DisplayMode GetDisplayMode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SaveToFile
public void SaveToFile(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, InvalidOperationException, NullReferenceException, SecurityException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionSecurityException
-
SetBytes
public void SetBytes(byte[] bytes) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, Win32Exception, OutOfMemoryException, NotImplementedException, CultureNotFoundException, InvalidEnumArgumentException, SecurityException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionWin32ExceptionOutOfMemoryExceptionNotImplementedExceptionCultureNotFoundExceptionInvalidEnumArgumentExceptionSecurityException
-
SetBytes
public void SetBytes(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, Win32Exception, OutOfMemoryException, NotImplementedException, CultureNotFoundException, InvalidEnumArgumentException, SecurityException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionWin32ExceptionOutOfMemoryExceptionNotImplementedExceptionCultureNotFoundExceptionInvalidEnumArgumentExceptionSecurityException
-
SetDisplayMode
public void SetDisplayMode(DisplayMode mode) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, NullReferenceException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionNullReferenceExceptionOutOfMemoryException
-
SetFile
public void SetFile(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, InvalidOperationException, NullReferenceException, SecurityException, ObjectDisposedException, NotImplementedException, InvalidEnumArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionSecurityExceptionObjectDisposedExceptionNotImplementedExceptionInvalidEnumArgumentException
-
SetStartLine
public void SetStartLine(int line) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-