org.icepdf.core.pobjects.actions
Class URIAction
java.lang.Object
org.icepdf.core.pobjects.Dictionary
org.icepdf.core.pobjects.actions.Action
org.icepdf.core.pobjects.actions.URIAction
public class URIAction
- extends Action
The uniform resource identifier (URI) action represents destination
that is a hypertext link
The URI can be extracted from this object so that the content can
be loaded in a web browser. ICEpdf does not currently support image map
URI's.
- Since:
- 2.6
- Author:
- ICEsoft Technologies, Inc.
|
Constructor Summary |
URIAction(Library l,
java.util.HashMap h)
Creates a new instance of a Action. |
|
Method Summary |
java.lang.String |
getURI()
Gets the Uniform resource identifier to resolve, encoded in 7-bit ASCII. |
boolean |
isMap()
Gets a flag specifying whether to track thee mouse poisition when the
URI is resolved. |
void |
setURI(java.lang.String URI)
Sets the URI string associated witht this action. |
| Methods inherited from class org.icepdf.core.pobjects.Dictionary |
getEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, init, isDeleted, isNew, setDeleted, setNew, setPObjectReference, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
URI_KEY
public static final Name URI_KEY
URIAction
public URIAction(Library l,
java.util.HashMap h)
- Creates a new instance of a Action.
- Parameters:
l - document library.h - Action dictionary entries.
setURI
public void setURI(java.lang.String URI)
- Sets the URI string associated witht this action.
- Parameters:
URI - an string value except null.
getURI
public java.lang.String getURI()
- Gets the Uniform resource identifier to resolve, encoded in 7-bit ASCII.
- Returns:
- uniform resouce.
isMap
public boolean isMap()
- Gets a flag specifying whether to track thee mouse poisition when the
URI is resolved. Default value is false.
- Returns:
- true if tmouse poiiin is to be called.