Table of Contents

Class ImageIcon

Namespace
Javax.Swing
Assembly
MASES.JNet.dll
public class ImageIcon : JVMBridgeBase<ImageIcon>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
ImageIcon
Implements
Inherited Members
Extension Methods

Constructors

ImageIcon()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public ImageIcon()

ImageIcon(Image)

public ImageIcon(Image arg0)

Parameters

arg0 Image

Image

ImageIcon(Image, String)

public ImageIcon(Image arg0, String arg1)

Parameters

arg0 Image

Image

arg1 String

String

ImageIcon(String)

public ImageIcon(String arg0)

Parameters

arg0 String

String

ImageIcon(String, String)

public ImageIcon(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

ImageIcon(URL)

public ImageIcon(URL arg0)

Parameters

arg0 URL

URL

ImageIcon(URL, String)

public ImageIcon(URL arg0, String arg1)

Parameters

arg0 URL

URL

arg1 String

String

ImageIcon(byte[])

public ImageIcon(byte[] arg0)

Parameters

arg0 byte[]

byte

ImageIcon(byte[], String)

public ImageIcon(byte[] arg0, String arg1)

Parameters

arg0 byte[]

byte

arg1 String

String

ImageIcon(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 ImageIcon(params object[] args)

Parameters

args object[]

Properties

AccessibleContext

public AccessibleContext AccessibleContext { get; }

Property Value

AccessibleContext

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

Description

public String Description { get; set; }

Property Value

String

IconHeight

public int IconHeight { get; }

Property Value

int

IconWidth

public int IconWidth { get; }

Property Value

int

Image

public Image Image { get; set; }

Property Value

Image

ImageLoadStatus

public int ImageLoadStatus { get; }

Property Value

int

ImageObserver

public ImageObserver ImageObserver { get; set; }

Property Value

ImageObserver

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

PaintIcon(Component, Graphics, int, int)

public void PaintIcon(Component arg0, Graphics arg1, int arg2, int arg3)

Parameters

arg0 Component

Component

arg1 Graphics

Graphics

arg2 int

int

arg3 int

int

Operators

implicit operator Serializable(ImageIcon)

Converter from ImageIcon to Serializable

public static implicit operator Serializable(ImageIcon t)

Parameters

t ImageIcon

Returns

Serializable

implicit operator Accessible(ImageIcon)

Converter from ImageIcon to Accessible

public static implicit operator Accessible(ImageIcon t)

Parameters

t ImageIcon

Returns

Accessible

implicit operator Icon(ImageIcon)

Converter from ImageIcon to Icon

public static implicit operator Icon(ImageIcon t)

Parameters

t ImageIcon

Returns

Icon