Package system.windows.forms
Class ToolBarButton
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.windows.forms.ToolBarButton
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
public class ToolBarButton extends Component
The base .NET class managing System.Windows.Forms.ToolBarButton, 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.ToolBarButton
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.String
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Windows.Formsstatic java.lang.String
className
Qualified class name: System.Windows.Forms.ToolBarButtonstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ToolBarButton()
ToolBarButton(java.lang.Object instance)
Internal constructor.ToolBarButton(java.lang.String text)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ToolBarButton
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoToolBarButton
, a cast assert is made to check if types are compatible.Menu
getDropDownMenu()
boolean
getEnabled()
int
getImageIndex()
java.lang.String
getImageKey()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typejava.lang.String
getName()
ToolBar
getParent()
boolean
getPartialPush()
boolean
getPushed()
Rectangle
getRectangle()
ToolBarButtonStyle
getStyle()
NetObject
getTag()
java.lang.String
getText()
java.lang.String
getToolTipText()
boolean
getVisible()
void
setDropDownMenu(Menu DropDownMenu)
void
setEnabled(boolean Enabled)
void
setImageIndex(int ImageIndex)
void
setImageKey(java.lang.String ImageKey)
void
setJCOInstance(JCObject instance)
void
setName(java.lang.String Name)
void
setPartialPush(boolean PartialPush)
void
setPushed(boolean Pushed)
void
setStyle(ToolBarButtonStyle Style)
void
setTag(NetObject Tag)
void
setText(java.lang.String Text)
void
setToolTipText(java.lang.String ToolTipText)
void
setVisible(boolean Visible)
-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
-
-
-
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.ToolBarButton- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ToolBarButton
public ToolBarButton(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
ToolBarButton
public ToolBarButton() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToolBarButton
public ToolBarButton(java.lang.String text) throws java.lang.Throwable, NullReferenceException, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, OutOfMemoryException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classComponent
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classComponent
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classComponent
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classComponent
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classComponent
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classComponent
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ToolBarButton cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoToolBarButton
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ToolBarButton
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getEnabled
public boolean getEnabled() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setEnabled
public void setEnabled(boolean Enabled) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, Win32Exception, NotSupportedException, SecurityException, NullReferenceException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
Win32Exception
NotSupportedException
SecurityException
NullReferenceException
OutOfMemoryException
-
getPartialPush
public boolean getPartialPush() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, Win32Exception, NotSupportedException, SecurityException, NullReferenceException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
Win32Exception
NotSupportedException
SecurityException
NullReferenceException
OutOfMemoryException
-
setPartialPush
public void setPartialPush(boolean PartialPush) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, NullReferenceException, OutOfMemoryException
-
getPushed
public boolean getPushed() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, Win32Exception, NotSupportedException, SecurityException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
ArgumentOutOfRangeException
FormatException
Win32Exception
NotSupportedException
SecurityException
OutOfMemoryException
-
setPushed
public void setPushed(boolean Pushed) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, NullReferenceException, OutOfMemoryException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
Win32Exception
NotSupportedException
SecurityException
NullReferenceException
OutOfMemoryException
CultureNotFoundException
-
getVisible
public boolean getVisible() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setVisible
public void setVisible(boolean Visible) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, NullReferenceException, OutOfMemoryException
-
getImageIndex
public int getImageIndex() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setImageIndex
public void setImageIndex(int ImageIndex) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, Win32Exception, NullReferenceException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
Win32Exception
NullReferenceException
OutOfMemoryException
-
getRectangle
public Rectangle getRectangle() throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, Win32Exception, NotSupportedException, ConfigurationErrorsException, SecurityException, NullReferenceException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
Win32Exception
NotSupportedException
ConfigurationErrorsException
SecurityException
NullReferenceException
OutOfMemoryException
-
getTag
public NetObject getTag() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTag
public void setTag(NetObject Tag) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getImageKey
public java.lang.String getImageKey() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setImageKey
public void setImageKey(java.lang.String ImageKey) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, NullReferenceException, OutOfMemoryException
-
getName
public java.lang.String getName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setName
public void setName(java.lang.String Name) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getText
public java.lang.String getText() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setText
public void setText(java.lang.String Text) throws java.lang.Throwable, NullReferenceException, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, OutOfMemoryException, CultureNotFoundException
- Throws:
java.lang.Throwable
NullReferenceException
ArgumentNullException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
Win32Exception
NotSupportedException
SecurityException
OutOfMemoryException
CultureNotFoundException
-
getToolTipText
public java.lang.String getToolTipText() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setToolTipText
public void setToolTipText(java.lang.String ToolTipText) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDropDownMenu
public Menu getDropDownMenu() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDropDownMenu
public void setDropDownMenu(Menu DropDownMenu) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
getParent
public ToolBar getParent() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getStyle
public ToolBarButtonStyle getStyle() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setStyle
public void setStyle(ToolBarButtonStyle Style) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, NullReferenceException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
Win32Exception
NullReferenceException
OutOfMemoryException
-
-