Package system.componentmodel.design
Class ByteViewer
-
- All Implemented Interfaces:
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
- Version:
- 1.14.3.0
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic String
assemblyShortName
Assembly name: System.Designstatic String
className
Qualified class name: System.ComponentModel.Design.ByteViewerstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ByteViewer()
ByteViewer(Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ByteViewer
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoByteViewer
, a cast assert is made to check if types are compatible.byte[]
GetBytes()
DisplayMode
GetDisplayMode()
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typevoid
SaveToFile(String path)
void
SetBytes(byte[] bytes)
void
SetBytes(JCORefOut dupParam0)
void
SetDisplayMode(DisplayMode mode)
void
SetFile(String path)
void
setJCOInstance(JCObject instance)
void
SetStartLine(int line)
-
Methods inherited from class system.windows.forms.TableLayoutPanel
addCellPaint, CanExtend, 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, OnDragDrop, OnDragEnter, OnDragLeave, OnDragOver, 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, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final 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 String assemblyShortName
Assembly name: System.Design- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.ComponentModel.Design.ByteViewer- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ByteViewer
public ByteViewer(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
ByteViewer
public ByteViewer() throws Throwable, ConfigurationErrorsException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, ObjectDisposedException, NotSupportedException, SecurityException, MulticastNotSupportedException, InvalidEnumArgumentException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, KeyNotFoundException, RankException
- Throws:
Throwable
ConfigurationErrorsException
ArgumentException
InvalidOperationException
ArgumentNullException
ArgumentOutOfRangeException
IndexOutOfRangeException
Win32Exception
ObjectDisposedException
NotSupportedException
SecurityException
MulticastNotSupportedException
InvalidEnumArgumentException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
KeyNotFoundException
RankException
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIDropTarget
- Specified by:
getJCOAssemblyName
in interfaceIExtenderProvider
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classTableLayoutPanel
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIDropTarget
- Specified by:
getJCOClassName
in interfaceIExtenderProvider
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classTableLayoutPanel
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public 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 interfaceIExtenderProvider
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classTableLayoutPanel
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIDropTarget
- Specified by:
getJCOInstance
in interfaceIExtenderProvider
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classTableLayoutPanel
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classTableLayoutPanel
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIDropTarget
- Specified by:
getJCOType
in interfaceIExtenderProvider
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classTableLayoutPanel
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ByteViewer cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoByteViewer
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ByteViewer
instance- Throws:
Throwable
- in case of error during cast operation
-
GetDisplayMode
public DisplayMode GetDisplayMode() throws Throwable
- Throws:
Throwable
-
SaveToFile
public void SaveToFile(String path) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, InvalidOperationException, NullReferenceException, SecurityException
- Throws:
Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
FormatException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
InvalidOperationException
NullReferenceException
SecurityException
-
SetBytes
public void SetBytes(byte[] bytes) throws Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, Win32Exception, OutOfMemoryException, NotImplementedException, CultureNotFoundException, InvalidEnumArgumentException, SecurityException
- Throws:
Throwable
ArgumentNullException
ArgumentException
MissingManifestResourceException
ArgumentOutOfRangeException
InvalidOperationException
ObjectDisposedException
Win32Exception
OutOfMemoryException
NotImplementedException
CultureNotFoundException
InvalidEnumArgumentException
SecurityException
-
SetBytes
public void SetBytes(JCORefOut dupParam0) throws Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, Win32Exception, OutOfMemoryException, NotImplementedException, CultureNotFoundException, InvalidEnumArgumentException, SecurityException
- Throws:
Throwable
ArgumentNullException
ArgumentException
MissingManifestResourceException
ArgumentOutOfRangeException
InvalidOperationException
ObjectDisposedException
Win32Exception
OutOfMemoryException
NotImplementedException
CultureNotFoundException
InvalidEnumArgumentException
SecurityException
-
SetDisplayMode
public void SetDisplayMode(DisplayMode mode) throws Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, NullReferenceException, OutOfMemoryException
- Throws:
Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
Win32Exception
NullReferenceException
OutOfMemoryException
-
SetFile
public void SetFile(String path) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, InvalidOperationException, NullReferenceException, SecurityException, ObjectDisposedException, NotImplementedException, InvalidEnumArgumentException
- Throws:
Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
FormatException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
InvalidOperationException
NullReferenceException
SecurityException
ObjectDisposedException
NotImplementedException
InvalidEnumArgumentException
-
-