public class ControlDesigner extends ComponentDesigner
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.Design.ControlDesigner
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Windows.Forms.Design, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms.Design
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.Design.ControlDesigner
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ControlDesigner()
Initializes a new instance by invoking the .NET constructor.
|
ControlDesigner(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CanBeParentedTo(IDesigner parentDesigner)
Invokes the .NET member CanBeParentedTo.
|
static ControlDesigner |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ControlDesigner, a cast assert is made to check if types are compatible. |
AccessibleObject |
getAccessibilityObject()
Gets the value of the .NET property AccessibilityObject.
|
boolean |
getAutoResizeHandles()
Gets the value of the .NET property AutoResizeHandles.
|
Control |
getControl()
Gets the value of the .NET property Control.
|
GlyphCollection |
GetGlyphs(GlyphSelectionType selectionType)
Invokes the .NET member GetGlyphs.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
boolean |
getParticipatesWithSnapLines()
Gets the value of the .NET property ParticipatesWithSnapLines.
|
SelectionRules |
getSelectionRules()
Gets the value of the .NET property SelectionRules.
|
IList |
getSnapLines()
Gets the value of the .NET property SnapLines.
|
void |
Initialize(IComponent component)
Invokes the .NET member Initialize.
|
void |
InitializeExistingComponent(IDictionary defaultValues)
Invokes the .NET member InitializeExistingComponent.
|
void |
InitializeNewComponent(IDictionary defaultValues)
Invokes the .NET member InitializeNewComponent.
|
ControlDesigner |
InternalControlDesigner(int internalControlIndex)
Invokes the .NET member InternalControlDesigner.
|
int |
NumberOfInternalControlDesigners()
Invokes the .NET member NumberOfInternalControlDesigners.
|
void |
OnSetComponentDefaults()
Invokes the .NET member OnSetComponentDefaults.
|
void |
setAutoResizeHandles(boolean AutoResizeHandles)
Sets the value of the .NET property AutoResizeHandles.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
close, Dispose, DoDefaultAction, getActionLists, getAssociatedComponents, getComponent, getVerbs, InitializeNonDefaultpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ControlDesigner()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic ControlDesigner(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic boolean CanBeParentedTo(IDesigner parentDesigner) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
parentDesigner - the argument of type IDesignerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static ControlDesigner cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ControlDesigner, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedControlDesigner instancejava.lang.Throwable - in case of error during cast operationpublic AccessibleObject getAccessibilityObject() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic boolean getAutoResizeHandles()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Control getControl() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic GlyphCollection GetGlyphs(GlyphSelectionType selectionType) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, Win32Exception, ExternalException, MulticastNotSupportedException, InvalidEnumArgumentException
selectionType - the argument of type GlyphSelectionTypejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWin32Exception - if the .NET member raises itExternalException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ComponentDesignerpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ComponentDesignerpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ComponentDesignernull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ComponentDesignerpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ComponentDesignerpublic boolean getParticipatesWithSnapLines()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic SelectionRules getSelectionRules() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, FormatException, CultureNotFoundException, ExternalException, Win32Exception
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itExternalException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic IList getSnapLines() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic void Initialize(IComponent component) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, TypeLoadException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException, IndexOutOfRangeException, RankException, MulticastNotSupportedException, ObjectDisposedException, Win32Exception
Initialize in class ComponentDesignercomponent - the argument of type IComponentjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itTypeLoadException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic void InitializeExistingComponent(IDictionary defaultValues) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, NotImplementedException, RankException, IndexOutOfRangeException, NotSupportedException, ArrayTypeMismatchException, InvalidCastException
InitializeExistingComponent in class ComponentDesignerdefaultValues - the argument of type IDictionaryjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic void InitializeNewComponent(IDictionary defaultValues) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, FormatException, CultureNotFoundException, ExternalException, Win32Exception, InvalidEnumArgumentException
InitializeNewComponent in class ComponentDesignerdefaultValues - the argument of type IDictionaryjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itExternalException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic ControlDesigner InternalControlDesigner(int internalControlIndex) throws java.lang.Throwable
internalControlIndex - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int NumberOfInternalControlDesigners()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void OnSetComponentDefaults()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
CultureNotFoundException,
ExternalException
OnSetComponentDefaults in class ComponentDesignerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itExternalException - if the .NET member raises itpublic void setAutoResizeHandles(boolean AutoResizeHandles)
throws java.lang.Throwable
AutoResizeHandles - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ComponentDesignerinstance - the new underlying object