Table of Contents

Class JLabel

Namespace
Javax.Swing
Assembly
MASES.JNet.dll
public class JLabel : JComponent, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JLabel
Implements
Derived
Inherited Members
Extension Methods

Constructors

JLabel()

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

public JLabel()

JLabel(String)

public JLabel(String arg0)

Parameters

arg0 String

String

JLabel(String, Icon, int)

public JLabel(String arg0, Icon arg1, int arg2)

Parameters

arg0 String

String

arg1 Icon

Icon

arg2 int

int

JLabel(String, int)

public JLabel(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

JLabel(Icon)

public JLabel(Icon arg0)

Parameters

arg0 Icon

Icon

JLabel(Icon, int)

public JLabel(Icon arg0, int arg1)

Parameters

arg0 Icon

Icon

arg1 int

int

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

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

DisabledIcon

public Icon DisabledIcon { get; set; }

Property Value

Icon

DisplayedMnemonic

public int DisplayedMnemonic { get; }

Property Value

int

DisplayedMnemonicIndex

public int DisplayedMnemonicIndex { get; set; }

Property Value

int

HorizontalAlignment

public int HorizontalAlignment { get; set; }

Property Value

int

HorizontalTextPosition

public int HorizontalTextPosition { get; set; }

Property Value

int

Icon

public Icon Icon { get; set; }

Property Value

Icon

IconTextGap

public int IconTextGap { get; set; }

Property Value

int

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

LabelFor

public Component LabelFor { get; set; }

Property Value

Component

Text

public String Text { get; set; }

Property Value

String

VerticalAlignment

public int VerticalAlignment { get; set; }

Property Value

int

VerticalTextPosition

public int VerticalTextPosition { get; set; }

Property Value

int

Methods

SetDisplayedMnemonic(char)

public void SetDisplayedMnemonic(char arg0)

Parameters

arg0 char

char

SetDisplayedMnemonic(int)

public void SetDisplayedMnemonic(int arg0)

Parameters

arg0 int

int

SetUI(LabelUI)

public void SetUI(LabelUI arg0)

Parameters

arg0 LabelUI

LabelUI

Operators

implicit operator Accessible(JLabel)

Converter from JLabel to Accessible

public static implicit operator Accessible(JLabel t)

Parameters

t JLabel

Returns

Accessible

implicit operator SwingConstants(JLabel)

Converter from JLabel to SwingConstants

public static implicit operator SwingConstants(JLabel t)

Parameters

t JLabel

Returns

SwingConstants