Class Segment
public class Segment : JVMBridgeBase<Segment>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Segment>Segment
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Segment>.IsAssignableFrom(IJavaType)JVMBridgeBase<Segment>.IsAssignableFrom<T>()JVMBridgeBase<Segment>.Execute<T>(params T[])JVMBridgeBase<Segment>.DynBridgeClazzJVMBridgeBase<Segment>.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
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
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
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
EndIndex
public int EndIndex { get; }
Property Value
Index
public int Index { 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
array
public char[] array { get; set; }
Property Value
- char[]
count
public int count { get; set; }
Property Value
offset
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/text/Segment.html#offset
public int offset { get; set; }
Property Value
Methods
CharAt(int)
public char CharAt(int arg0)
Parameters
Returns
Current()
public char Current()
Returns
First()
public char First()
Returns
IsPartialReturn()
public bool IsPartialReturn()
Returns
Last()
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/text/Segment.html#last()
public char Last()
Returns
Length()
public int Length()
Returns
Next()
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/text/Segment.html#next()
public char Next()
Returns
Previous()
public char Previous()
Returns
SetIndex(int)
public char SetIndex(int arg0)
Parameters
Returns
SetPartialReturn(bool)
public void SetPartialReturn(bool arg0)
Parameters
SubSequence(int, int)
public CharSequence SubSequence(int arg0, int arg1)
Parameters
Returns
Operators
implicit operator CharSequence(Segment)
Converter from Segment to CharSequence
public static implicit operator CharSequence(Segment t)
Parameters
t
Segment
Returns
implicit operator Cloneable(Segment)
public static implicit operator Cloneable(Segment t)
Parameters
t
Segment
Returns
implicit operator CharacterIterator(Segment)
Converter from Segment to CharacterIterator
public static implicit operator CharacterIterator(Segment t)
Parameters
t
Segment