Java Doc for Anchor.java in  » PDF » pdf-itext » com » lowagie » 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 » PDF » pdf itext » com.lowagie.text 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.util.ArrayList
   com.lowagie.text.Phrase
      com.lowagie.text.Anchor

Anchor
public class Anchor extends Phrase (Code)
An Anchor can be a reference or a destination of a reference.

An Anchor is a special kind of Phrase. It is constructed in the same way.

Example:

 Anchor anchor = new Anchor("this is a link");
 anchor.setName("LINK");
 anchor.setReference("http://www.lowagie.com");
 

See Also:   Element
See Also:   Phrase


Field Summary
protected  Stringname
     This is the name of the Anchor.
protected  Stringreference
     This is the reference of the Anchor.

Constructor Summary
public  Anchor()
     Constructs an Anchor without specifying a leading.
public  Anchor(float leading)
     Constructs an Anchor with a certain leading.
public  Anchor(Chunk chunk)
     Constructs an Anchor with a certain Chunk.
public  Anchor(String string)
     Constructs an Anchor with a certain String.
public  Anchor(String string, Font font)
     Constructs an Anchor with a certain String and a certain Font.
public  Anchor(float leading, Chunk chunk)
     Constructs an Anchor with a certain Chunk and a certain leading.
public  Anchor(float leading, String string)
     Constructs an Anchor with a certain leading and a certain String.
public  Anchor(float leading, String string, Font font)
     Constructs an Anchor with a certain leading, a certain String and a certain Font.
public  Anchor(Phrase phrase)
     Constructs an Anchor with a certain Phrase.
public  Anchor(java.util.Properties attributes)
     Returns an Anchor that has been constructed taking in account the value of some attributes.

Method Summary
public  ArrayListgetChunks()
     Gets all the chunks in this element.
public  StringgetName()
     Returns the name of this Anchor.
public  StringgetReference()
     Gets the reference of this Anchor.
public  URLgetUrl()
     Gets the reference of this Anchor.
public  Stringname()
     Returns the name of this Anchor.
public  booleanprocess(ElementListener listener)
     Processes the element by adding it (or the different parts) to an ElementListener.
public  Stringreference()
     Gets the reference of this Anchor.
public  voidsetName(String name)
     Sets the name of this Anchor.
public  voidsetReference(String reference)
     Sets the reference of this Anchor.
public  inttype()
     Gets the type of the text element.
public  URLurl()
     Gets the reference of this Anchor.

Field Detail
name
protected String name(Code)
This is the name of the Anchor.



reference
protected String reference(Code)
This is the reference of the Anchor.




Constructor Detail
Anchor
public Anchor()(Code)
Constructs an Anchor without specifying a leading.



Anchor
public Anchor(float leading)(Code)
Constructs an Anchor with a certain leading.
Parameters:
  leading - the leading



Anchor
public Anchor(Chunk chunk)(Code)
Constructs an Anchor with a certain Chunk.
Parameters:
  chunk - a Chunk



Anchor
public Anchor(String string)(Code)
Constructs an Anchor with a certain String.
Parameters:
  string - a String



Anchor
public Anchor(String string, Font font)(Code)
Constructs an Anchor with a certain String and a certain Font.
Parameters:
  string - a String
Parameters:
  font - a Font



Anchor
public Anchor(float leading, Chunk chunk)(Code)
Constructs an Anchor with a certain Chunk and a certain leading.
Parameters:
  leading - the leading
Parameters:
  chunk - a Chunk



Anchor
public Anchor(float leading, String string)(Code)
Constructs an Anchor with a certain leading and a certain String.
Parameters:
  leading - the leading
Parameters:
  string - a String



Anchor
public Anchor(float leading, String string, Font font)(Code)
Constructs an Anchor with a certain leading, a certain String and a certain Font.
Parameters:
  leading - the leading
Parameters:
  string - a String
Parameters:
  font - a Font



Anchor
public Anchor(Phrase phrase)(Code)
Constructs an Anchor with a certain Phrase.
Parameters:
  phrase - a Phrase



Anchor
public Anchor(java.util.Properties attributes)(Code)
Returns an Anchor that has been constructed taking in account the value of some attributes.
Parameters:
  attributes - Some attributes




