Package system.windows.forms
Class TaskDialogButton
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.forms.TaskDialogControl
-
- system.windows.forms.TaskDialogButton
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
TaskDialogCommandLinkButton
public class TaskDialogButton extends TaskDialogControl
The base .NET class managing System.Windows.Forms.TaskDialogButton, System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.TaskDialogButton
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=8.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.TaskDialogButtonstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description TaskDialogButton()
TaskDialogButton(java.lang.Object instance)
Internal constructor.TaskDialogButton(java.lang.String text, boolean enabled, boolean allowCloseDialog)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addClick(EventHandler handler)
static TaskDialogButton
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoTaskDialogButton
, a cast assert is made to check if types are compatible.static TaskDialogButton
getAbort()
boolean
getAllowCloseDialog()
static TaskDialogButton
getCancel()
static TaskDialogButton
getClose()
static TaskDialogButton
getContinue()
boolean
getEnabled()
static TaskDialogButton
getHelp()
static TaskDialogButton
getIgnore()
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 Typestatic TaskDialogButton
getNo()
static TaskDialogButton
getOK()
static TaskDialogButton
getRetry()
boolean
getShowShieldIcon()
java.lang.String
getText()
static TaskDialogButton
getTryAgain()
boolean
getVisible()
static TaskDialogButton
getYes()
void
PerformClick()
void
removeClick(EventHandler handler)
void
setAllowCloseDialog(boolean AllowCloseDialog)
void
setEnabled(boolean Enabled)
void
setJCOInstance(JCObject instance)
void
setShowShieldIcon(boolean ShowShieldIcon)
void
setText(java.lang.String Text)
void
setVisible(boolean Visible)
-
Methods inherited from class system.windows.forms.TaskDialogControl
getBoundPage, getTag, setBoundPage, setTag
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=8.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.TaskDialogButton- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TaskDialogButton
public TaskDialogButton(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
TaskDialogButton
public TaskDialogButton() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
TaskDialogButton
public TaskDialogButton(java.lang.String text, boolean enabled, boolean allowCloseDialog) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException
-
-
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 classTaskDialogControl
- 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 classTaskDialogControl
- 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 classTaskDialogControl
- 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 classTaskDialogControl
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classTaskDialogControl
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classTaskDialogControl
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static TaskDialogButton cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoTaskDialogButton
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
TaskDialogButton
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
PerformClick
public void PerformClick() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, FormatException
-
getAllowCloseDialog
public boolean getAllowCloseDialog() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAllowCloseDialog
public void setAllowCloseDialog(boolean AllowCloseDialog) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getEnabled
public boolean getEnabled() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setEnabled
public void setEnabled(boolean Enabled) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
getShowShieldIcon
public boolean getShowShieldIcon() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setShowShieldIcon
public void setShowShieldIcon(boolean ShowShieldIcon) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
getVisible
public boolean getVisible() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setVisible
public void setVisible(boolean Visible) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
-
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, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
getAbort
public static TaskDialogButton getAbort() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCancel
public static TaskDialogButton getCancel() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getClose
public static TaskDialogButton getClose() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getContinue
public static TaskDialogButton getContinue() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getHelp
public static TaskDialogButton getHelp() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIgnore
public static TaskDialogButton getIgnore() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getNo
public static TaskDialogButton getNo() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getOK
public static TaskDialogButton getOK() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getRetry
public static TaskDialogButton getRetry() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTryAgain
public static TaskDialogButton getTryAgain() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getYes
public static TaskDialogButton getYes() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addClick
public void addClick(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeClick
public void removeClick(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-