Class TrayIcon
public class TrayIcon : JVMBridgeBase<TrayIcon>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<TrayIcon>TrayIcon
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<TrayIcon>.SExecute<TNewClass, TReturn, TConverter>(IJavaType, string, params object[])JVMBridgeBase<TrayIcon>.IsAssignableFrom(IJavaType)JVMBridgeBase<TrayIcon>.IsAssignableFrom<T>()JVMBridgeBase<TrayIcon>.Execute<T>(params T[])JVMBridgeBase<TrayIcon>.DynBridgeClazzJVMBridgeBase<TrayIcon>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
TrayIcon()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public TrayIcon()
TrayIcon(Image)
public TrayIcon(Image arg0)
Parameters
TrayIcon(Image, String)
public TrayIcon(Image arg0, String arg1)
Parameters
TrayIcon(Image, String, PopupMenu)
public TrayIcon(Image arg0, String arg1, PopupMenu arg2)
Parameters
TrayIcon(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public TrayIcon(params object[] args)
Parameters
args
object[]
Properties
ActionCommand
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/TrayIcon.html#getActionCommand() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/TrayIcon.html#setActionCommand(java.lang.String)
public String ActionCommand { get; set; }
Property Value
ActionListeners
public ActionListener[] ActionListeners { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
Image
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/TrayIcon.html#getImage() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/TrayIcon.html#setImage(java.awt.Image)
public Image Image { get; set; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
MouseListeners
public MouseListener[] MouseListeners { get; }
Property Value
MouseMotionListeners
public MouseMotionListener[] MouseMotionListeners { get; }
Property Value
PopupMenu
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/TrayIcon.html#getPopupMenu() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/TrayIcon.html#setPopupMenu(java.awt.PopupMenu)
public PopupMenu PopupMenu { get; set; }
Property Value
Size
public Dimension Size { get; }
Property Value
ToolTip
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/TrayIcon.html#getToolTip() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/TrayIcon.html#setToolTip(java.lang.String)
public String ToolTip { get; set; }
Property Value
Methods
AddActionListener(ActionListener)
public void AddActionListener(ActionListener arg0)
Parameters
AddMouseListener(MouseListener)
public void AddMouseListener(MouseListener arg0)
Parameters
AddMouseMotionListener(MouseMotionListener)
public void AddMouseMotionListener(MouseMotionListener arg0)
Parameters
DisplayMessage(String, String, MessageType)
public void DisplayMessage(String arg0, String arg1, TrayIcon.MessageType arg2)
Parameters
arg0
Stringarg1
Stringarg2
TrayIcon.MessageType
IsImageAutoSize()
public bool IsImageAutoSize()
Returns
RemoveActionListener(ActionListener)
public void RemoveActionListener(ActionListener arg0)
Parameters
RemoveMouseListener(MouseListener)
public void RemoveMouseListener(MouseListener arg0)
Parameters
RemoveMouseMotionListener(MouseMotionListener)
public void RemoveMouseMotionListener(MouseMotionListener arg0)
Parameters
SetImageAutoSize(bool)
public void SetImageAutoSize(bool arg0)