Table of Contents

Class UIManager

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

Constructors

UIManager()

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

public UIManager()

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

Parameters

args object[]

Properties

AuxiliaryLookAndFeels

public static LookAndFeel[] AuxiliaryLookAndFeels { get; }

Property Value

LookAndFeel[]

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

CrossPlatformLookAndFeelClassName

public static String CrossPlatformLookAndFeelClassName { get; }

Property Value

String

Defaults

public static UIDefaults Defaults { get; }

Property Value

UIDefaults

InstalledLookAndFeels

public static UIManager.LookAndFeelInfo[] InstalledLookAndFeels { get; set; }

Property Value

LookAndFeelInfo[]

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

LookAndFeel

public static LookAndFeel LookAndFeel { get; }

Property Value

LookAndFeel

LookAndFeelDefaults

public static UIDefaults LookAndFeelDefaults { get; }

Property Value

UIDefaults

PropertyChangeListeners

public static PropertyChangeListener[] PropertyChangeListeners { get; }

Property Value

PropertyChangeListener[]

SystemLookAndFeelClassName

public static String SystemLookAndFeelClassName { get; }

Property Value

String

Methods

AddAuxiliaryLookAndFeel(LookAndFeel)

public static void AddAuxiliaryLookAndFeel(LookAndFeel arg0)

Parameters

arg0 LookAndFeel

LookAndFeel

AddPropertyChangeListener(PropertyChangeListener)

public static void AddPropertyChangeListener(PropertyChangeListener arg0)

Parameters

arg0 PropertyChangeListener

PropertyChangeListener

CreateLookAndFeel(String)

public static LookAndFeel CreateLookAndFeel(String arg0)

Parameters

arg0 String

String

Returns

LookAndFeel

LookAndFeel

Exceptions

UnsupportedLookAndFeelException

Get(object)

public static object Get(object arg0)

Parameters

arg0 object

object

Returns

object

object

Get(object, Locale)

public static object Get(object arg0, Locale arg1)

Parameters

arg0 object

object

arg1 Locale

Locale

Returns

object

object

GetBoolean(object)

public static bool GetBoolean(object arg0)

Parameters

arg0 object

object

Returns

bool

bool

GetBoolean(object, Locale)

public static bool GetBoolean(object arg0, Locale arg1)

Parameters

arg0 object

object

arg1 Locale

Locale

Returns

bool

bool

GetBorder(object)

public static Border GetBorder(object arg0)

Parameters

arg0 object

object

Returns

Border

Border

GetBorder(object, Locale)

public static Border GetBorder(object arg0, Locale arg1)

Parameters

arg0 object

object

arg1 Locale

Locale

Returns

Border

Border

GetColor(object)

public static Color GetColor(object arg0)

Parameters

arg0 object

object

Returns

Color

Color

GetColor(object, Locale)

public static Color GetColor(object arg0, Locale arg1)

Parameters

arg0 object

object

arg1 Locale

Locale

Returns

Color

Color

GetDimension(object)

public static Dimension GetDimension(object arg0)

Parameters

arg0 object

object

Returns

Dimension

Dimension

GetDimension(object, Locale)

public static Dimension GetDimension(object arg0, Locale arg1)

Parameters

arg0 object

object

arg1 Locale

Locale

Returns

Dimension

Dimension

GetFont(object)

public static Font GetFont(object arg0)

Parameters

arg0 object

object

Returns

Font

Font

GetFont(object, Locale)

public static Font GetFont(object arg0, Locale arg1)

Parameters

arg0 object

object

arg1 Locale

Locale

Returns

Font

Font

GetIcon(object)

public static Icon GetIcon(object arg0)

Parameters

arg0 object

object

Returns

Icon

Icon

GetIcon(object, Locale)

public static Icon GetIcon(object arg0, Locale arg1)

Parameters

arg0 object

object

arg1 Locale

Locale

Returns

Icon

Icon

GetInsets(object)

public static Insets GetInsets(object arg0)

Parameters

arg0 object

object

Returns

Insets

Insets

GetInsets(object, Locale)

public static Insets GetInsets(object arg0, Locale arg1)

Parameters

arg0 object

object

arg1 Locale

Locale

Returns

Insets

Insets

GetInt(object)

public static int GetInt(object arg0)

Parameters

arg0 object

object

Returns

int

int

GetInt(object, Locale)

public static int GetInt(object arg0, Locale arg1)

Parameters

arg0 object

object

arg1 Locale

Locale

Returns

int

int

GetString(object)

public static String GetString(object arg0)

Parameters

arg0 object

object

Returns

String

String

GetString(object, Locale)

public static String GetString(object arg0, Locale arg1)

Parameters

arg0 object

object

arg1 Locale

Locale

Returns

String

String

GetUI(JComponent)

public static ComponentUI GetUI(JComponent arg0)

Parameters

arg0 JComponent

JComponent

Returns

ComponentUI

ComponentUI

InstallLookAndFeel(String, String)

public static void InstallLookAndFeel(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

InstallLookAndFeel(LookAndFeelInfo)

public static void InstallLookAndFeel(UIManager.LookAndFeelInfo arg0)

Parameters

arg0 UIManager.LookAndFeelInfo

UIManager.LookAndFeelInfo

Put(object, object)

public static object Put(object arg0, object arg1)

Parameters

arg0 object

object

arg1 object

object

Returns

object

object

RemoveAuxiliaryLookAndFeel(LookAndFeel)

public static bool RemoveAuxiliaryLookAndFeel(LookAndFeel arg0)

Parameters

arg0 LookAndFeel

LookAndFeel

Returns

bool

bool

RemovePropertyChangeListener(PropertyChangeListener)

public static void RemovePropertyChangeListener(PropertyChangeListener arg0)

Parameters

arg0 PropertyChangeListener

PropertyChangeListener

SetLookAndFeel(String)

public static void SetLookAndFeel(String arg0)

Parameters

arg0 String

String

Exceptions

ClassNotFoundException
InstantiationException
IllegalAccessException
UnsupportedLookAndFeelException

SetLookAndFeel(LookAndFeel)

public static void SetLookAndFeel(LookAndFeel arg0)

Parameters

arg0 LookAndFeel

LookAndFeel

Exceptions

UnsupportedLookAndFeelException