Package system.windows.forms
Class ToolStripManager
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.forms.ToolStripManager
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class ToolStripManager extends NetObject
The base .NET class managing System.Windows.Forms.ToolStripManager, 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.ToolStripManager
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Windows.Formsstatic java.lang.StringclassNameQualified class name: System.Windows.Forms.ToolStripManagerstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ToolStripManager()ToolStripManager(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ToolStripManagercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoToolStripManager, a cast assert is made to check if types are compatible.static ToolStripFindToolStrip(java.lang.String toolStripName)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typestatic ToolStripRenderergetRenderer()static ToolStripManagerRenderModegetRenderMode()static booleangetVisualStylesEnabled()static booleanIsShortcutDefined(Keys shortcut)static booleanIsValidShortcut(Keys shortcut)static voidLoadSettings(Form targetForm)static voidLoadSettings(Form targetForm, java.lang.String key)static booleanMerge(ToolStrip sourceToolStrip, java.lang.String targetName)static booleanMerge(ToolStrip sourceToolStrip, ToolStrip targetToolStrip)static booleanRevertMerge(java.lang.String targetName)static booleanRevertMerge(ToolStrip targetToolStrip)static booleanRevertMerge(ToolStrip targetToolStrip, ToolStrip sourceToolStrip)static voidSaveSettings(Form sourceForm)static voidSaveSettings(Form sourceForm, java.lang.String key)voidsetJCOInstance(JCObject instance)static voidsetRenderer(ToolStripRenderer Renderer)static voidsetRenderMode(ToolStripManagerRenderMode RenderMode)static voidsetVisualStylesEnabled(boolean VisualStylesEnabled)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.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 java.lang.String assemblyShortName
Assembly name: System.Windows.Forms- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Forms.ToolStripManager- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ToolStripManager cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoToolStripManager, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ToolStripManagerinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
IsShortcutDefined
public static boolean IsShortcutDefined(Keys shortcut) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatException
-
IsValidShortcut
public static boolean IsValidShortcut(Keys shortcut) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Merge
public static boolean Merge(ToolStrip sourceToolStrip, java.lang.String targetName) throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, CultureNotFoundException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, MulticastNotSupportedException, RankException, NotSupportedException, ThreadStateException, Win32Exception, InvalidEnumArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionCultureNotFoundExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionMulticastNotSupportedExceptionRankExceptionNotSupportedExceptionThreadStateExceptionWin32ExceptionInvalidEnumArgumentException
-
Merge
public static boolean Merge(ToolStrip sourceToolStrip, ToolStrip targetToolStrip) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, InvalidEnumArgumentException, MulticastNotSupportedException, RankException, ThreadStateException, Win32Exception
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidEnumArgumentExceptionMulticastNotSupportedExceptionRankExceptionThreadStateExceptionWin32Exception
-
RevertMerge
public static boolean RevertMerge(java.lang.String targetName) throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, CultureNotFoundException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, NotSupportedException, RankException, MulticastNotSupportedException, ThreadStateException, Win32Exception, InvalidEnumArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionCultureNotFoundExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionNotSupportedExceptionRankExceptionMulticastNotSupportedExceptionThreadStateExceptionWin32ExceptionInvalidEnumArgumentException
-
RevertMerge
public static boolean RevertMerge(ToolStrip targetToolStrip) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, RankException, MulticastNotSupportedException, ThreadStateException, Win32Exception, OutOfMemoryException, InvalidEnumArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionRankExceptionMulticastNotSupportedExceptionThreadStateExceptionWin32ExceptionOutOfMemoryExceptionInvalidEnumArgumentException
-
RevertMerge
public static boolean RevertMerge(ToolStrip targetToolStrip, ToolStrip sourceToolStrip) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, RankException, MulticastNotSupportedException, ThreadStateException, Win32Exception, OutOfMemoryException, InvalidEnumArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionRankExceptionMulticastNotSupportedExceptionThreadStateExceptionWin32ExceptionOutOfMemoryExceptionInvalidEnumArgumentException
-
FindToolStrip
public static ToolStrip FindToolStrip(java.lang.String toolStripName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, NotSupportedException, CultureNotFoundException, InvalidOperationException
-
LoadSettings
public static void LoadSettings(Form targetForm) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, SettingsPropertyNotFoundException, NotSupportedException, Win32Exception, OutOfMemoryException, KeyNotFoundException, InvalidEnumArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionSettingsPropertyNotFoundExceptionNotSupportedExceptionWin32ExceptionOutOfMemoryExceptionKeyNotFoundExceptionInvalidEnumArgumentException
-
LoadSettings
public static void LoadSettings(Form targetForm, java.lang.String key) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, CultureNotFoundException, SettingsPropertyNotFoundException, NotSupportedException, NullReferenceException, OutOfMemoryException, SecurityException, RegexMatchTimeoutException, KeyNotFoundException, RankException, InvalidEnumArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionSettingsPropertyNotFoundExceptionNotSupportedExceptionNullReferenceExceptionOutOfMemoryExceptionSecurityExceptionRegexMatchTimeoutExceptionKeyNotFoundExceptionRankExceptionInvalidEnumArgumentException
-
SaveSettings
public static void SaveSettings(Form sourceForm) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, SettingsPropertyNotFoundException, SettingsPropertyIsReadOnlyException, SettingsPropertyWrongTypeException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionSettingsPropertyNotFoundExceptionSettingsPropertyIsReadOnlyExceptionSettingsPropertyWrongTypeExceptionNotSupportedException
-
SaveSettings
public static void SaveSettings(Form sourceForm, java.lang.String key) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, SettingsPropertyNotFoundException, SettingsPropertyIsReadOnlyException, SettingsPropertyWrongTypeException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionSettingsPropertyNotFoundExceptionSettingsPropertyIsReadOnlyExceptionSettingsPropertyWrongTypeExceptionNotSupportedException
-
getVisualStylesEnabled
public static boolean getVisualStylesEnabled() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, ObjectDisposedException, AbandonedMutexException, MissingManifestResourceException, InvalidOperationException
-
setVisualStylesEnabled
public static void setVisualStylesEnabled(boolean VisualStylesEnabled) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, ObjectDisposedException, AbandonedMutexException, MissingManifestResourceException, InvalidOperationException
-
getRenderMode
public static ToolStripManagerRenderMode getRenderMode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setRenderMode
public static void setRenderMode(ToolStripManagerRenderMode RenderMode) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, ConfigurationErrorsException
- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionConfigurationErrorsException
-
getRenderer
public static ToolStripRenderer getRenderer() throws java.lang.Throwable, ArgumentNullException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
-
setRenderer
public static void setRenderer(ToolStripRenderer Renderer) throws java.lang.Throwable, ArgumentException
- Throws:
java.lang.ThrowableArgumentException
-
-