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.StringassemblyFullNameFully assembly qualified name: System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Windows.Formsstatic java.lang.StringclassNameQualified class name: System.Windows.Forms.TaskDialogButtonstatic JCTypeclassTypeThe 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 voidaddClick(EventHandler handler)static TaskDialogButtoncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoTaskDialogButton, a cast assert is made to check if types are compatible.static TaskDialogButtongetAbort()booleangetAllowCloseDialog()static TaskDialogButtongetCancel()static TaskDialogButtongetClose()static TaskDialogButtongetContinue()booleangetEnabled()static TaskDialogButtongetHelp()static TaskDialogButtongetIgnore()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 TaskDialogButtongetNo()static TaskDialogButtongetOK()static TaskDialogButtongetRetry()booleangetShowShieldIcon()java.lang.StringgetText()static TaskDialogButtongetTryAgain()booleangetVisible()static TaskDialogButtongetYes()voidPerformClick()voidremoveClick(EventHandler handler)voidsetAllowCloseDialog(boolean AllowCloseDialog)voidsetEnabled(boolean Enabled)voidsetJCOInstance(JCObject instance)voidsetShowShieldIcon(boolean ShowShieldIcon)voidsetText(java.lang.String Text)voidsetVisible(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.ThrowableInternal 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:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classTaskDialogControl- 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 classTaskDialogControl- 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 classTaskDialogControl- 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 classTaskDialogControl- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classTaskDialogControl
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classTaskDialogControl- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static TaskDialogButton cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoTaskDialogButton, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
TaskDialogButtoninstance- 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
-
-