Method Detail
getChunks
public ArrayList getChunks()(Code)
Gets all the chunks in this element. an ArrayList



getName
public String getName()(Code)
Returns the name of this Anchor. a name



getReference
public String getReference()(Code)
Gets the reference of this Anchor. a reference



getUrl
public URL getUrl()(Code)
Gets the reference of this Anchor. an URL



name
public String name()(Code)
Returns the name of this Anchor. a nameAnchor.getName()



process
public boolean process(ElementListener listener)(Code)
Processes the element by adding it (or the different parts) to an ElementListener.
Parameters:
  listener - an ElementListener true if the element was processed successfully



reference
public String reference()(Code)
Gets the reference of this Anchor. a referenceAnchor.getReference()



setName
public void setName(String name)(Code)
Sets the name of this Anchor.
Parameters:
  name - a new name



setReference
public void setReference(String reference)(Code)
Sets the reference of this Anchor.
Parameters:
  reference - a new reference



type
public int type()(Code)
Gets the type of the text element. a type



url
public URL url()(Code)
Gets the reference of this Anchor. an URLAnchor.getUrl()



Fields inherited from com.lowagie.text.Phrase
protected Font font(Code)(Java Doc)
protected float leading(Code)(Java Doc)

Methods inherited from com.lowagie.text.Phrase
public void add(int index, Object o)(Code)(Java Doc)
public boolean add(Object o)(Code)(Java Doc)
public boolean addAll(Collection collection)(Code)(Java Doc)
protected boolean addChunk(Chunk chunk)(Code)(Java Doc)
protected void addSpecial(Object object)(Code)(Java Doc)
public String content()(Code)(Java Doc)
public Font font()(Code)(Java Doc)
public ArrayList getChunks()(Code)(Java Doc)
public String getContent()(Code)(Java Doc)
public Font getFont()(Code)(Java Doc)
final public static Phrase getInstance(String string)(Code)(Java Doc)
final public static Phrase getInstance(int leading, String string)(Code)(Java Doc)
final public static Phrase getInstance(int leading, String string, Font font)(Code)(Java Doc)
public float getLeading()(Code)(Java Doc)
public boolean hasLeading()(Code)(Java Doc)
public boolean isEmpty()(Code)(Java Doc)
public float leading()(Code)(Java Doc)
public boolean leadingDefined()(Code)(Java Doc)
public boolean process(ElementListener listener)(Code)(Java Doc)
public void setFont(Font font)(Code)(Java Doc)
public void setLeading(float leading)(Code)(Java Doc)
public int type()(Code)(Java Doc)

Methods inherited from java.util.ArrayList
public boolean add(E e)(Code)(Java Doc)
public void add(int index, E element)(Code)(Java Doc)
public boolean addAll(Collection<? extends E> c)(Code)(Java Doc)
public boolean addAll(int index, Collection<? extends E> c)(Code)(Java Doc)
public void clear()(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
public boolean contains(Object o)(Code)(Java Doc)
public void ensureCapacity(int minCapacity)(Code)(Java Doc)
public E get(int index)(Code)(Java Doc)
public int indexOf(Object o)(Code)(Java Doc)
public boolean isEmpty()(Code)(Java Doc)
public Iterator<E> iterator()(Code)(Java Doc)
public int lastIndexOf(Object o)(Code)(Java Doc)
public ListIterator<E> listIterator(int index)(Code)(Java Doc)
public ListIterator<E> listIterator()(Code)(Java Doc)
public E remove(int index)(Code)(Java Doc)
public boolean remove(Object o)(Code)(Java Doc)
public boolean removeAll(Collection c)(Code)(Java Doc)
protected void removeRange(int fromIndex, int toIndex)(Code)(Java Doc)
public boolean retainAll(Collection c)(Code)(Java Doc)
public E set(int index, E element)(Code)(Java Doc)
public int size()(Code)(Java Doc)
public List<E> subList(int fromIndex, int toIndex)(Code)(Java Doc)
public Object[] toArray()(Code)(Java Doc)
public T[] toArray(T[] a)(Code)(Java Doc)
public void trimToSize()(Code)(Java Doc)

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