Class DefaultCaret
public class DefaultCaret : Rectangle, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<RectangularShape>DefaultCaret
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<RectangularShape>.IsAssignableFrom(IJavaType)JVMBridgeBase<RectangularShape>.IsAssignableFrom<T>()JVMBridgeBase<RectangularShape>.Execute<T>(params T[])JVMBridgeBase<RectangularShape>.DynBridgeClazzJVMBridgeBase<RectangularShape>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
DefaultCaret()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public DefaultCaret()
DefaultCaret(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 DefaultCaret(params object[] args)
Parameters
args
object[]
Properties
ALWAYS_UPDATE
public static int ALWAYS_UPDATE { get; }
Property Value
BlinkRate
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/text/DefaultCaret.html#getBlinkRate() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/text/DefaultCaret.html#setBlinkRate(int)
public int BlinkRate { get; set; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
ChangeListeners
public ChangeListener[] ChangeListeners { get; }
Property Value
Dot
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/text/DefaultCaret.html#getDot() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/text/DefaultCaret.html#setDot(int)
public int Dot { get; set; }
Property Value
DotBias
public Position.Bias DotBias { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
MagicCaretPosition
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/text/DefaultCaret.html#getMagicCaretPosition() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/text/DefaultCaret.html#setMagicCaretPosition(java.awt.Point)
public Point MagicCaretPosition { get; set; }
Property Value
Mark
public int Mark { get; }
Property Value
MarkBias
public Position.Bias MarkBias { get; }
Property Value
NEVER_UPDATE
public static int NEVER_UPDATE { get; }
Property Value
UPDATE_WHEN_ON_EDT
public static int UPDATE_WHEN_ON_EDT { get; }
Property Value
UpdatePolicy
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/text/DefaultCaret.html#getUpdatePolicy() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/text/DefaultCaret.html#setUpdatePolicy(int)
public int UpdatePolicy { get; set; }
Property Value
Methods
AddChangeListener(ChangeListener)
public void AddChangeListener(ChangeListener arg0)
Parameters
Deinstall(JTextComponent)
public void Deinstall(JTextComponent arg0)
Parameters
FocusGained(FocusEvent)
public void FocusGained(FocusEvent arg0)
Parameters
arg0
FocusEvent
FocusLost(FocusEvent)
public void FocusLost(FocusEvent arg0)
Parameters
arg0
FocusEvent
GetListeners<T>(Class)
public T[] GetListeners<T>(Class arg0) where T : IEventListener, new()
Parameters
Returns
- T[]
T
Type Parameters
Install(JTextComponent)
public void Install(JTextComponent arg0)
Parameters
IsActive()
public bool IsActive()
Returns
IsSelectionVisible()
public bool IsSelectionVisible()
Returns
IsVisible()
public bool IsVisible()
Returns
MouseClicked(MouseEvent)
public void MouseClicked(MouseEvent arg0)
Parameters
arg0
MouseEvent
MouseDragged(MouseEvent)
public void MouseDragged(MouseEvent arg0)
Parameters
arg0
MouseEvent
MouseEntered(MouseEvent)
public void MouseEntered(MouseEvent arg0)
Parameters
arg0
MouseEvent
MouseExited(MouseEvent)
public void MouseExited(MouseEvent arg0)
Parameters
arg0
MouseEvent
MouseMoved(MouseEvent)
public void MouseMoved(MouseEvent arg0)
Parameters
arg0
MouseEvent
MousePressed(MouseEvent)
public void MousePressed(MouseEvent arg0)
Parameters
arg0
MouseEvent
MouseReleased(MouseEvent)
public void MouseReleased(MouseEvent arg0)
Parameters
arg0
MouseEvent
MoveDot(int)
public void MoveDot(int arg0)
Parameters
MoveDot(int, Bias)
public void MoveDot(int arg0, Position.Bias arg1)
Parameters
Paint(Graphics)
public void Paint(Graphics arg0)
Parameters
RemoveChangeListener(ChangeListener)
public void RemoveChangeListener(ChangeListener arg0)
Parameters
SetDot(int, Bias)
public void SetDot(int arg0, Position.Bias arg1)
Parameters
SetSelectionVisible(bool)
public void SetSelectionVisible(bool arg0)
Parameters
SetVisible(bool)
public void SetVisible(bool arg0)
Parameters
Operators
implicit operator FocusListener(DefaultCaret)
Converter from DefaultCaret to FocusListener
public static implicit operator FocusListener(DefaultCaret t)
Parameters
Returns
implicit operator MouseListener(DefaultCaret)
Converter from DefaultCaret to MouseListener
public static implicit operator MouseListener(DefaultCaret t)
Parameters
Returns
implicit operator MouseMotionListener(DefaultCaret)
Converter from DefaultCaret to MouseMotionListener
public static implicit operator MouseMotionListener(DefaultCaret t)
Parameters
Returns
implicit operator Caret(DefaultCaret)
Converter from DefaultCaret to Caret
public static implicit operator Caret(DefaultCaret t)