Java Doc for GVTAttributedCharacterIterator.java in  » Graphic-Library » batik » org » apache » batik » gvt » text » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Graphic Library » batik » org.apache.batik.gvt.text 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.batik.gvt.text.GVTAttributedCharacterIterator

All known Subclasses:   org.apache.batik.gvt.text.GVTACIImpl,
GVTAttributedCharacterIterator
public interface GVTAttributedCharacterIterator extends AttributedCharacterIterator(Code)
GVTAttributedCharacterIterator Used to implement SVG <tspan> and <text> attributes. This implementation is designed for efficient support of per-character attributes (i.e. single character attribute spans). It supports an extended set of TextAttributes, via inner class SVGAttributedCharacterIterator.TextAttributes.
author:
   Bill Haneman
version:
   $Id: GVTAttributedCharacterIterator.java 489226 2006-12-21 00:05:36Z cam $

Inner Class :class TextAttribute extends AttributedCharacterIterator.Attribute
Inner Class :interface AttributeFilter



Method Summary
 Objectclone()
    
 charcurrent()
     Get the character at the current position (as returned by getIndex()).
 charfirst()
     Sets the position to getBeginIndex().
 SetgetAllAttributeKeys()
     Get the keys of all attributes defined on the iterator's text range.
 ObjectgetAttribute(AttributedCharacterIterator.Attribute attribute)
     Get the value of the named attribute for the current character.
 MapgetAttributes()
     Returns a map with the attributes defined on the current character.
 intgetBeginIndex()
     Get the start index of the text.
 intgetEndIndex()
     Get the end index of the text.
 intgetIndex()
     Get the current index.
 intgetRunLimit()
     Get the index of the first character following the run with respect to all attributes containing the current character.
 intgetRunLimit(AttributedCharacterIterator.Attribute attribute)
     Get the index of the first character following the run with respect to the given attribute containing the current character.
 intgetRunLimit(Set attributes)
     Get the index of the first character following the run with respect to the given attributes containing the current character.
 intgetRunStart()
     Get the index of the first character of the run with respect to all attributes containing the current character.
 intgetRunStart(AttributedCharacterIterator.Attribute attribute)
     Get the index of the first character of the run with respect to the given attribute containing the current character.
 intgetRunStart(Set attributes)
     Get the index of the first character of the run with respect to the given attributes containing the current character.
 charlast()
     Sets the position to getEndIndex()-1 (getEndIndex() if the text is empty) and returns the character at that position.
 charnext()
     Increments the iterator's index by one, returning the next character.
 charprevious()
     Decrements the iterator's index by one and returns the character at the new index.
 voidsetAttributeArray(TextAttribute attr, Object[] attValues, int beginIndex, int endIndex)
     Sets values of a per-character attribute associated with the content string.
 charsetIndex(int position)
     Sets the position to the specified position in the text.
Parameters:
  position - The new (current) index into the text.
 voidsetString(String s)
     Sets this iterator's contents to an unattributed copy of String s.
 voidsetString(AttributedString s)
     Assigns this iterator's contents to be equivalent to AttributedString s.



Method Detail
clone
Object clone()(Code)
Create a copy of this iterator



current
char current()(Code)
Get the character at the current position (as returned by getIndex()).
Specified by: java.text.CharacterIterator.



first
char first()(Code)
Sets the position to getBeginIndex(). the character at the start index of the text.
Specified by: java.text.CharacterIterator.



getAllAttributeKeys
Set getAllAttributeKeys()(Code)
Get the keys of all attributes defined on the iterator's text range.



getAttribute
Object getAttribute(AttributedCharacterIterator.Attribute attribute)(Code)
Get the value of the named attribute for the current character.



getAttributes
Map getAttributes()(Code)
Returns a map with the attributes defined on the current character.



getBeginIndex
int getBeginIndex()(Code)
Get the start index of the text.
Specified by: java.text.CharacterIterator.



getEndIndex
int getEndIndex()(Code)
Get the end index of the text.
Specified by: java.text.CharacterIterator.



getIndex
int getIndex()(Code)
Get the current index.
Specified by: java.text.CharacterIterator.



getRunLimit
int getRunLimit()(Code)
Get the index of the first character following the run with respect to all attributes containing the current character.



getRunLimit
int getRunLimit(AttributedCharacterIterator.Attribute attribute)(Code)
Get the index of the first character following the run with respect to the given attribute containing the current character.



getRunLimit
int getRunLimit(Set attributes)(Code)
Get the index of the first character following the run with respect to the given attributes containing the current character.



getRunStart
int getRunStart()(Code)
Get the index of the first character of the run with respect to all attributes containing the current character.



getRunStart
int getRunStart(AttributedCharacterIterator.Attribute attribute)(Code)
Get the index of the first character of the run with respect to the given attribute containing the current character.
Parameters:
  attribute - The attribute for whose appearance the first offsetis requested.



getRunStart
int getRunStart(Set attributes)(Code)
Get the index of the first character of the run with respect to the given attributes containing the current character.
Parameters:
  attributes - the Set of attributes which begins at the returned index.



last
char last()(Code)
Sets the position to getEndIndex()-1 (getEndIndex() if the text is empty) and returns the character at that position.
Specified by: java.text.CharacterIterator.



next
char next()(Code)
Increments the iterator's index by one, returning the next character. the character at the new index.
Specified by: java.text.CharacterIterator.



previous
char previous()(Code)
Decrements the iterator's index by one and returns the character at the new index.
Specified by: java.text.CharacterIterator.



setAttributeArray
void setAttributeArray(TextAttribute attr, Object[] attValues, int beginIndex, int endIndex)(Code)
Sets values of a per-character attribute associated with the content string. Characters from beginIndex to endIndex (zero-offset) are assigned values for attribute key attr from the array attValues. If the length of attValues is less than character span (endIndex-beginIndex) the last value is duplicated; if attValues is longer than the character span the extra values are ignored. Note that if either beginIndex or endIndex are outside the bounds of the current character array they are clipped accordingly.



setIndex
char setIndex(int position)(Code)
Sets the position to the specified position in the text.
Parameters:
  position - The new (current) index into the text. the character at new index position.
Specified by: java.text.CharacterIterator.



setString
void setString(String s)(Code)
Sets this iterator's contents to an unattributed copy of String s.



setString
void setString(AttributedString s)(Code)
Assigns this iterator's contents to be equivalent to AttributedString s.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.