This a single thread in a PDF document.
Method from org.apache.pdfbox.pdmodel.interactive.pagenavigation.PDThread Detail: |
public COSBase getCOSObject() {
return thread;
}
Convert this standard java object to a COS object. |
public COSDictionary getDictionary() {
return thread;
}
This will get the underlying dictionary that this object wraps. |
public PDThreadBead getFirstBead() {
PDThreadBead retval = null;
COSDictionary bead = (COSDictionary)thread.getDictionaryObject( "F" );
if( bead != null )
{
retval = new PDThreadBead( bead );
}
return retval;
}
Get the first bead in the thread, or null if it has not been set yet. This
is a required field for this object. |
public PDDocumentInformation getThreadInfo() {
PDDocumentInformation retval = null;
COSDictionary info = (COSDictionary)thread.getDictionaryObject( "I" );
if( info != null )
{
retval = new PDDocumentInformation( info );
}
return retval;
}
Get info about the thread, or null if there is nothing. |
public void setFirstBead(PDThreadBead bead) {
if( bead != null )
{
bead.setThread( this );
}
thread.setItem( "F", bead );
}
This will set the first bead in the thread. When this is set it will
also set the thread property of the bead object. |
public void setThreadInfo(PDDocumentInformation info) {
thread.setItem( "I", info );
}
Set the thread info, can be null. |