Package system.windows.forms
Class ContainerControl
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.windows.forms.Control
-
- system.windows.forms.ScrollableControl
-
- system.windows.forms.ContainerControl
-
- All Implemented Interfaces:
AutoCloseable
,IJCOBridgeReflected
,IDropTarget
- Direct Known Subclasses:
Form
,PropertyGrid
,SplitContainer
,ToolStripContainer
,ToolStripPanel
,UpDownBase
,UserControl
public class ContainerControl extends ScrollableControl
The base .NET class managing System.Windows.Forms.ContainerControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.ContainerControl
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.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static String
assemblyShortName
Assembly name: System.Windows.Formsstatic String
className
Qualified class name: System.Windows.Forms.ContainerControlstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ContainerControl()
ContainerControl(Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
ActivateControl(Control active)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.void
addAutoValidateChanged(EventHandler handler)
static ContainerControl
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoContainerControl
, a cast assert is made to check if types are compatible.Control
getActiveControl()
SizeF
getAutoScaleDimensions()
AutoScaleMode
getAutoScaleMode()
AutoValidate
getAutoValidate()
SizeF
getCurrentAutoScaleDimensions()
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 TypeForm
getParentForm()
void
PerformAutoScale()
void
removeAutoValidateChanged(EventHandler handler)
void
setActiveControl(Control ActiveControl)
void
setAutoScaleDimensions(SizeF AutoScaleDimensions)
void
setAutoScaleMode(AutoScaleMode AutoScaleMode)
void
setAutoValidate(AutoValidate AutoValidate)
void
setJCOInstance(JCObject instance)
boolean
Validate()
boolean
Validate(boolean checkAutoValidate)
boolean
ValidateChildren()
boolean
ValidateChildren(ValidationConstraints validationConstraints)
-
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
addAutoSizeChanged, 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, 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, addTextChanged, 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, getTabStop, 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, removeAutoSizeChanged, 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, 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, removeTextChanged, 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, setTabStop, 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.Windows.Forms, Version=4.0.0.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.ContainerControl- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ContainerControl
public ContainerControl(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
ContainerControl
public ContainerControl() throws Throwable, ArgumentNullException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, MissingManifestResourceException, Win32Exception, ObjectDisposedException, OutOfMemoryException, SecurityException
-
-
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 classScrollableControl
- 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 classScrollableControl
- 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 classScrollableControl
- 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 classScrollableControl
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classScrollableControl
-
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 classScrollableControl
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ContainerControl cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoContainerControl
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ContainerControl
instance- Throws:
Throwable
- in case of error during cast operation
-
Validate
public boolean Validate() throws Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, FormatException, SecurityException, IOException, ConfigurationException, NotImplementedException, FileNotFoundException, InvalidEnumArgumentException, Win32Exception
- Throws:
Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
FormatException
SecurityException
IOException
ConfigurationException
NotImplementedException
FileNotFoundException
InvalidEnumArgumentException
Win32Exception
-
Validate
public boolean Validate(boolean checkAutoValidate) throws Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, SecurityException, UnauthorizedAccessException, IOException, ConfigurationException, FileNotFoundException, NotSupportedException, NullReferenceException, InvalidEnumArgumentException, Win32Exception
- Throws:
Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
SecurityException
UnauthorizedAccessException
IOException
ConfigurationException
FileNotFoundException
NotSupportedException
NullReferenceException
InvalidEnumArgumentException
Win32Exception
-
ValidateChildren
public boolean ValidateChildren() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, SecurityException, UnauthorizedAccessException, IOException, ConfigurationException, FileNotFoundException, NotSupportedException, NullReferenceException, Win32Exception
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
InvalidEnumArgumentException
SecurityException
UnauthorizedAccessException
IOException
ConfigurationException
FileNotFoundException
NotSupportedException
NullReferenceException
Win32Exception
-
ValidateChildren
public boolean ValidateChildren(ValidationConstraints validationConstraints) throws Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, SecurityException, UnauthorizedAccessException, IOException, ConfigurationException, Win32Exception, FileNotFoundException, AccessViolationException, NullReferenceException
- Throws:
Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
SecurityException
UnauthorizedAccessException
IOException
ConfigurationException
Win32Exception
FileNotFoundException
AccessViolationException
NullReferenceException
-
PerformAutoScale
public void PerformAutoScale() throws Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, Win32Exception, SecurityException, ConfigurationErrorsException, NotSupportedException, OutOfMemoryException
- Throws:
Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
Win32Exception
SecurityException
ConfigurationErrorsException
NotSupportedException
OutOfMemoryException
-
ActivateControl
@Deprecated public boolean ActivateControl(Control active) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIContainerControl method available in IContainerControl to obtain an object with an invocable method- Throws:
Throwable
-
setAutoScaleDimensions
public void setAutoScaleDimensions(SizeF AutoScaleDimensions) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
getCurrentAutoScaleDimensions
public SizeF getCurrentAutoScaleDimensions() throws Throwable, ArgumentException, ObjectDisposedException, AbandonedMutexException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, SecurityException, MissingManifestResourceException, InvalidOperationException, ConfigurationErrorsException, CultureNotFoundException, NotSupportedException, MulticastNotSupportedException
- Throws:
Throwable
ArgumentException
ObjectDisposedException
AbandonedMutexException
ArgumentNullException
ArgumentOutOfRangeException
IndexOutOfRangeException
Win32Exception
SecurityException
MissingManifestResourceException
InvalidOperationException
ConfigurationErrorsException
CultureNotFoundException
NotSupportedException
MulticastNotSupportedException
-
getAutoScaleMode
public AutoScaleMode getAutoScaleMode() throws Throwable
- Throws:
Throwable
-
setAutoScaleMode
public void setAutoScaleMode(AutoScaleMode AutoScaleMode) throws Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
- Throws:
Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
-
getAutoValidate
public AutoValidate getAutoValidate() throws Throwable
- Throws:
Throwable
-
setAutoValidate
public void setAutoValidate(AutoValidate AutoValidate) throws Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
- Throws:
Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
-
setActiveControl
public void setActiveControl(Control ActiveControl) throws Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, NullReferenceException, OutOfMemoryException
- Throws:
Throwable
ArgumentException
ArgumentNullException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
Win32Exception
NotSupportedException
SecurityException
NullReferenceException
OutOfMemoryException
-
getParentForm
public Form getParentForm() throws Throwable, ArgumentNullException, FormatException, ArgumentException
-
addAutoValidateChanged
public void addAutoValidateChanged(EventHandler handler) throws Throwable
- Throws:
Throwable
-
removeAutoValidateChanged
public void removeAutoValidateChanged(EventHandler handler) throws Throwable
- Throws:
Throwable
-
-