public class TaskDialogButton extends TaskDialogControl
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.TaskDialogButton
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=9.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.TaskDialogButton
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TaskDialogButton()
Initializes a new instance by invoking the .NET constructor.
|
TaskDialogButton(java.lang.Object instance)
Internal constructor.
|
TaskDialogButton(java.lang.String text,
boolean enabled,
boolean allowCloseDialog)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addClick(EventHandler handler)
Invokes the .NET member addClick.
|
static TaskDialogButton |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TaskDialogButton, a cast assert is made to check if types are compatible. |
static TaskDialogButton |
getAbort()
Gets the value of the .NET property Abort.
|
boolean |
getAllowCloseDialog()
Gets the value of the .NET property AllowCloseDialog.
|
static TaskDialogButton |
getCancel()
Gets the value of the .NET property Cancel.
|
static TaskDialogButton |
getClose()
Gets the value of the .NET property Close.
|
static TaskDialogButton |
getContinue()
Gets the value of the .NET property Continue.
|
boolean |
getEnabled()
Gets the value of the .NET property Enabled.
|
static TaskDialogButton |
getHelp()
Gets the value of the .NET property Help.
|
static TaskDialogButton |
getIgnore()
Gets the value of the .NET property Ignore.
|
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 TaskDialogButton |
getNo()
Gets the value of the .NET property No.
|
static TaskDialogButton |
getOK()
Gets the value of the .NET property OK.
|
static TaskDialogButton |
getRetry()
Gets the value of the .NET property Retry.
|
boolean |
getShowShieldIcon()
Gets the value of the .NET property ShowShieldIcon.
|
java.lang.String |
getText()
Gets the value of the .NET property Text.
|
static TaskDialogButton |
getTryAgain()
Gets the value of the .NET property TryAgain.
|
boolean |
getVisible()
Gets the value of the .NET property Visible.
|
static TaskDialogButton |
getYes()
Gets the value of the .NET property Yes.
|
void |
PerformClick()
Invokes the .NET member PerformClick.
|
void |
removeClick(EventHandler handler)
Invokes the .NET member removeClick.
|
void |
setAllowCloseDialog(boolean AllowCloseDialog)
Sets the value of the .NET property AllowCloseDialog.
|
void |
setEnabled(boolean Enabled)
Sets the value of the .NET property Enabled.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setShowShieldIcon(boolean ShowShieldIcon)
Sets the value of the .NET property ShowShieldIcon.
|
void |
setText(java.lang.String Text)
Sets the value of the .NET property Text.
|
void |
setVisible(boolean Visible)
Sets the value of the .NET property Visible.
|
getBoundPage, getTag, setBoundPage, setTagpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TaskDialogButton()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic TaskDialogButton(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 TaskDialogButton(java.lang.String text,
boolean enabled,
boolean allowCloseDialog)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
FormatException
text - the argument of type java.lang.Stringenabled - the argument of type booleanallowCloseDialog - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itpublic void addClick(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static TaskDialogButton cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TaskDialogButton, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTaskDialogButton instancejava.lang.Throwable - in case of error during cast operationpublic static TaskDialogButton getAbort() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getAllowCloseDialog()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static TaskDialogButton getCancel() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static TaskDialogButton getClose() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static TaskDialogButton getContinue() 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 static TaskDialogButton getHelp() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static TaskDialogButton getIgnore() 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 TaskDialogControlpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class TaskDialogControlpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class TaskDialogControlnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class TaskDialogControlpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class TaskDialogControlpublic static TaskDialogButton getNo() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static TaskDialogButton getOK() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static TaskDialogButton getRetry() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getShowShieldIcon()
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 static TaskDialogButton getTryAgain() 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 static TaskDialogButton getYes() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void PerformClick()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException,
IndexOutOfRangeException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic void removeClick(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAllowCloseDialog(boolean AllowCloseDialog)
throws java.lang.Throwable
AllowCloseDialog - 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,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
Enabled - the new value of the propertyjava.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 itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class TaskDialogControlinstance - the new underlying objectpublic void setShowShieldIcon(boolean ShowShieldIcon)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
ShowShieldIcon - the new value of the propertyjava.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 itpublic void setText(java.lang.String Text)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
Text - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setVisible(boolean Visible)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException
Visible - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises it