Package system.windows.forms
Class ToolTip
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.windows.forms.ToolTip
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
public class ToolTip extends Component
The base .NET class managing System.Windows.Forms.ToolTip, System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.ToolTip
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=9.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.ToolTipstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ToolTip()
ToolTip(java.lang.Object instance)
Internal constructor.ToolTip(IContainer cont)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDraw(DrawToolTipEventHandler handler)
void
addPopup(PopupEventHandler handler)
boolean
CanExtend(NetObject target)
static ToolTip
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoToolTip
, a cast assert is made to check if types are compatible.boolean
getActive()
int
getAutomaticDelay()
int
getAutoPopDelay()
Color
getBackColor()
Color
getForeColor()
int
getInitialDelay()
boolean
getIsBalloon()
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 Typeboolean
getOwnerDraw()
int
getReshowDelay()
boolean
getShowAlways()
boolean
getStripAmpersands()
NetObject
getTag()
java.lang.String
GetToolTip(Control control)
ToolTipIcon
getToolTipIcon()
java.lang.String
getToolTipTitle()
boolean
getUseAnimation()
boolean
getUseFading()
void
Hide(IWin32Window win)
void
RemoveAll()
void
removeDraw(DrawToolTipEventHandler handler)
void
removePopup(PopupEventHandler handler)
void
setActive(boolean Active)
void
setAutomaticDelay(int AutomaticDelay)
void
setAutoPopDelay(int AutoPopDelay)
void
setBackColor(Color BackColor)
void
setForeColor(Color ForeColor)
void
setInitialDelay(int InitialDelay)
void
setIsBalloon(boolean IsBalloon)
void
setJCOInstance(JCObject instance)
void
setOwnerDraw(boolean OwnerDraw)
void
setReshowDelay(int ReshowDelay)
void
setShowAlways(boolean ShowAlways)
void
setStripAmpersands(boolean StripAmpersands)
void
setTag(NetObject Tag)
void
SetToolTip(Control control, java.lang.String caption)
void
setToolTipIcon(ToolTipIcon ToolTipIcon)
void
setToolTipTitle(java.lang.String ToolTipTitle)
void
setUseAnimation(boolean UseAnimation)
void
setUseFading(boolean UseFading)
void
Show(java.lang.String text, IWin32Window window)
void
Show(java.lang.String text, IWin32Window window, int duration)
void
Show(java.lang.String text, IWin32Window window, int x, int y)
void
Show(java.lang.String text, IWin32Window window, int x, int y, int duration)
void
Show(java.lang.String text, IWin32Window window, Point point)
void
Show(java.lang.String text, IWin32Window window, Point point, int duration)
-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
GetLifetimeService, InitializeLifetimeService
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=9.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.ToolTip- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ToolTip
public ToolTip(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
ToolTip
public ToolTip() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException
-
ToolTip
public ToolTip(IContainer cont) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, InvalidOperationException, ArgumentNullException
-
-
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 classComponent
- 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 classComponent
- 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 classComponent
- 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 classComponent
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classComponent
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classComponent
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ToolTip cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoToolTip
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ToolTip
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
CanExtend
public boolean CanExtend(NetObject target) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetToolTip
public java.lang.String GetToolTip(Control control) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
-
Hide
public void Hide(IWin32Window win) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, Win32Exception, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
FormatException
Win32Exception
OutOfMemoryException
-
RemoveAll
public void RemoveAll() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, Win32Exception, IndexOutOfRangeException
-
SetToolTip
public void SetToolTip(Control control, java.lang.String caption) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, Win32Exception
-
Show
public void Show(java.lang.String text, IWin32Window window, int x, int y, int duration) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, Win32Exception, OutOfMemoryException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
FormatException
Win32Exception
OutOfMemoryException
MulticastNotSupportedException
-
Show
public void Show(java.lang.String text, IWin32Window window, int x, int y) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, Win32Exception, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
FormatException
Win32Exception
OutOfMemoryException
-
Show
public void Show(java.lang.String text, IWin32Window window, int duration) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, AbandonedMutexException, ExternalException, KeyNotFoundException, Win32Exception, OutOfMemoryException, FormatException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
AbandonedMutexException
ExternalException
KeyNotFoundException
Win32Exception
OutOfMemoryException
FormatException
IndexOutOfRangeException
-
Show
public void Show(java.lang.String text, IWin32Window window, Point point, int duration) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, Win32Exception, OutOfMemoryException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
FormatException
Win32Exception
OutOfMemoryException
MulticastNotSupportedException
-
Show
public void Show(java.lang.String text, IWin32Window window, Point point) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, Win32Exception, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
FormatException
Win32Exception
OutOfMemoryException
-
Show
public void Show(java.lang.String text, IWin32Window window) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, AbandonedMutexException, ExternalException, KeyNotFoundException, Win32Exception, OutOfMemoryException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArgumentOutOfRangeException
IndexOutOfRangeException
FormatException
AbandonedMutexException
ExternalException
KeyNotFoundException
Win32Exception
OutOfMemoryException
-
getActive
public boolean getActive() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setActive
public void setActive(boolean Active) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsBalloon
public boolean getIsBalloon() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setIsBalloon
public void setIsBalloon(boolean IsBalloon) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, Win32Exception, ArgumentNullException, IndexOutOfRangeException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException
-
getOwnerDraw
public boolean getOwnerDraw() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setOwnerDraw
public void setOwnerDraw(boolean OwnerDraw) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getShowAlways
public boolean getShowAlways() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setShowAlways
public void setShowAlways(boolean ShowAlways) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, Win32Exception, ArgumentNullException, IndexOutOfRangeException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException
-
getStripAmpersands
public boolean getStripAmpersands() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setStripAmpersands
public void setStripAmpersands(boolean StripAmpersands) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, Win32Exception, ArgumentNullException, IndexOutOfRangeException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException
-
getUseAnimation
public boolean getUseAnimation() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUseAnimation
public void setUseAnimation(boolean UseAnimation) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, Win32Exception, ArgumentNullException, IndexOutOfRangeException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException
-
getUseFading
public boolean getUseFading() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUseFading
public void setUseFading(boolean UseFading) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, Win32Exception, ArgumentNullException, IndexOutOfRangeException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException
-
getAutomaticDelay
public int getAutomaticDelay() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAutomaticDelay
public void setAutomaticDelay(int AutomaticDelay) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
getAutoPopDelay
public int getAutoPopDelay() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAutoPopDelay
public void setAutoPopDelay(int AutoPopDelay) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
getInitialDelay
public int getInitialDelay() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setInitialDelay
public void setInitialDelay(int InitialDelay) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
getReshowDelay
public int getReshowDelay() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setReshowDelay
public void setReshowDelay(int ReshowDelay) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
getBackColor
public Color getBackColor() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setBackColor
public void setBackColor(Color BackColor) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
IndexOutOfRangeException
PlatformNotSupportedException
NotSupportedException
-
getForeColor
public Color getForeColor() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setForeColor
public void setForeColor(Color ForeColor) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
getTag
public NetObject getTag() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTag
public void setTag(NetObject Tag) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getToolTipTitle
public java.lang.String getToolTipTitle() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setToolTipTitle
public void setToolTipTitle(java.lang.String ToolTipTitle) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
getToolTipIcon
public ToolTipIcon getToolTipIcon() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setToolTipIcon
public void setToolTipIcon(ToolTipIcon ToolTipIcon) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException
-
addDraw
public void addDraw(DrawToolTipEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeDraw
public void removeDraw(DrawToolTipEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addPopup
public void addPopup(PopupEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removePopup
public void removePopup(PopupEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-