Table of Contents

Class DefaultCaret

Namespace
Javax.Swing.Text
Assembly
MASES.JNet.dll
public class DefaultCaret : Rectangle, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<RectangularShape>
DefaultCaret
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<RectangularShape>.IsAssignableFrom(IJavaType)
JVMBridgeBase<RectangularShape>.IsAssignableFrom<T>()
JVMBridgeBase<RectangularShape>.Execute<T>(params T[])
JVMBridgeBase<RectangularShape>.DynBridgeClazz
JVMBridgeBase<RectangularShape>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.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

int

BlinkRate

public int BlinkRate { get; set; }

Property Value

int

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

ChangeListeners

public ChangeListener[] ChangeListeners { get; }

Property Value

ChangeListener[]

Dot

public int Dot { get; set; }

Property Value

int

DotBias

public Position.Bias DotBias { get; }

Property Value

Position.Bias

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

MagicCaretPosition

public Point MagicCaretPosition { get; set; }

Property Value

Point

Mark

public int Mark { get; }

Property Value

int

MarkBias

public Position.Bias MarkBias { get; }

Property Value

Position.Bias

NEVER_UPDATE

public static int NEVER_UPDATE { get; }

Property Value

int

UPDATE_WHEN_ON_EDT

public static int UPDATE_WHEN_ON_EDT { get; }

Property Value

int

UpdatePolicy

public int UpdatePolicy { get; set; }

Property Value

int

Methods

AddChangeListener(ChangeListener)

public void AddChangeListener(ChangeListener arg0)

Parameters

arg0 ChangeListener

ChangeListener

Deinstall(JTextComponent)

public void Deinstall(JTextComponent arg0)

Parameters

arg0 JTextComponent

JTextComponent

FocusGained(FocusEvent)

public void FocusGained(FocusEvent arg0)

Parameters

arg0 FocusEvent

FocusEvent

FocusLost(FocusEvent)

public void FocusLost(FocusEvent arg0)

Parameters

arg0 FocusEvent

FocusEvent

GetListeners<T>(Class)

public T[] GetListeners<T>(Class arg0) where T : IEventListener, new()

Parameters

arg0 Class

Class

Returns

T[]

T

Type Parameters

T

IEventListener

Install(JTextComponent)

public void Install(JTextComponent arg0)

Parameters

arg0 JTextComponent

JTextComponent

IsActive()

public bool IsActive()

Returns

bool

bool

IsSelectionVisible()

public bool IsSelectionVisible()

Returns

bool

bool

IsVisible()

public bool IsVisible()

Returns

bool

bool

MouseClicked(MouseEvent)

public void MouseClicked(MouseEvent arg0)

Parameters

arg0 MouseEvent

MouseEvent

MouseDragged(MouseEvent)

public void MouseDragged(MouseEvent arg0)

Parameters

arg0 MouseEvent

MouseEvent

MouseEntered(MouseEvent)

public void MouseEntered(MouseEvent arg0)

Parameters

arg0 MouseEvent

MouseEvent

MouseExited(MouseEvent)

public void MouseExited(MouseEvent arg0)

Parameters

arg0 MouseEvent

MouseEvent

MouseMoved(MouseEvent)

public void MouseMoved(MouseEvent arg0)

Parameters

arg0 MouseEvent

MouseEvent

MousePressed(MouseEvent)

public void MousePressed(MouseEvent arg0)

Parameters

arg0 MouseEvent

MouseEvent

MouseReleased(MouseEvent)

public void MouseReleased(MouseEvent arg0)

Parameters

arg0 MouseEvent

MouseEvent

MoveDot(int)

public void MoveDot(int arg0)

Parameters

arg0 int

int

MoveDot(int, Bias)

public void MoveDot(int arg0, Position.Bias arg1)

Parameters

arg0 int

int

arg1 Position.Bias

Position.Bias

Paint(Graphics)

public void Paint(Graphics arg0)

Parameters

arg0 Graphics

Graphics

RemoveChangeListener(ChangeListener)

public void RemoveChangeListener(ChangeListener arg0)

Parameters

arg0 ChangeListener

ChangeListener

SetDot(int, Bias)

public void SetDot(int arg0, Position.Bias arg1)

Parameters

arg0 int

int

arg1 Position.Bias

Position.Bias

SetSelectionVisible(bool)

public void SetSelectionVisible(bool arg0)

Parameters

arg0 bool

bool

SetVisible(bool)

public void SetVisible(bool arg0)

Parameters

arg0 bool

bool

Operators

implicit operator FocusListener(DefaultCaret)

Converter from DefaultCaret to FocusListener

public static implicit operator FocusListener(DefaultCaret t)

Parameters

t DefaultCaret

Returns

FocusListener

implicit operator MouseListener(DefaultCaret)

Converter from DefaultCaret to MouseListener

public static implicit operator MouseListener(DefaultCaret t)

Parameters

t DefaultCaret

Returns

MouseListener

implicit operator MouseMotionListener(DefaultCaret)

public static implicit operator MouseMotionListener(DefaultCaret t)

Parameters

t DefaultCaret

Returns

MouseMotionListener

implicit operator Caret(DefaultCaret)

Converter from DefaultCaret to Caret

public static implicit operator Caret(DefaultCaret t)

Parameters

t DefaultCaret

Returns

Caret