public class ToolBarButton extends Component
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.ToolBarButton
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.ToolBarButton
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ToolBarButton()
Initializes a new instance by invoking the .NET constructor.
|
ToolBarButton(java.lang.Object instance)
Internal constructor.
|
ToolBarButton(java.lang.String text)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ToolBarButton |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ToolBarButton, a cast assert is made to check if types are compatible. |
Menu |
getDropDownMenu()
Gets the value of the .NET property DropDownMenu.
|
boolean |
getEnabled()
Gets the value of the .NET property Enabled.
|
int |
getImageIndex()
Gets the value of the .NET property ImageIndex.
|
java.lang.String |
getImageKey()
Gets the value of the .NET property ImageKey.
|
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. |
java.lang.String |
getName()
Gets the value of the .NET property Name.
|
ToolBar |
getParent()
Gets the value of the .NET property Parent.
|
boolean |
getPartialPush()
Gets the value of the .NET property PartialPush.
|
boolean |
getPushed()
Gets the value of the .NET property Pushed.
|
Rectangle |
getRectangle()
Gets the value of the .NET property Rectangle.
|
ToolBarButtonStyle |
getStyle()
Gets the value of the .NET property Style.
|
NetObject |
getTag()
Gets the value of the .NET property Tag.
|
java.lang.String |
getText()
Gets the value of the .NET property Text.
|
java.lang.String |
getToolTipText()
Gets the value of the .NET property ToolTipText.
|
boolean |
getVisible()
Gets the value of the .NET property Visible.
|
void |
setDropDownMenu(Menu DropDownMenu)
Sets the value of the .NET property DropDownMenu.
|
void |
setEnabled(boolean Enabled)
Sets the value of the .NET property Enabled.
|
void |
setImageIndex(int ImageIndex)
Sets the value of the .NET property ImageIndex.
|
void |
setImageKey(java.lang.String ImageKey)
Sets the value of the .NET property ImageKey.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setName(java.lang.String Name)
Sets the value of the .NET property Name.
|
void |
setPartialPush(boolean PartialPush)
Sets the value of the .NET property PartialPush.
|
void |
setPushed(boolean Pushed)
Sets the value of the .NET property Pushed.
|
void |
setStyle(ToolBarButtonStyle Style)
Sets the value of the .NET property Style.
|
void |
setTag(NetObject Tag)
Sets the value of the .NET property Tag.
|
void |
setText(java.lang.String Text)
Sets the value of the .NET property Text.
|
void |
setToolTipText(java.lang.String ToolTipText)
Sets the value of the .NET property ToolTipText.
|
void |
setVisible(boolean Visible)
Sets the value of the .NET property Visible.
|
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ToolBarButton()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException
java.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic ToolBarButton(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 ToolBarButton(java.lang.String text)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException
text - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static ToolBarButton cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ToolBarButton, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedToolBarButton instancejava.lang.Throwable - in case of error during cast operationpublic Menu getDropDownMenu() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getEnabled()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getImageIndex()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getImageKey()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class Componentpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class Componentpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class Componentnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class Componentpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class Componentpublic java.lang.String getName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ToolBar getParent() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getPartialPush()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getPushed()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Rectangle getRectangle() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ToolBarButtonStyle getStyle() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject getTag() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getText()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getToolTipText()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getVisible()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDropDownMenu(Menu DropDownMenu) throws java.lang.Throwable
DropDownMenu - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setEnabled(boolean Enabled)
throws java.lang.Throwable
Enabled - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setImageIndex(int ImageIndex)
throws java.lang.Throwable
ImageIndex - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setImageKey(java.lang.String ImageKey)
throws java.lang.Throwable
ImageKey - 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 Componentinstance - the new underlying objectpublic void setName(java.lang.String Name)
throws java.lang.Throwable
Name - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPartialPush(boolean PartialPush)
throws java.lang.Throwable
PartialPush - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPushed(boolean Pushed)
throws java.lang.Throwable
Pushed - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setStyle(ToolBarButtonStyle Style) throws java.lang.Throwable
Style - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setTag(NetObject Tag) throws java.lang.Throwable
Tag - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setText(java.lang.String Text)
throws java.lang.Throwable
Text - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setToolTipText(java.lang.String ToolTipText)
throws java.lang.Throwable
ToolTipText - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setVisible(boolean Visible)
throws java.lang.Throwable
Visible - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR