|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.Anchor
public class Anchor
An anchor is a possible target for external hyperlinks.
In HTML anchors would be produced by using <a name="anchorname">. This class is immutable.
AnchorElement
,
Serialized FormConstructor Summary | |
---|---|
Anchor(String name)
Deprecated. Creates a new anchor with the given name. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Deprecated. Checks whether the given object is an anchor with the same name as this one. |
String |
getName()
Deprecated. Returns the name of the anchor. |
int |
hashCode()
Deprecated. Computes a hashcode for this anchor. |
String |
toString()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Anchor(String name)
name
- the name of the anchor.
NullPointerException
- if the given name is null.Method Detail |
---|
public String getName()
public boolean equals(Object obj)
equals
in class Object
obj
- the other object.
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |