public class ToolStripManager extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.ToolStripManager
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, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.ToolStripManager
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ToolStripManager() |
ToolStripManager(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ToolStripManager |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ToolStripManager, a cast assert is made to check if types are compatible. |
static ToolStrip |
FindToolStrip(java.lang.String toolStripName)
Invokes the .NET member FindToolStrip.
|
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. |
static ToolStripRenderer |
getRenderer()
Gets the value of the .NET property Renderer.
|
static ToolStripManagerRenderMode |
getRenderMode()
Gets the value of the .NET property RenderMode.
|
static boolean |
getVisualStylesEnabled()
Gets the value of the .NET property VisualStylesEnabled.
|
static boolean |
IsShortcutDefined(Keys shortcut)
Invokes the .NET member IsShortcutDefined.
|
static boolean |
IsValidShortcut(Keys shortcut)
Invokes the .NET member IsValidShortcut.
|
static void |
LoadSettings(Form targetForm)
Invokes the .NET member LoadSettings.
|
static void |
LoadSettings(Form targetForm,
java.lang.String key)
Invokes the .NET member LoadSettings.
|
static boolean |
Merge(ToolStrip sourceToolStrip,
java.lang.String targetName)
Invokes the .NET member Merge.
|
static boolean |
Merge(ToolStrip sourceToolStrip,
ToolStrip targetToolStrip)
Invokes the .NET member Merge.
|
static boolean |
RevertMerge(java.lang.String targetName)
Invokes the .NET member RevertMerge.
|
static boolean |
RevertMerge(ToolStrip targetToolStrip)
Invokes the .NET member RevertMerge.
|
static boolean |
RevertMerge(ToolStrip targetToolStrip,
ToolStrip sourceToolStrip)
Invokes the .NET member RevertMerge.
|
static void |
SaveSettings(Form sourceForm)
Invokes the .NET member SaveSettings.
|
static void |
SaveSettings(Form sourceForm,
java.lang.String key)
Invokes the .NET member SaveSettings.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
static void |
setRenderer(ToolStripRenderer Renderer)
Sets the value of the .NET property Renderer.
|
static void |
setRenderMode(ToolStripManagerRenderMode RenderMode)
Sets the value of the .NET property RenderMode.
|
static void |
setVisualStylesEnabled(boolean VisualStylesEnabled)
Sets the value of the .NET property VisualStylesEnabled.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ToolStripManager()
throws java.lang.Throwable
java.lang.Throwablepublic ToolStripManager(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 static ToolStripManager cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ToolStripManager, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedToolStripManager instancejava.lang.Throwable - in case of error during cast operationpublic static ToolStrip FindToolStrip(java.lang.String toolStripName) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, OutOfMemoryException, InvalidCastException, CultureNotFoundException
toolStripName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidCastException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic static ToolStripRenderer getRenderer() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static ToolStripManagerRenderMode getRenderMode() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static boolean getVisualStylesEnabled()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentNullException,
InvalidOperationException,
ArgumentOutOfRangeException,
OutOfMemoryException,
KeyNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static boolean IsShortcutDefined(Keys shortcut) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, InvalidOperationException
shortcut - the argument of type Keysjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static boolean IsValidShortcut(Keys shortcut) throws java.lang.Throwable
shortcut - the argument of type Keysjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static void LoadSettings(Form targetForm) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, InvalidCastException, SettingsPropertyNotFoundException, Win32Exception, NullReferenceException, InvalidEnumArgumentException, FormatException
targetForm - the argument of type Formjava.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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidCastException - if the .NET member raises itSettingsPropertyNotFoundException - if the .NET member raises itWin32Exception - if the .NET member raises itNullReferenceException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itFormatException - if the .NET member raises itpublic static void LoadSettings(Form targetForm, java.lang.String key) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, InvalidCastException, CultureNotFoundException, SettingsPropertyNotFoundException, FormatException, Win32Exception, NullReferenceException, NotImplementedException, InvalidEnumArgumentException
targetForm - the argument of type Formkey - the argument of type java.lang.Stringjava.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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidCastException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSettingsPropertyNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itNullReferenceException - if the .NET member raises itNotImplementedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic static boolean Merge(ToolStrip sourceToolStrip, java.lang.String targetName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, InvalidCastException, CultureNotFoundException, NullReferenceException, IndexOutOfRangeException, ExternalException, ThreadStateException, Win32Exception
sourceToolStrip - the argument of type ToolStriptargetName - the argument of type java.lang.Stringjava.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 itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidCastException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itExternalException - if the .NET member raises itThreadStateException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic static boolean Merge(ToolStrip sourceToolStrip, ToolStrip targetToolStrip) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, InvalidCastException, CultureNotFoundException, IndexOutOfRangeException, ThreadStateException
sourceToolStrip - the argument of type ToolStriptargetToolStrip - the argument of type ToolStripjava.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 itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidCastException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itThreadStateException - if the .NET member raises itpublic static boolean RevertMerge(java.lang.String targetName)
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
NotSupportedException,
OutOfMemoryException,
InvalidCastException,
CultureNotFoundException,
NullReferenceException,
IndexOutOfRangeException,
ExternalException,
ObjectDisposedException,
ThreadStateException,
Win32Exception
targetName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidCastException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itExternalException - if the .NET member raises itObjectDisposedException - if the .NET member raises itThreadStateException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic static boolean RevertMerge(ToolStrip targetToolStrip) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, InvalidCastException, SynchronizationLockException, IndexOutOfRangeException, ThreadStateException, Win32Exception, CultureNotFoundException
targetToolStrip - the argument of type ToolStripjava.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 itPlatformNotSupportedException - if the .NET member raises itInvalidCastException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itThreadStateException - if the .NET member raises itWin32Exception - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static boolean RevertMerge(ToolStrip targetToolStrip, ToolStrip sourceToolStrip) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, InvalidCastException, SynchronizationLockException, IndexOutOfRangeException, ThreadStateException, Win32Exception, CultureNotFoundException
targetToolStrip - the argument of type ToolStripsourceToolStrip - the argument of type ToolStripjava.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 itPlatformNotSupportedException - if the .NET member raises itInvalidCastException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itThreadStateException - if the .NET member raises itWin32Exception - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static void SaveSettings(Form sourceForm) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, InvalidCastException, InvalidEnumArgumentException, FormatException, SettingsPropertyNotFoundException, SettingsPropertyIsReadOnlyException, SettingsPropertyWrongTypeException
sourceForm - the argument of type Formjava.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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidCastException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itFormatException - if the .NET member raises itSettingsPropertyNotFoundException - if the .NET member raises itSettingsPropertyIsReadOnlyException - if the .NET member raises itSettingsPropertyWrongTypeException - if the .NET member raises itpublic static void SaveSettings(Form sourceForm, java.lang.String key) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, InvalidCastException, CultureNotFoundException, InvalidEnumArgumentException, FormatException, SettingsPropertyNotFoundException, SettingsPropertyIsReadOnlyException, SettingsPropertyWrongTypeException
sourceForm - the argument of type Formkey - the argument of type java.lang.Stringjava.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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidCastException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itFormatException - if the .NET member raises itSettingsPropertyNotFoundException - if the .NET member raises itSettingsPropertyIsReadOnlyException - if the .NET member raises itSettingsPropertyWrongTypeException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic static void setRenderer(ToolStripRenderer Renderer) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, LockRecursionException, NullReferenceException, OutOfMemoryException, ObjectDisposedException, DuplicateWaitObjectException, UnauthorizedAccessException, InvalidOperationException, ApplicationException, OverflowException, AbandonedMutexException, SynchronizationLockException
Renderer - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itLockRecursionException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itObjectDisposedException - if the .NET member raises itDuplicateWaitObjectException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itInvalidOperationException - if the .NET member raises itApplicationException - if the .NET member raises itOverflowException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itpublic static void setRenderMode(ToolStripManagerRenderMode RenderMode) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, LockRecursionException, NullReferenceException, NotSupportedException, OutOfMemoryException, ObjectDisposedException, DuplicateWaitObjectException, AbandonedMutexException, SynchronizationLockException
RenderMode - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itLockRecursionException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itObjectDisposedException - if the .NET member raises itDuplicateWaitObjectException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itpublic static void setVisualStylesEnabled(boolean VisualStylesEnabled)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
OutOfMemoryException,
KeyNotFoundException,
InvalidOperationException,
LockRecursionException,
NullReferenceException,
NotSupportedException,
ObjectDisposedException,
DuplicateWaitObjectException,
UnauthorizedAccessException,
ApplicationException,
OverflowException,
AbandonedMutexException,
SynchronizationLockException
VisualStylesEnabled - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itLockRecursionException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itDuplicateWaitObjectException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itApplicationException - if the .NET member raises itOverflowException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itSynchronizationLockException - if the .NET member raises it