public class ActionObject extends Object
Constructor and Description |
---|
ActionObject(PdfName type) |
Modifier and Type | Method and Description |
---|---|
DestObject |
getDestination()
Gets Dest, inner element of link, GoTo, and GoToR elements.
|
String |
getFileOriginalName()
Gets the string value of OriginalName, required attribute of File inner element of GoToR or Launch element.
|
PdfName |
getNameAction()
Gets the value of Name, required attribute of Named element.
|
PdfName |
getType()
Returns the type of inner action element.
|
PdfString |
getUri()
Gets the string value of URI elements.
|
boolean |
isMap()
Gets IsMap, optional attribute of URI element.
|
boolean |
isNewWindow()
Sets the boolean value of NewWindow, optional attribute of Launch element.
|
ActionObject |
setDestination(DestObject destination)
Sets Dest, inner element of link, GoTo, and GoToR elements.
|
ActionObject |
setFileOriginalName(String fileOriginalName)
Sets the string value of OriginalName, required attribute of File inner element of GoToR or Launch element.
|
ActionObject |
setMap(boolean map)
Sets IsMap, optional attribute of URI element.
|
ActionObject |
setNameAction(PdfName nameAction)
Sets the value of Name, required attribute of Named element.
|
ActionObject |
setNewWindow(boolean newWindow)
Gets the boolean value of NewWindow, optional attribute of Launch element.
|
ActionObject |
setType(PdfName type)
Sets the type of inner action element.
|
ActionObject |
setUri(PdfString uri)
Sets the string value of URI elements.
|
public ActionObject(PdfName type)
public PdfName getType()
PdfName.URI
, PdfName.Launch
, PdfName.GoTo
, PdfName.GoToR
, PdfName.Named
.
public ActionObject setType(PdfName type)
PdfName.URI
, PdfName.Launch
, PdfName.GoTo
, PdfName.GoToR
, PdfName.Named
.
public PdfString getUri()
public ActionObject setUri(PdfString uri)
public boolean isMap()
public ActionObject setMap(boolean map)
public PdfName getNameAction()
public ActionObject setNameAction(PdfName nameAction)
public String getFileOriginalName()
public ActionObject setFileOriginalName(String fileOriginalName)
public boolean isNewWindow()
public ActionObject setNewWindow(boolean newWindow)
public DestObject getDestination()
public ActionObject setDestination(DestObject destination)
Copyright © 1998–2020 iText Group NV. All rights reserved.