Class JComponent
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
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#getActionMap() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#setActionMap(javax.swing.ActionMap)
public ActionMap ActionMap { get; set; }
Property Value
AncestorListeners
public AncestorListener[] AncestorListeners { get; }
Property Value
Autoscrolls
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#getAutoscrolls() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#setAutoscrolls(boolean)
public bool Autoscrolls { get; set; }
Property Value
Border
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#getBorder() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#setBorder(javax.swing.border.Border)
public Border Border { get; set; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
ComponentPopupMenu
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#getComponentPopupMenu() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#setComponentPopupMenu(javax.swing.JPopupMenu)
public JPopupMenu ComponentPopupMenu { get; set; }
Property Value
DebugGraphicsOptions
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#getDebugGraphicsOptions() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#setDebugGraphicsOptions(int)
public int DebugGraphicsOptions { get; set; }
Property Value
DefaultLocale
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#getDefaultLocale() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#setDefaultLocale(java.util.Locale)
public static Locale DefaultLocale { get; set; }
Property Value
InheritsPopupMenu
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#getInheritsPopupMenu() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#setInheritsPopupMenu(boolean)
public bool InheritsPopupMenu { get; set; }
Property Value
InputMap
public InputMap InputMap { get; }
Property Value
InputVerifier
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#getInputVerifier() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#setInputVerifier(javax.swing.InputVerifier)
public InputVerifier InputVerifier { 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
RegisteredKeyStrokes
public KeyStroke[] RegisteredKeyStrokes { get; }
Property Value
RootPane
public JRootPane RootPane { get; }
Property Value
TOOL_TIP_TEXT_KEY
public static String TOOL_TIP_TEXT_KEY { get; }
Property Value
ToolTipText
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#getToolTipText() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#setToolTipText(java.lang.String)
public String ToolTipText { get; set; }
Property Value
TopLevelAncestor
public Container TopLevelAncestor { get; }
Property Value
TransferHandler
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#getTransferHandler() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#setTransferHandler(javax.swing.TransferHandler)
public TransferHandler TransferHandler { get; set; }
Property Value
UI
public ComponentUI UI { get; }
Property Value
UIClassID
public String UIClassID { get; }
Property Value
UNDEFINED_CONDITION
public static int UNDEFINED_CONDITION { get; }
Property Value
VerifyInputWhenFocusTarget
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#getVerifyInputWhenFocusTarget() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComponent.html#setVerifyInputWhenFocusTarget(boolean)
public bool VerifyInputWhenFocusTarget { get; set; }
Property Value
VetoableChangeListeners
public VetoableChangeListener[] VetoableChangeListeners { get; }
Property Value
VisibleRect
public Rectangle VisibleRect { get; }
Property Value
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT
public static int WHEN_ANCESTOR_OF_FOCUSED_COMPONENT { get; }
Property Value
WHEN_FOCUSED
public static int WHEN_FOCUSED { get; }
Property Value
WHEN_IN_FOCUSED_WINDOW
public static int WHEN_IN_FOCUSED_WINDOW { get; }
Property Value
Methods
AddAncestorListener(AncestorListener)
public void AddAncestorListener(AncestorListener arg0)
Parameters
AddVetoableChangeListener(VetoableChangeListener)
public void AddVetoableChangeListener(VetoableChangeListener arg0)
Parameters
ComputeVisibleRect(Rectangle)
public void ComputeVisibleRect(Rectangle arg0)
Parameters
CreateToolTip()
public JToolTip CreateToolTip()
Returns
FirePropertyChange(String, bool, bool)
public void FirePropertyChange(String arg0, bool arg1, bool arg2)
Parameters
FirePropertyChange(String, int, int)
public void FirePropertyChange(String arg0, int arg1, int arg2)
Parameters
GetActionForKeyStroke(KeyStroke)
public ActionListener GetActionForKeyStroke(KeyStroke arg0)
Parameters
Returns
GetActionForKeyStrokeDirect(KeyStroke)
public ActionListener GetActionForKeyStrokeDirect(KeyStroke arg0)
Parameters
Returns
GetClientProperty(object)
public object GetClientProperty(object arg0)
Parameters
Returns
GetConditionForKeyStroke(KeyStroke)
public int GetConditionForKeyStroke(KeyStroke arg0)
Parameters
Returns
GetInputMap(int)
public InputMap GetInputMap(int arg0)
Parameters
Returns
GetInsets(Insets)
public Insets GetInsets(Insets arg0)
Parameters
Returns
GetPopupLocation(MouseEvent)
public Point GetPopupLocation(MouseEvent arg0)
Parameters
arg0
MouseEvent
Returns
GetToolTipLocation(MouseEvent)
public Point GetToolTipLocation(MouseEvent arg0)
Parameters
arg0
MouseEvent
Returns
GetToolTipText(MouseEvent)
public String GetToolTipText(MouseEvent arg0)
Parameters
arg0
MouseEvent
Returns
GrabFocus()
public void GrabFocus()
IsLightweightComponent(Component)
public static bool IsLightweightComponent(Component arg0)
Parameters
Returns
IsOptimizedDrawingEnabled()
public bool IsOptimizedDrawingEnabled()
Returns
IsPaintingForPrint()
public bool IsPaintingForPrint()
Returns
IsPaintingTile()
public bool IsPaintingTile()
Returns
IsRequestFocusEnabled()
public bool IsRequestFocusEnabled()
Returns
PaintImmediately(Rectangle)
public void PaintImmediately(Rectangle arg0)
Parameters
PaintImmediately(int, int, int, int)
public void PaintImmediately(int arg0, int arg1, int arg2, int arg3)
Parameters
PutClientProperty(object, object)
public void PutClientProperty(object arg0, object arg1)
Parameters
RegisterKeyboardAction(ActionListener, String, KeyStroke, int)
public void RegisterKeyboardAction(ActionListener arg0, String arg1, KeyStroke arg2, int arg3)
Parameters
arg0
ActionListenerarg1
Stringarg2
KeyStrokearg3
int
RegisterKeyboardAction(ActionListener, KeyStroke, int)
public void RegisterKeyboardAction(ActionListener arg0, KeyStroke arg1, int arg2)
Parameters
arg0
ActionListenerarg1
KeyStrokearg2
int
RemoveAncestorListener(AncestorListener)
public void RemoveAncestorListener(AncestorListener arg0)
Parameters
RemoveVetoableChangeListener(VetoableChangeListener)
public void RemoveVetoableChangeListener(VetoableChangeListener arg0)
Parameters
Repaint(Rectangle)
public void Repaint(Rectangle arg0)
Parameters
RequestFocus(bool)
public bool RequestFocus(bool arg0)
Parameters
Returns
ResetKeyboardActions()
public void ResetKeyboardActions()
ScrollRectToVisible(Rectangle)
public void ScrollRectToVisible(Rectangle arg0)
Parameters
SetAlignmentX(float)
public void SetAlignmentX(float arg0)
Parameters
SetAlignmentY(float)
public void SetAlignmentY(float arg0)
Parameters
SetDoubleBuffered(bool)
public void SetDoubleBuffered(bool arg0)
Parameters
SetInputMap(int, InputMap)
public void SetInputMap(int arg0, InputMap arg1)
Parameters
SetOpaque(bool)
public void SetOpaque(bool arg0)
Parameters
SetRequestFocusEnabled(bool)
public void SetRequestFocusEnabled(bool arg0)
Parameters
UnregisterKeyboardAction(KeyStroke)
public void UnregisterKeyboardAction(KeyStroke arg0)
Parameters
UpdateUI()
public void UpdateUI()
Operators
implicit operator Serializable(JComponent)
Converter from JComponent to Serializable
public static implicit operator Serializable(JComponent t)