|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.icu.text.IndexCharacters
public class IndexCharacters
A set of characters for use as a UI "index", that is, a list of clickable characters (or character sequences) that allow the user to see a segment of a larger "target" list. That is, each character corresponds to a bucket in the target list, where everything in the bucket is greater than or equal to the character (according to the locale's collation). The intention is to have two main functions; one that produces an index list that is relatively static, and the other is a list that produces roughly equally-sized buckets. Only the first is currently provided.
The static list would be presented as something like
A B C D E F G H I J K L M N O P Q R S T U V W X Y ZIn the UI, an index character could be omitted if its bucket is empty. For example, if there is nothing in the bucket for Q, then Q could be omitted.
Important Notes:
Field Summary | |
---|---|
static char |
CGJ
|
Constructor Summary | |
---|---|
IndexCharacters(ULocale locale)
Create the index object. |
Method Summary | |
---|---|
java.util.Map |
getAlreadyIn()
As the index is built, items may be discarded from the exemplars. |
java.util.Collection |
getIndexCharacters()
Get the index characters. |
ULocale |
getLocale()
Get the locale |
java.util.List |
getNoDistinctSorting()
As the index is built, items may be discarded from the exemplars. |
java.util.List |
getNotAlphabetic()
As the index is built, items may be discarded from the exemplars. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final char CGJ
Constructor Detail |
---|
public IndexCharacters(ULocale locale)
locale
- Method Detail |
---|
public java.util.Collection getIndexCharacters()
public ULocale getLocale()
public java.util.Map getAlreadyIn()
public java.util.List getNoDistinctSorting()
public java.util.List getNotAlphabetic()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |