Table of Contents

Class Segment

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

Segment()

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

public Segment()

Segment(char[], int, int)

public Segment(char[] arg0, int arg1, int arg2)

Parameters

arg0 char[]

char

arg1 int

int

arg2 int

int

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

Parameters

args object[]

Properties

BeginIndex

public int BeginIndex { get; }

Property Value

int

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

EndIndex

public int EndIndex { get; }

Property Value

int

Index

public int Index { get; }

Property Value

int

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

array

public char[] array { get; set; }

Property Value

char[]

count

public int count { get; set; }

Property Value

int

offset

public int offset { get; set; }

Property Value

int

Methods

CharAt(int)

public char CharAt(int arg0)

Parameters

arg0 int

int

Returns

char

char

Current()

public char Current()

Returns

char

char

First()

public char First()

Returns

char

char

IsPartialReturn()

public bool IsPartialReturn()

Returns

bool

bool

Last()

public char Last()

Returns

char

char

Length()

public int Length()

Returns

int

int

Next()

public char Next()

Returns

char

char

Previous()

public char Previous()

Returns

char

char

SetIndex(int)

public char SetIndex(int arg0)

Parameters

arg0 int

int

Returns

char

char

SetPartialReturn(bool)

public void SetPartialReturn(bool arg0)

Parameters

arg0 bool

bool

SubSequence(int, int)

public CharSequence SubSequence(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

CharSequence

CharSequence

Operators

implicit operator CharSequence(Segment)

Converter from Segment to CharSequence

public static implicit operator CharSequence(Segment t)

Parameters

t Segment

Returns

CharSequence

implicit operator Cloneable(Segment)

Converter from Segment to Cloneable

public static implicit operator Cloneable(Segment t)

Parameters

t Segment

Returns

Cloneable

implicit operator CharacterIterator(Segment)

Converter from Segment to CharacterIterator

public static implicit operator CharacterIterator(Segment t)

Parameters

t Segment

Returns

CharacterIterator