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 |
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 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) |
void |
zoomIn() |
void |
zoomOut() |
addComboDataColumnToModel, clearValidators, closeFrame, closeFrame, decorate, decorateUser, getConfig, getContext, getDecorator, getPropertiesToIgnore, initCheckBoxComboBox, isActionEnabled, listenValidationTableHasNoFatalError, listenValidatorValid, listModelIsModify, openFrame, openModalFrame, quitScreen2, registerValidators, 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, 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)
protected void addPanel(JPanel panel, int x, int y)
protected void displayPage(int pageNb,
float previousZoom,
int previousRotation)
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.