| java.lang.Object org.jfree.report.Anchor
Anchor | public class Anchor implements Serializable(Code) | | An anchor is a possible target for external hyperlinks.
In HTML anchors would be produced by using <a name="anchorname">. This
class is immutable.
author: Thomas Morgner See Also: AnchorElement |
Constructor Summary | |
public | Anchor(String name) Creates a new anchor with the given name. |
Method Summary | |
public boolean | equals(Object obj) Checks, whether the given object is an anchor with the same name as this one.
Parameters: obj - the other object. | public String | getName() Returns the name of the anchor. | public int | hashCode() Computes a hashcode for this anchor. |
Anchor | public Anchor(String name)(Code) | | Creates a new anchor with the given name.
Parameters: name - the name of the anchor. throws: NullPointerException - if the given name is null. |
equals | public boolean equals(Object obj)(Code) | | Checks, whether the given object is an anchor with the same name as this one.
Parameters: obj - the other object. true, if the object is equal to this one, false otherwise. |
getName | public String getName()(Code) | | Returns the name of the anchor.
the name |
hashCode | public int hashCode()(Code) | | Computes a hashcode for this anchor.
the hashcode. |
|
|