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=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.See: https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.TaskDialogButton
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static String
assemblyShortName
Assembly name: System.Windows.Formsstatic String
className
Qualified class name: System.Windows.Forms.TaskDialogButtonstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description TaskDialogButton()
TaskDialogButton(Object instance)
Internal constructor.TaskDialogButton(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()
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
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()
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(String Text)
void
setVisible(boolean Visible)
-
Methods inherited from class system.windows.forms.TaskDialogControl
getBoundPage, getTag, setBoundPage, setTag
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Windows.Forms- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Windows.Forms.TaskDialogButton- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TaskDialogButton
public TaskDialogButton(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
TaskDialogButton
public TaskDialogButton(String text, boolean enabled, boolean allowCloseDialog) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
-
Method Detail
-
getJCOAssemblyName
public 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 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 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 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 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:
Throwable
- in case of error during cast operation
-
PerformClick
public void PerformClick() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
setAllowCloseDialog
public void setAllowCloseDialog(boolean AllowCloseDialog) throws Throwable
- Throws:
Throwable
-
setEnabled
public void setEnabled(boolean Enabled) throws Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
setShowShieldIcon
public void setShowShieldIcon(boolean ShowShieldIcon) throws Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
setVisible
public void setVisible(boolean Visible) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException
-
setText
public void setText(String Text) throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
-
getAbort
public static TaskDialogButton getAbort() throws Throwable
- Throws:
Throwable
-
getCancel
public static TaskDialogButton getCancel() throws Throwable
- Throws:
Throwable
-
getClose
public static TaskDialogButton getClose() throws Throwable
- Throws:
Throwable
-
getContinue
public static TaskDialogButton getContinue() throws Throwable
- Throws:
Throwable
-
getHelp
public static TaskDialogButton getHelp() throws Throwable
- Throws:
Throwable
-
getIgnore
public static TaskDialogButton getIgnore() throws Throwable
- Throws:
Throwable
-
getNo
public static TaskDialogButton getNo() throws Throwable
- Throws:
Throwable
-
getOK
public static TaskDialogButton getOK() throws Throwable
- Throws:
Throwable
-
getRetry
public static TaskDialogButton getRetry() throws Throwable
- Throws:
Throwable
-
getTryAgain
public static TaskDialogButton getTryAgain() throws Throwable
- Throws:
Throwable
-
getYes
public static TaskDialogButton getYes() throws Throwable
- Throws:
Throwable
-
addClick
public void addClick(EventHandler handler) throws Throwable
- Throws:
Throwable
-
removeClick
public void removeClick(EventHandler handler) throws Throwable
- Throws:
Throwable
-
-