Table of Contents

Class JComponent

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

Constructors

JComponent()

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

[Obsolete("JComponent class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public JComponent()

JComponent(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

[Obsolete("JComponent class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public JComponent(params object[] args)

Parameters

args object[]

Properties

ActionMap

public ActionMap ActionMap { get; set; }

Property Value

ActionMap

AncestorListeners

public AncestorListener[] AncestorListeners { get; }

Property Value

AncestorListener[]

Autoscrolls

public bool Autoscrolls { get; set; }

Property Value

bool

Border

public Border Border { get; set; }

Property Value

Border

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

ComponentPopupMenu

public JPopupMenu ComponentPopupMenu { get; set; }

Property Value

JPopupMenu

DebugGraphicsOptions

public int DebugGraphicsOptions { get; set; }

Property Value

int

DefaultLocale

public static Locale DefaultLocale { get; set; }

Property Value

Locale

InheritsPopupMenu

public bool InheritsPopupMenu { get; set; }

Property Value

bool

InputMap

public InputMap InputMap { get; }

Property Value

InputMap

InputVerifier

public InputVerifier InputVerifier { get; set; }

Property Value

InputVerifier

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

RegisteredKeyStrokes

public KeyStroke[] RegisteredKeyStrokes { get; }

Property Value

KeyStroke[]

RootPane

public JRootPane RootPane { get; }

Property Value

JRootPane

TOOL_TIP_TEXT_KEY

public static String TOOL_TIP_TEXT_KEY { get; }

Property Value

String

ToolTipText

public String ToolTipText { get; set; }

Property Value

String

TopLevelAncestor

public Container TopLevelAncestor { get; }

Property Value

Container

TransferHandler

public TransferHandler TransferHandler { get; set; }

Property Value

TransferHandler

UI

public ComponentUI UI { get; }

Property Value

ComponentUI

UIClassID

public String UIClassID { get; }

Property Value

String

UNDEFINED_CONDITION

public static int UNDEFINED_CONDITION { get; }

Property Value

int

VerifyInputWhenFocusTarget

public bool VerifyInputWhenFocusTarget { get; set; }

Property Value

bool

VetoableChangeListeners

public VetoableChangeListener[] VetoableChangeListeners { get; }

Property Value

VetoableChangeListener[]

VisibleRect

public Rectangle VisibleRect { get; }

Property Value

Rectangle

WHEN_ANCESTOR_OF_FOCUSED_COMPONENT

public static int WHEN_ANCESTOR_OF_FOCUSED_COMPONENT { get; }

Property Value

int

WHEN_FOCUSED

public static int WHEN_FOCUSED { get; }

Property Value

int

WHEN_IN_FOCUSED_WINDOW

public static int WHEN_IN_FOCUSED_WINDOW { get; }

Property Value

int

Methods

AddAncestorListener(AncestorListener)

public void AddAncestorListener(AncestorListener arg0)

Parameters

arg0 AncestorListener

AncestorListener

AddVetoableChangeListener(VetoableChangeListener)

public void AddVetoableChangeListener(VetoableChangeListener arg0)

Parameters

arg0 VetoableChangeListener

VetoableChangeListener

ComputeVisibleRect(Rectangle)

public void ComputeVisibleRect(Rectangle arg0)

Parameters

arg0 Rectangle

Rectangle

CreateToolTip()

public JToolTip CreateToolTip()

Returns

JToolTip

JToolTip

FirePropertyChange(String, bool, bool)

public void FirePropertyChange(String arg0, bool arg1, bool arg2)

Parameters

arg0 String

String

arg1 bool

bool

arg2 bool

bool

FirePropertyChange(String, int, int)

public void FirePropertyChange(String arg0, int arg1, int arg2)

Parameters

arg0 String

String

arg1 int

int

arg2 int

int

GetActionForKeyStroke(KeyStroke)

public ActionListener GetActionForKeyStroke(KeyStroke arg0)

Parameters

arg0 KeyStroke

KeyStroke

Returns

ActionListener

ActionListener

GetActionForKeyStrokeDirect(KeyStroke)

public ActionListener GetActionForKeyStrokeDirect(KeyStroke arg0)

Parameters

arg0 KeyStroke

KeyStroke

Returns

ActionListener

ActionListener

GetClientProperty(object)

public object GetClientProperty(object arg0)

Parameters

arg0 object

object

Returns

object

object

GetConditionForKeyStroke(KeyStroke)

public int GetConditionForKeyStroke(KeyStroke arg0)

Parameters

arg0 KeyStroke

KeyStroke

Returns

int

int

GetInputMap(int)

public InputMap GetInputMap(int arg0)

Parameters

arg0 int

int

Returns

InputMap

InputMap

GetInsets(Insets)

public Insets GetInsets(Insets arg0)

Parameters

arg0 Insets

Insets

Returns

Insets

Insets

GetPopupLocation(MouseEvent)

public Point GetPopupLocation(MouseEvent arg0)

Parameters

arg0 MouseEvent

MouseEvent

Returns

Point

Point

GetToolTipLocation(MouseEvent)

public Point GetToolTipLocation(MouseEvent arg0)

Parameters

arg0 MouseEvent

MouseEvent

Returns

Point

Point

GetToolTipText(MouseEvent)

public String GetToolTipText(MouseEvent arg0)

Parameters

arg0 MouseEvent

MouseEvent

Returns

String

String

GrabFocus()

public void GrabFocus()

IsLightweightComponent(Component)

public static bool IsLightweightComponent(Component arg0)

Parameters

arg0 Component

Component

Returns

bool

bool

IsOptimizedDrawingEnabled()

public bool IsOptimizedDrawingEnabled()

Returns

bool

bool

IsPaintingForPrint()

public bool IsPaintingForPrint()

Returns

bool

bool

IsPaintingTile()

public bool IsPaintingTile()

Returns

bool

bool

IsRequestFocusEnabled()

public bool IsRequestFocusEnabled()

Returns

bool

bool

PaintImmediately(Rectangle)

public void PaintImmediately(Rectangle arg0)

Parameters

arg0 Rectangle

Rectangle

PaintImmediately(int, int, int, int)

public void PaintImmediately(int arg0, int arg1, int arg2, int arg3)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

PutClientProperty(object, object)

public void PutClientProperty(object arg0, object arg1)

Parameters

arg0 object

object

arg1 object

object

RegisterKeyboardAction(ActionListener, String, KeyStroke, int)

public void RegisterKeyboardAction(ActionListener arg0, String arg1, KeyStroke arg2, int arg3)

Parameters

arg0 ActionListener

ActionListener

arg1 String

String

arg2 KeyStroke

KeyStroke

arg3 int

int

RegisterKeyboardAction(ActionListener, KeyStroke, int)

public void RegisterKeyboardAction(ActionListener arg0, KeyStroke arg1, int arg2)

Parameters

arg0 ActionListener

ActionListener

arg1 KeyStroke

KeyStroke

arg2 int

int

RemoveAncestorListener(AncestorListener)

public void RemoveAncestorListener(AncestorListener arg0)

Parameters

arg0 AncestorListener

AncestorListener

RemoveVetoableChangeListener(VetoableChangeListener)

public void RemoveVetoableChangeListener(VetoableChangeListener arg0)

Parameters

arg0 VetoableChangeListener

VetoableChangeListener

Repaint(Rectangle)

public void Repaint(Rectangle arg0)

Parameters

arg0 Rectangle

Rectangle

RequestFocus(bool)

public bool RequestFocus(bool arg0)

Parameters

arg0 bool

bool

Returns

bool

bool

ResetKeyboardActions()

public void ResetKeyboardActions()

ScrollRectToVisible(Rectangle)

public void ScrollRectToVisible(Rectangle arg0)

Parameters

arg0 Rectangle

Rectangle

SetAlignmentX(float)

public void SetAlignmentX(float arg0)

Parameters

arg0 float

float

SetAlignmentY(float)

public void SetAlignmentY(float arg0)

Parameters

arg0 float

float

SetDoubleBuffered(bool)

public void SetDoubleBuffered(bool arg0)

Parameters

arg0 bool

bool

SetInputMap(int, InputMap)

public void SetInputMap(int arg0, InputMap arg1)

Parameters

arg0 int

int

arg1 InputMap

InputMap

SetOpaque(bool)

public void SetOpaque(bool arg0)

Parameters

arg0 bool

bool

SetRequestFocusEnabled(bool)

public void SetRequestFocusEnabled(bool arg0)

Parameters

arg0 bool

bool

UnregisterKeyboardAction(KeyStroke)

public void UnregisterKeyboardAction(KeyStroke arg0)

Parameters

arg0 KeyStroke

KeyStroke

UpdateUI()

public void UpdateUI()

Operators

implicit operator Serializable(JComponent)

Converter from JComponent to Serializable

public static implicit operator Serializable(JComponent t)

Parameters

t JComponent

Returns

Serializable