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=8.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, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException, ArgumentNullException, CultureNotFoundException, InvalidOperationException, OutOfMemoryException, ExternalException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, NotSupportedException
toolStripName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - 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 itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - 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,
InvalidOperationException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
OutOfMemoryException,
KeyNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - 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 itpublic static boolean IsShortcutDefined(Keys shortcut) throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, ArgumentNullException
shortcut - the argument of type Keysjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - 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, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException, SettingsPropertyNotFoundException, SerializationException, Win32Exception, InvalidEnumArgumentException
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 itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSettingsPropertyNotFoundException - if the .NET member raises itSerializationException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - 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, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, IndexOutOfRangeException, FormatException, OutOfMemoryException, SettingsPropertyNotFoundException, SerializationException, TypeLoadException, Win32Exception, 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 itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSettingsPropertyNotFoundException - if the .NET member raises itSerializationException - if the .NET member raises itTypeLoadException - if the .NET member raises itWin32Exception - 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, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, MulticastNotSupportedException, 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 itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itMulticastNotSupportedException - 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, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, MulticastNotSupportedException, 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 itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMulticastNotSupportedException - 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,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
ArgumentException,
CultureNotFoundException,
IndexOutOfRangeException,
OutOfMemoryException,
ExternalException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
MulticastNotSupportedException,
ThreadStateException,
Win32Exception
targetName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itMulticastNotSupportedException - 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, MulticastNotSupportedException, ThreadStateException, Win32Exception, CultureNotFoundException, IndexOutOfRangeException
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 itMulticastNotSupportedException - if the .NET member raises itThreadStateException - if the .NET member raises itWin32Exception - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static boolean RevertMerge(ToolStrip targetToolStrip, ToolStrip sourceToolStrip) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MulticastNotSupportedException, ThreadStateException, Win32Exception, CultureNotFoundException, IndexOutOfRangeException
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 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 itMulticastNotSupportedException - if the .NET member raises itThreadStateException - if the .NET member raises itWin32Exception - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static void SaveSettings(Form sourceForm) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException, InvalidEnumArgumentException, 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 itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidEnumArgumentException - 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, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, IndexOutOfRangeException, FormatException, OutOfMemoryException, InvalidEnumArgumentException, 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 itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidEnumArgumentException - 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, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
Renderer - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - 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 void setRenderMode(ToolStripManagerRenderMode RenderMode) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, NotSupportedException
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 itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic static void setVisualStylesEnabled(boolean VisualStylesEnabled)
throws java.lang.Throwable,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
KeyNotFoundException
VisualStylesEnabled - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itKeyNotFoundException - if the .NET member raises it