Class MetalComboBoxButton
public class MetalComboBoxButton : JButton, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
MetalComboBoxButton
- Implements
- Inherited Members
- Extension Methods
Constructors
MetalComboBoxButton()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public MetalComboBoxButton()
MetalComboBoxButton(JComboBox, Icon, CellRendererPane, JList)
public MetalComboBoxButton(JComboBox arg0, Icon arg1, CellRendererPane arg2, JList arg3)
Parameters
arg0JComboBoxarg1Iconarg2CellRendererPanearg3JList
MetalComboBoxButton(JComboBox, Icon, bool, CellRendererPane, JList)
public MetalComboBoxButton(JComboBox arg0, Icon arg1, bool arg2, CellRendererPane arg3, JList arg4)
Parameters
arg0JComboBoxarg1Iconarg2boolarg3CellRendererPanearg4JList
MetalComboBoxButton(IJVMBridgeBaseInitializer)
Internal constructor: used internally from JCOBridge
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public MetalComboBoxButton(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
MetalComboBoxButton(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 MetalComboBoxButton(params object[] args)
Parameters
argsobject[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
ComboBox
https://docs.oracle.com/javase/8/docs/api/javax/swing/plaf/metal/MetalComboBoxButton.html#getComboBox-- https://docs.oracle.com/javase/8/docs/api/javax/swing/plaf/metal/MetalComboBoxButton.html#setComboBox-javax.swing.JComboBox-
public JComboBox ComboBox { get; set; }
Property Value
ComboIcon
https://docs.oracle.com/javase/8/docs/api/javax/swing/plaf/metal/MetalComboBoxButton.html#getComboIcon-- https://docs.oracle.com/javase/8/docs/api/javax/swing/plaf/metal/MetalComboBoxButton.html#setComboIcon-javax.swing.Icon-
public Icon ComboIcon { 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
Methods
IsIconOnly()
public bool IsIconOnly()
Returns
PaintComponent(Graphics)
public void PaintComponent(Graphics arg0)
Parameters
SetIconOnly(bool)
public void SetIconOnly(bool arg0)