|
Eclipse Platform Kepler (4.3) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.equinox.bidi.custom.StructuredTextOffsets
public class StructuredTextOffsets
Provides various services related to managing the array of offsets where directional formatting characters should be inserted in a source string.
Constructor Summary | |
---|---|
StructuredTextOffsets()
Default constructor |
Method Summary | |
---|---|
void |
clear()
Marks that all entries in the offsets array are unused. |
int |
getCount()
Gets the number of used entries in the offsets array. |
int |
getOffset(int index)
Gets the value of a specified entry in the offsets array. |
int[] |
getOffsets()
Gets all and only the used offset entries. |
int |
getPrefixLength()
|
void |
insertOffset(StructuredTextCharTypes charTypes,
int offset)
Inserts an offset value in the offset array so that the array stays in ascending order. |
void |
setPrefixLength(int prefLen)
Stores the prefix length |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StructuredTextOffsets()
Method Detail |
---|
public int getPrefixLength()
public void setPrefixLength(int prefLen)
prefLen
- value assigned to the prefix lengthpublic int getCount()
public void clear()
public int getOffset(int index)
index
- the index of the entry of interest.
public void insertOffset(StructuredTextCharTypes charTypes, int offset)
charTypes
- an object whose methods can be useful to the
handler.offset
- the value to insert.public int[] getOffsets()
|
Eclipse Platform Kepler (4.3) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2012. All rights reserved.