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=4.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.StringassemblyFullNameFully assembly qualified name: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Windows.Formsstatic java.lang.StringclassNameQualified class name: System.Windows.Forms.NotifyIconstatic JCTypeclassTypeThe 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 voidaddBalloonTipClicked(EventHandler handler)voidaddBalloonTipClosed(EventHandler handler)voidaddBalloonTipShown(EventHandler handler)voidaddClick(EventHandler handler)voidaddDoubleClick(EventHandler handler)voidaddMouseClick(MouseEventHandler handler)voidaddMouseDoubleClick(MouseEventHandler handler)voidaddMouseDown(MouseEventHandler handler)voidaddMouseMove(MouseEventHandler handler)voidaddMouseUp(MouseEventHandler handler)static NotifyIconcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoNotifyIcon, a cast assert is made to check if types are compatible.ToolTipIcongetBalloonTipIcon()java.lang.StringgetBalloonTipText()java.lang.StringgetBalloonTipTitle()ContextMenugetContextMenu()ContextMenuStripgetContextMenuStrip()IcongetIcon()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 TypeNetObjectgetTag()java.lang.StringgetText()booleangetVisible()voidremoveBalloonTipClicked(EventHandler handler)voidremoveBalloonTipClosed(EventHandler handler)voidremoveBalloonTipShown(EventHandler handler)voidremoveClick(EventHandler handler)voidremoveDoubleClick(EventHandler handler)voidremoveMouseClick(MouseEventHandler handler)voidremoveMouseDoubleClick(MouseEventHandler handler)voidremoveMouseDown(MouseEventHandler handler)voidremoveMouseMove(MouseEventHandler handler)voidremoveMouseUp(MouseEventHandler handler)voidsetBalloonTipIcon(ToolTipIcon BalloonTipIcon)voidsetBalloonTipText(java.lang.String BalloonTipText)voidsetBalloonTipTitle(java.lang.String BalloonTipTitle)voidsetContextMenu(ContextMenu ContextMenu)voidsetContextMenuStrip(ContextMenuStrip ContextMenuStrip)voidsetIcon(Icon Icon)voidsetJCOInstance(JCObject instance)voidsetTag(NetObject Tag)voidsetText(java.lang.String Text)voidsetVisible(boolean Visible)voidShowBalloonTip(int timeout)voidShowBalloonTip(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
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=4.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.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
NotifyIcon
public NotifyIcon() throws java.lang.Throwable, ArgumentNullException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, MissingManifestResourceException, KeyNotFoundException, NotImplementedException, NullReferenceException, Win32Exception, OutOfMemoryException, ObjectDisposedException- Throws:
java.lang.ThrowableArgumentNullExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionKeyNotFoundExceptionNotImplementedExceptionNullReferenceExceptionWin32ExceptionOutOfMemoryExceptionObjectDisposedException
-
NotifyIcon
public NotifyIcon(IContainer container) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, KeyNotFoundException, NullReferenceException, Win32Exception, OutOfMemoryException, ObjectDisposedException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionKeyNotFoundExceptionNullReferenceExceptionWin32ExceptionOutOfMemoryExceptionObjectDisposedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classComponent- 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 classComponent- 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 classComponent- 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 classComponent- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classComponent
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classComponent- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static NotifyIcon cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoNotifyIcon, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
NotifyIconinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
ShowBalloonTip
public void ShowBalloonTip(int timeout) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, NullReferenceException, Win32Exception, OutOfMemoryException, AbandonedMutexException- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionNullReferenceExceptionWin32ExceptionOutOfMemoryExceptionAbandonedMutexException
-
ShowBalloonTip
public void ShowBalloonTip(int timeout, java.lang.String tipTitle, java.lang.String tipText, ToolTipIcon tipIcon) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidEnumArgumentException, NullReferenceException, IndexOutOfRangeException, Win32Exception, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidEnumArgumentExceptionNullReferenceExceptionIndexOutOfRangeExceptionWin32ExceptionOutOfMemoryException
-
getVisible
public boolean getVisible() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setVisible
public void setVisible(boolean Visible) throws java.lang.Throwable, ArgumentException, ArgumentNullException, FormatException, ArgumentOutOfRangeException, KeyNotFoundException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, Win32Exception, OutOfMemoryException
-
getIcon
public Icon getIcon() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setIcon
public void setIcon(Icon Icon) throws java.lang.Throwable, ArgumentException, ArgumentNullException, FormatException, ArgumentOutOfRangeException, KeyNotFoundException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, Win32Exception, 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- Throws:
java.lang.Throwable
-
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- Throws:
java.lang.Throwable
-
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, NullReferenceException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, KeyNotFoundException, Win32Exception, OutOfMemoryException- Throws:
java.lang.ThrowableNullReferenceExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionKeyNotFoundExceptionWin32ExceptionOutOfMemoryException
-
getContextMenu
public ContextMenu getContextMenu() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setContextMenu
public void setContextMenu(ContextMenu ContextMenu) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
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, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentException
-
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
-
-