Class UIManager
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
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
CrossPlatformLookAndFeelClassName
public static String CrossPlatformLookAndFeelClassName { get; }
Property Value
Defaults
public static UIDefaults Defaults { get; }
Property Value
InstalledLookAndFeels
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/UIManager.html#getInstalledLookAndFeels() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/UIManager.html#setInstalledLookAndFeels(javax.swing.UIManager.LookAndFeelInfo[])
public static UIManager.LookAndFeelInfo[] InstalledLookAndFeels { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
LookAndFeel
public static LookAndFeel LookAndFeel { get; }
Property Value
LookAndFeelDefaults
public static UIDefaults LookAndFeelDefaults { get; }
Property Value
PropertyChangeListeners
public static PropertyChangeListener[] PropertyChangeListeners { get; }
Property Value
SystemLookAndFeelClassName
public static String SystemLookAndFeelClassName { get; }
Property Value
Methods
AddAuxiliaryLookAndFeel(LookAndFeel)
public static void AddAuxiliaryLookAndFeel(LookAndFeel arg0)
Parameters
arg0
LookAndFeel
AddPropertyChangeListener(PropertyChangeListener)
public static void AddPropertyChangeListener(PropertyChangeListener arg0)
Parameters
CreateLookAndFeel(String)
public static LookAndFeel CreateLookAndFeel(String arg0)
Parameters
Returns
Exceptions
Get(object)
public static object Get(object arg0)
Parameters
Returns
Get(object, Locale)
public static object Get(object arg0, Locale arg1)
Parameters
Returns
GetBoolean(object)
public static bool GetBoolean(object arg0)
Parameters
Returns
GetBoolean(object, Locale)
public static bool GetBoolean(object arg0, Locale arg1)
Parameters
Returns
GetBorder(object)
public static Border GetBorder(object arg0)
Parameters
Returns
GetBorder(object, Locale)
public static Border GetBorder(object arg0, Locale arg1)
Parameters
Returns
GetColor(object)
public static Color GetColor(object arg0)
Parameters
Returns
GetColor(object, Locale)
public static Color GetColor(object arg0, Locale arg1)
Parameters
Returns
GetDimension(object)
public static Dimension GetDimension(object arg0)
Parameters
Returns
GetDimension(object, Locale)
public static Dimension GetDimension(object arg0, Locale arg1)
Parameters
Returns
GetFont(object)
public static Font GetFont(object arg0)
Parameters
Returns
GetFont(object, Locale)
public static Font GetFont(object arg0, Locale arg1)
Parameters
Returns
GetIcon(object)
public static Icon GetIcon(object arg0)
Parameters
Returns
GetIcon(object, Locale)
public static Icon GetIcon(object arg0, Locale arg1)
Parameters
Returns
GetInsets(object)
public static Insets GetInsets(object arg0)
Parameters
Returns
GetInsets(object, Locale)
public static Insets GetInsets(object arg0, Locale arg1)
Parameters
Returns
GetInt(object)
public static int GetInt(object arg0)
Parameters
Returns
GetInt(object, Locale)
public static int GetInt(object arg0, Locale arg1)
Parameters
Returns
GetString(object)
public static String GetString(object arg0)
Parameters
Returns
GetString(object, Locale)
public static String GetString(object arg0, Locale arg1)
Parameters
Returns
GetUI(JComponent)
public static ComponentUI GetUI(JComponent arg0)
Parameters
arg0
JComponent
Returns
InstallLookAndFeel(String, String)
public static void InstallLookAndFeel(String arg0, String arg1)
Parameters
InstallLookAndFeel(LookAndFeelInfo)
public static void InstallLookAndFeel(UIManager.LookAndFeelInfo arg0)
Parameters
Put(object, object)
public static object Put(object arg0, object arg1)
Parameters
Returns
RemoveAuxiliaryLookAndFeel(LookAndFeel)
public static bool RemoveAuxiliaryLookAndFeel(LookAndFeel arg0)
Parameters
arg0
LookAndFeel
Returns
RemovePropertyChangeListener(PropertyChangeListener)
public static void RemovePropertyChangeListener(PropertyChangeListener arg0)
Parameters
SetLookAndFeel(String)
public static void SetLookAndFeel(String arg0)
Parameters
Exceptions
- ClassNotFoundException
- InstantiationException
- IllegalAccessException
- UnsupportedLookAndFeelException
SetLookAndFeel(LookAndFeel)
public static void SetLookAndFeel(LookAndFeel arg0)
Parameters
arg0
LookAndFeel