Package system.windows.forms
Class NotifyIcon
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.windows.forms.NotifyIcon
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
public class NotifyIcon extends Component
The base .NET class managing System.Windows.Forms.NotifyIcon, 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.NotifyIcon
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.NotifyIconstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description NotifyIcon()
NotifyIcon(java.lang.Object instance)
Internal constructor.NotifyIcon(IContainer container)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBalloonTipClicked(EventHandler handler)
void
addBalloonTipClosed(EventHandler handler)
void
addBalloonTipShown(EventHandler handler)
void
addClick(EventHandler handler)
void
addDoubleClick(EventHandler handler)
void
addMouseClick(MouseEventHandler handler)
void
addMouseDoubleClick(MouseEventHandler handler)
void
addMouseDown(MouseEventHandler handler)
void
addMouseMove(MouseEventHandler handler)
void
addMouseUp(MouseEventHandler handler)
static NotifyIcon
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoNotifyIcon
, a cast assert is made to check if types are compatible.ToolTipIcon
getBalloonTipIcon()
java.lang.String
getBalloonTipText()
java.lang.String
getBalloonTipTitle()
ContextMenuStrip
getContextMenuStrip()
Icon
getIcon()
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 TypeNetObject
getTag()
java.lang.String
getText()
boolean
getVisible()
void
removeBalloonTipClicked(EventHandler handler)
void
removeBalloonTipClosed(EventHandler handler)
void
removeBalloonTipShown(EventHandler handler)
void
removeClick(EventHandler handler)
void
removeDoubleClick(EventHandler handler)
void
removeMouseClick(MouseEventHandler handler)
void
removeMouseDoubleClick(MouseEventHandler handler)
void
removeMouseDown(MouseEventHandler handler)
void
removeMouseMove(MouseEventHandler handler)
void
removeMouseUp(MouseEventHandler handler)
void
setBalloonTipIcon(ToolTipIcon BalloonTipIcon)
void
setBalloonTipText(java.lang.String BalloonTipText)
void
setBalloonTipTitle(java.lang.String BalloonTipTitle)
void
setContextMenuStrip(ContextMenuStrip ContextMenuStrip)
void
setIcon(Icon Icon)
void
setJCOInstance(JCObject instance)
void
setTag(NetObject Tag)
void
setText(java.lang.String Text)
void
setVisible(boolean Visible)
void
ShowBalloonTip(int timeout)
void
ShowBalloonTip(int timeout, java.lang.String tipTitle, java.lang.String tipText, ToolTipIcon tipIcon)
-
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=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.NotifyIcon- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NotifyIcon
public NotifyIcon(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
NotifyIcon
public NotifyIcon() throws java.lang.Throwable, InvalidOperationException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, ObjectDisposedException, Win32Exception, ArrayTypeMismatchException, FormatException, NotSupportedException, OutOfMemoryException
-
NotifyIcon
public NotifyIcon(IContainer container) throws java.lang.Throwable, InvalidOperationException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, Win32Exception, FormatException, OutOfMemoryException, ObjectDisposedException
-
-
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 NotifyIcon cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoNotifyIcon
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
NotifyIcon
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
ShowBalloonTip
public void ShowBalloonTip(int timeout, java.lang.String tipTitle, java.lang.String tipText, ToolTipIcon tipIcon) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, IndexOutOfRangeException, FormatException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
IndexOutOfRangeException
FormatException
OutOfMemoryException
-
ShowBalloonTip
public void ShowBalloonTip(int timeout) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidEnumArgumentException, Win32Exception, FormatException, NotSupportedException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
InvalidEnumArgumentException
Win32Exception
FormatException
NotSupportedException
OutOfMemoryException
-
getVisible
public boolean getVisible() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setVisible
public void setVisible(boolean Visible) throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, Win32Exception, FormatException, OutOfMemoryException
-
getIcon
public Icon getIcon() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setIcon
public void setIcon(Icon Icon) throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, Win32Exception, FormatException, OutOfMemoryException
-
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
-
getBalloonTipText
public java.lang.String getBalloonTipText() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setBalloonTipText
public void setBalloonTipText(java.lang.String BalloonTipText) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
getBalloonTipTitle
public java.lang.String getBalloonTipTitle() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setBalloonTipTitle
public void setBalloonTipTitle(java.lang.String BalloonTipTitle) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
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, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, Win32Exception, FormatException, OutOfMemoryException, ObjectDisposedException
-
getContextMenuStrip
public ContextMenuStrip getContextMenuStrip() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setContextMenuStrip
public void setContextMenuStrip(ContextMenuStrip ContextMenuStrip) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getBalloonTipIcon
public ToolTipIcon getBalloonTipIcon() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setBalloonTipIcon
public void setBalloonTipIcon(ToolTipIcon BalloonTipIcon) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException
-
addBalloonTipClicked
public void addBalloonTipClicked(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeBalloonTipClicked
public void removeBalloonTipClicked(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addBalloonTipClosed
public void addBalloonTipClosed(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeBalloonTipClosed
public void removeBalloonTipClosed(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addBalloonTipShown
public void addBalloonTipShown(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeBalloonTipShown
public void removeBalloonTipShown(EventHandler handler) 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
-
addDoubleClick
public void addDoubleClick(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeDoubleClick
public void removeDoubleClick(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addMouseClick
public void addMouseClick(MouseEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeMouseClick
public void removeMouseClick(MouseEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addMouseDoubleClick
public void addMouseDoubleClick(MouseEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeMouseDoubleClick
public void removeMouseDoubleClick(MouseEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addMouseDown
public void addMouseDown(MouseEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeMouseDown
public void removeMouseDown(MouseEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addMouseMove
public void addMouseMove(MouseEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeMouseMove
public void removeMouseMove(MouseEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addMouseUp
public void addMouseUp(MouseEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeMouseUp
public void removeMouseUp(MouseEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-