Package system.windows.forms.design
Class ComponentEditorPage
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.windows.forms.Control
-
- system.windows.forms.ScrollableControl
-
- system.windows.forms.Panel
-
- system.windows.forms.design.ComponentEditorPage
-
- All Implemented Interfaces:
AutoCloseable
,IJCOBridgeReflected
,IDropTarget
public class ComponentEditorPage extends Panel
The base .NET class managing System.Windows.Forms.Design.ComponentEditorPage, System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.See: https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.Design.ComponentEditorPage
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static String
assemblyShortName
Assembly name: System.Windows.Formsstatic String
className
Qualified class name: System.Windows.Forms.Design.ComponentEditorPagestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ComponentEditorPage()
ComponentEditorPage(Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
Activate()
void
addAutoSizeChanged(EventHandler handler)
void
ApplyChanges()
static ComponentEditorPage
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoComponentEditorPage
, a cast assert is made to check if types are compatible.void
Deactivate()
boolean
getCommitOnDeactivate()
Control
GetControl()
Icon
getIcon()
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 TypeString
getTitle()
boolean
IsPageMessage(JCORefOut<Message> msg)
void
OnApplyComplete()
void
removeAutoSizeChanged(EventHandler handler)
void
setCommitOnDeactivate(boolean CommitOnDeactivate)
void
SetComponent(IComponent component)
void
setIcon(Icon Icon)
void
setJCOInstance(JCObject instance)
void
SetSite(IComponentEditorPageSite site)
void
ShowHelp()
boolean
SupportsHelp()
-
Methods inherited from class system.windows.forms.Panel
addKeyDown, addKeyPress, addKeyUp, addTextChanged, getAutoSizeMode, getBorderStyle, getTabStop, removeKeyDown, removeKeyPress, removeKeyUp, removeTextChanged, setAutoSizeMode, setBorderStyle, 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, 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, BeginInvoke, 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, getContextMenuStrip, getCreated, getCursor, getDataBindings, 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, 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, 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, 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
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.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Windows.Forms- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Windows.Forms.Design.ComponentEditorPage- See Also:
- Constant Field Values
-
-
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 interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classPanel
- 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classPanel
- 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classPanel
- 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classPanel
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classPanel
-
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 classPanel
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ComponentEditorPage cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoComponentEditorPage
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ComponentEditorPage
instance- Throws:
Throwable
- in case of error during cast operation
-
IsPageMessage
public boolean IsPageMessage(JCORefOut<Message> msg) throws Throwable, ArgumentException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, Win32Exception, NotSupportedException, OutOfMemoryException
-
Activate
public void Activate() throws Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, ObjectDisposedException, Win32Exception, NotSupportedException, OutOfMemoryException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException
- Throws:
Throwable
ArgumentException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
FormatException
ObjectDisposedException
Win32Exception
NotSupportedException
OutOfMemoryException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
-
Deactivate
public void Deactivate() throws Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, ObjectDisposedException, Win32Exception, NotSupportedException, OutOfMemoryException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException
- Throws:
Throwable
ArgumentException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
FormatException
ObjectDisposedException
Win32Exception
NotSupportedException
OutOfMemoryException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
-
SetComponent
public void SetComponent(IComponent component) throws Throwable
- Throws:
Throwable
-
SetSite
public void SetSite(IComponentEditorPageSite site) throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, FormatException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, Win32Exception, OutOfMemoryException, PlatformNotSupportedException, RankException, ArrayTypeMismatchException
-
setCommitOnDeactivate
public void setCommitOnDeactivate(boolean CommitOnDeactivate) throws Throwable
- Throws:
Throwable
-
getIcon
public Icon getIcon() throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException, OverflowException, Win32Exception
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
FormatException
OverflowException
Win32Exception
-
getTitle
public String getTitle() throws Throwable, ArgumentException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, Win32Exception, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException
-
addAutoSizeChanged
public void addAutoSizeChanged(EventHandler handler) throws Throwable
- Overrides:
addAutoSizeChanged
in classPanel
- Throws:
Throwable
-
removeAutoSizeChanged
public void removeAutoSizeChanged(EventHandler handler) throws Throwable
- Overrides:
removeAutoSizeChanged
in classPanel
- Throws:
Throwable
-
-