Table of Contents

Class JToolBar

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

Constructors

JToolBar()

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

public JToolBar()

JToolBar(String)

public JToolBar(String arg0)

Parameters

arg0 String

String

JToolBar(String, int)

public JToolBar(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

JToolBar(int)

public JToolBar(int arg0)

Parameters

arg0 int

int

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

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

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

Margin

public Insets Margin { get; set; }

Property Value

Insets

Orientation

public int Orientation { get; set; }

Property Value

int

Methods

Add(Action)

public JButton Add(Action arg0)

Parameters

arg0 Action

Action

Returns

JButton

JButton

AddSeparator()

public void AddSeparator()

AddSeparator(Dimension)

public void AddSeparator(Dimension arg0)

Parameters

arg0 Dimension

Dimension

GetComponentAtIndex(int)

public Component GetComponentAtIndex(int arg0)

Parameters

arg0 int

int

Returns

Component

Component

GetComponentIndex(Component)

public int GetComponentIndex(Component arg0)

Parameters

arg0 Component

Component

Returns

int

int

IsBorderPainted()

public bool IsBorderPainted()

Returns

bool

bool

IsFloatable()

public bool IsFloatable()

Returns

bool

bool

IsRollover()

public bool IsRollover()

Returns

bool

bool

SetBorderPainted(bool)

public void SetBorderPainted(bool arg0)

Parameters

arg0 bool

bool

SetFloatable(bool)

public void SetFloatable(bool arg0)

Parameters

arg0 bool

bool

SetRollover(bool)

public void SetRollover(bool arg0)

Parameters

arg0 bool

bool

SetUI(ToolBarUI)

public void SetUI(ToolBarUI arg0)

Parameters

arg0 ToolBarUI

ToolBarUI

Operators

implicit operator Accessible(JToolBar)

Converter from JToolBar to Accessible

public static implicit operator Accessible(JToolBar t)

Parameters

t JToolBar

Returns

Accessible

implicit operator SwingConstants(JToolBar)

Converter from JToolBar to SwingConstants

public static implicit operator SwingConstants(JToolBar t)

Parameters

t JToolBar

Returns

SwingConstants