|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.area.Trait.ExternalLink
public static class Trait.ExternalLink
External Link trait structure
Constructor Summary | |
---|---|
Trait.ExternalLink(java.lang.String destination,
boolean newWindow)
Constructs an ExternalLink object with the given destination |
Method Summary | |
---|---|
java.lang.String |
getDestination()
Get the target/destination of the link |
protected static Trait.ExternalLink |
makeFromTraitValue(java.lang.String traitValue)
Create an ExternalLink from a trait value/attribute value in the
area tree |
boolean |
newWindow()
Check if the target has to be displayed in a new window |
java.lang.String |
toString()
Return a String representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Trait.ExternalLink(java.lang.String destination, boolean newWindow)
destination
- target of the linknewWindow
- true if the target should be opened in a new windowMethod Detail |
---|
protected static Trait.ExternalLink makeFromTraitValue(java.lang.String traitValue)
ExternalLink
from a trait value/attribute value in the
area tree
traitValue
- the value to use (should match the result of toString()
ExternalLink
instance corresponding to the given valuepublic java.lang.String getDestination()
public boolean newWindow()
true
if the target has to be displayed in a new windowpublic java.lang.String toString()
toString
in class java.lang.Object
String
of the form
"org.apache.fop.area.Trait.ExternalLink[dest=someURL,newWindow=false]"
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |