public class PDFEditorUIHandler extends AbstractFaxToMailUIHandler<PDFEditorUIModel,PDFEditorUI> implements org.nuiton.jaxx.application.swing.util.CloseableUI, org.nuiton.jaxx.application.swing.util.Cancelable
| Modifier and Type | Field and Description |
|---|---|
protected jaxx.runtime.swing.ComponentMover |
cm |
protected jaxx.runtime.swing.ComponentResizer |
cr |
protected org.apache.pdfbox.pdmodel.PDDocument |
pdDocument |
listModelListener| Constructor and Description |
|---|
PDFEditorUIHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCross(int x,
int y) |
void |
addEditionComponent(MouseEvent event) |
void |
addHighlighter(int x,
int y) |
void |
addHLine(int x,
int y) |
void |
addNote(int x,
int y) |
protected void |
addPanel(JPanel panel,
int x,
int y) |
void |
addStamp(Stamp stamp,
int x,
int y) |
void |
addVLine(int x,
int y) |
void |
afterInit(PDFEditorUI pdfEditorUI) |
void |
cancel() |
File |
convertFileToPdf(AttachmentFile attachmentFile) |
protected void |
displayPage(int pageNb,
float previousZoom,
int previousRotation) |
protected void |
displayPageCross(Insets insets,
Rectangle rect,
float zoomRatio,
int rotationDiff,
boolean orientation180,
PDFEditorCrossUI panel) |
protected void |
displayPageHighlighter(Insets insets,
Rectangle rect,
float zoomRatio,
int rotationDiff,
boolean orientation180,
PDFEditorHighlighterUI panel) |
protected void |
displayPageImageStamp(float zoom,
Insets insets,
Rectangle rect,
float zoomRatio,
int rotationDiff,
PDFEditorStampImageUI panel) |
protected void |
displayPageLine(Insets insets,
Rectangle rect,
float zoomRatio,
int rotationDiff,
boolean orientation180,
PDFEditorLineUI panel) |
protected void |
displayPageNote(float zoom,
Insets insets,
Rectangle rect,
float zoomRatio,
int rotationDiff,
PDFEditorNoteUI panel) |
protected void |
displayPageTextStamp(float zoom,
Insets insets,
Rectangle rect,
float zoomRatio,
int rotationDiff,
PDFEditorStampTextUI panel) |
protected JComponent |
getComponentToFocus() |
Component |
getTopestUI() |
jaxx.runtime.validator.swing.SwingValidator<PDFEditorUIModel> |
getValidator() |
void |
onCloseUI() |
void |
print() |
boolean |
quitUI() |
void |
rotateAntiClockwise() |
void |
rotateClockwise() |
protected void |
updatePageNumber(Integer pageNb,
Integer prevPageNb) |
protected void |
updateStamps(Collection<Stamp> stamps) |
void |
zoomIn() |
void |
zoomOut() |
addComboDataColumnToModel, closeFrame, closeFrame, decorate, decorateUser, getConfig, getContext, getDecorator, getPropertiesToIgnore, initBeanFilterableComboBox, initCheckBoxComboBox, isActionEnabled, listenValidatorValid, listModelIsModify, openFrame, openModalFrame, quitScreen2, setText, setText, showInformationMessageaddAutoSelectOnFocus, addBooleanColumnToModel, addColumnToModel, addColumnToModel, addFloatColumnToModel, addFloatColumnToModel, addHighlighters, addIntegerColumnToModel, addIntegerColumnToModel, affectKeyStroke, askCancelEditBeforeLeaving, askSaveBeforeLeaving, autoSelectRowInTable, beforeInit, beforeOpenPopup, changeValidatorContext, closeDialog, decorate, getListValidators, getModel, getParentContainer, getSimpleValidators, getUI, incrementsMessage, initBeanComboBox, initBeanComboBox, initBeanFilterableComboBox, initBeanList, initBeanList, initButton, initComponentToFocus, initCoordinateDMDEditor, initCoordinateDMSEditor, initDatePicker, initLabel, initNumberEditor, initScrollPane, initTextField, initTimeEditor, initUI, initUIComponent, initValidators, isAutoSelectOnFocus, newComboModel, newListCellRender, newListCellRender, newListCellRender, newNumberCellRenderer, newTableCellRender, newTableCellRender, newTableCellRender, openDialog, openRowMenu, quitInternalScreen, quitScreen, quitScreen, selectListData, setBoolean, setDate, setFile, showSuccessMessage, useListValidators, useSimpleValidatorsprotected jaxx.runtime.swing.ComponentMover cm
protected jaxx.runtime.swing.ComponentResizer cr
protected org.apache.pdfbox.pdmodel.PDDocument pdDocument
public void afterInit(PDFEditorUI pdfEditorUI)
afterInit in interface jaxx.runtime.spi.UIHandler<PDFEditorUI>protected JComponent getComponentToFocus()
getComponentToFocus in class org.nuiton.jaxx.application.swing.AbstractApplicationUIHandler<PDFEditorUIModel,PDFEditorUI>public jaxx.runtime.validator.swing.SwingValidator<PDFEditorUIModel> getValidator()
getValidator in class org.nuiton.jaxx.application.swing.AbstractApplicationUIHandler<PDFEditorUIModel,PDFEditorUI>public boolean quitUI()
quitUI in interface org.nuiton.jaxx.application.swing.util.CloseableUIpublic Component getTopestUI()
getTopestUI in class AbstractFaxToMailUIHandler<PDFEditorUIModel,PDFEditorUI>public void onCloseUI()
onCloseUI in class org.nuiton.jaxx.application.swing.AbstractApplicationUIHandler<PDFEditorUIModel,PDFEditorUI>public void addEditionComponent(MouseEvent event)
public void addNote(int x,
int y)
public void addCross(int x,
int y)
public void addHLine(int x,
int y)
public void addVLine(int x,
int y)
public void addHighlighter(int x,
int y)
public void addStamp(Stamp stamp, int x, int y)
protected void addPanel(JPanel panel, int x, int y)
protected void displayPage(int pageNb,
float previousZoom,
int previousRotation)
protected void displayPageNote(float zoom,
Insets insets,
Rectangle rect,
float zoomRatio,
int rotationDiff,
PDFEditorNoteUI panel)
protected void displayPageHighlighter(Insets insets, Rectangle rect, float zoomRatio, int rotationDiff, boolean orientation180, PDFEditorHighlighterUI panel)
protected void displayPageLine(Insets insets, Rectangle rect, float zoomRatio, int rotationDiff, boolean orientation180, PDFEditorLineUI panel)
protected void displayPageCross(Insets insets, Rectangle rect, float zoomRatio, int rotationDiff, boolean orientation180, PDFEditorCrossUI panel)
protected void displayPageTextStamp(float zoom,
Insets insets,
Rectangle rect,
float zoomRatio,
int rotationDiff,
PDFEditorStampTextUI panel)
protected void displayPageImageStamp(float zoom,
Insets insets,
Rectangle rect,
float zoomRatio,
int rotationDiff,
PDFEditorStampImageUI panel)
protected void updateStamps(Collection<Stamp> stamps)
public File convertFileToPdf(AttachmentFile attachmentFile) throws IOException, com.itextpdf.text.DocumentException
IOExceptioncom.itextpdf.text.DocumentExceptionpublic void zoomOut()
public void zoomIn()
public void rotateClockwise()
public void rotateAntiClockwise()
public void print()
public void cancel()
cancel in interface org.nuiton.jaxx.application.swing.util.CancelableCopyright © 2014–2015 CodeLutin. All rights reserved.