|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectPApplet
org.seltar.Bytes2Web.PostToWeb
org.seltar.Bytes2Web.PDFToWeb
public class PDFToWeb
| Field Summary | |
|---|---|
int |
pageCount
|
boolean |
recording
|
| Constructor Summary | |
|---|---|
PDFToWeb(PApplet _papplet)
|
|
| Method Summary | |
|---|---|
void |
addPage()
Adds a page to the current recorder if it is recording Increments the current pageCount |
byte[] |
getBytes()
Special PDF getBytes, which gets the current bytearray for the pdf-recorder |
boolean |
isRecording()
Check to see if the recorder is on |
void |
post(java.lang.String project,
java.lang.String url,
java.lang.String filename,
boolean popup)
Special PDF post, which stops the recorder if it's on Also adds .pdf to the filename |
void |
save(java.lang.String filename)
Special PDF save, which stops the recorder if it's on Assumes the filename is valid |
void |
save(java.lang.String prefix,
boolean useDate)
Special PDF save, which stops the recorder if it's on Also adds date if requested, and .pdf to the filename |
void |
startRecording()
Starts the pdf-recorder |
void |
stopRecording()
Stops the pdf-recorder |
| Methods inherited from class org.seltar.Bytes2Web.PostToWeb |
|---|
_post, _post, _save, _save, _save |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int pageCount
public boolean recording
| Constructor Detail |
|---|
public PDFToWeb(PApplet _papplet)
| Method Detail |
|---|
public void startRecording()
public void addPage()
public void stopRecording()
public boolean isRecording()
public void post(java.lang.String project,
java.lang.String url,
java.lang.String filename,
boolean popup)
project - the project folderurl - the url to the file that recieves the datafilename - the filename this is file is supposed to havepopup - wether or not to open a link to the imagepublic void save(java.lang.String filename)
filename - the filename
public void save(java.lang.String prefix,
boolean useDate)
prefix - the filenameuseDate - prefix with datepublic byte[] getBytes()
getBytes in class PostToWeb
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||