Interface ActionHandler
- All Known Implementing Classes:
DefaultActionHandler
,org.jpedal.objects.acroforms.actions.EmptyActionHandler
public interface ActionHandler
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionvoid
A
(Object e, FormObject formObject, int eventType) A action when pressed in active area ?void
Bl
(Object e, FormObject formObj) Bl action when input focus lostvoid
C
(FormObject formObject) C action when another field changes (recalculate this field) [javascript] should not be called other than from internal methods to action changes on other fields.void
void
D
(Object e, FormObject formObj) D action when cursor button pressed inside active areavoid
E
(Object e, FormObject formObject) E action when cursor enters active areavoid
F
(FormObject formObject) F the display formatting of the field (e.g 2 decimal places) [javascript]void
Fo
(Object e, FormObject formObj) Fo action on input focusorg.jpedal.objects.layers.PdfLayerList
int
gotoDest
(org.jpedal.objects.raw.PdfObject aobj, int mouseclicked, int dest) void
init
(PdfDecoderInt panel, org.jpedal.objects.Javascript javascript, org.jpedal.objects.acroforms.AcroRenderer defaultAcroRenderer) int
K
(Object e, FormObject formObject, int actionID) K action on - [javascript] keystroke in textfield or combobox modifys the list box selection (can access the keystroke for validity and reject or modify)void
O
(org.jpedal.objects.raw.PdfObject pdfObject, int type) O action when page containing is opened,void
PC
(org.jpedal.objects.raw.PdfObject pdfObject, int type) PC action when page is closedvoid
PI
(org.jpedal.objects.raw.PdfObject pdfObject, int type) PI action when no longer visible in viewervoid
PO
(org.jpedal.objects.raw.PdfObject pdfObject, int type) PO action when page containing is opened, action O from page dictionary, and OpenAction in document catalog should be done firstvoid
PV
(org.jpedal.objects.raw.PdfObject pdfObject, int type) PV action on viewing containing pagesetup hand cursor when hovering and reset, on exitingvoid
U
(Object e, FormObject formObj) U action when cursor button released inside active areavoid
V
(Object e, FormObject formObject, int actionID) V action when fields value is changed [javascript]void
X
(Object e, FormObject formObject) X action when cursor exits active area
-
Field Details
-
MOUSEPRESSED
static final int MOUSEPRESSED- See Also:
-
MOUSERELEASED
static final int MOUSERELEASED- See Also:
-
MOUSECLICKED
static final int MOUSECLICKED- See Also:
-
MOUSEENTERED
static final int MOUSEENTERED- See Also:
-
MOUSEEXITED
static final int MOUSEEXITED- See Also:
-
FOCUS_EVENT
static final int FOCUS_EVENT- See Also:
-
TODO
static final int TODO- See Also:
-
NOMESSAGE
static final int NOMESSAGE- See Also:
-
REJECTKEY
static final int REJECTKEY- See Also:
-
STOPPROCESSING
static final int STOPPROCESSING- See Also:
-
VALUESCHANGED
static final int VALUESCHANGED- See Also:
-
-
Method Details
-
A
A action when pressed in active area ?some others should now be ignored?- Parameters:
e
- Object contained by the actionformObject
- - Actual formObject containing dataeventType
- - type of event (Keystroke, focus)
-
E
E action when cursor enters active area- Parameters:
e
- Object contained by the actionformObject
- - Actual formObject containing data
-
X
X action when cursor exits active area- Parameters:
e
- Object contained by the actionformObject
- - Actual formObject containing data
-
D
D action when cursor button pressed inside active area- Parameters:
e
- Object contained by the actionformObj
- - Actual formObject containing data
-
U
U action when cursor button released inside active area- Parameters:
e
- Object contained by the actionformObj
- - Actual formObject containing data
-
Fo
Fo action on input focus- Parameters:
e
- Object contained by the actionformObj
- - Actual formObject containing data
-
Bl
Bl action when input focus lost- Parameters:
e
- Object contained by the actionformObj
- - Actual formObject containing data
-
PO
void PO(org.jpedal.objects.raw.PdfObject pdfObject, int type) PO action when page containing is opened, action O from page dictionary, and OpenAction in document catalog should be done first- Parameters:
pdfObject
- - of the opening pagetype
- - the type of action
-
O
void O(org.jpedal.objects.raw.PdfObject pdfObject, int type) O action when page containing is opened,- Parameters:
pdfObject
- - of the opening pagetype
- - the type of action
-
PC
void PC(org.jpedal.objects.raw.PdfObject pdfObject, int type) PC action when page is closed- Parameters:
pdfObject
- - of the opening pagetype
- - the type of action
-
PV
void PV(org.jpedal.objects.raw.PdfObject pdfObject, int type) PV action on viewing containing page- Parameters:
pdfObject
- - of the opening pagetype
- - the type of action
-
PI
void PI(org.jpedal.objects.raw.PdfObject pdfObject, int type) PI action when no longer visible in viewer- Parameters:
pdfObject
- - of the opening pagetype
- - the type of action
-
K
K action on - [javascript] keystroke in textfield or combobox modifys the list box selection (can access the keystroke for validity and reject or modify)- Parameters:
e
- - Object contained by the actionformObject
- - Actual formObject containing dataactionID
- - integer value of the actionID- Returns:
- the action
-
F
F the display formatting of the field (e.g 2 decimal places) [javascript]- Parameters:
formObject
- - Actual formObject containing data
-
V
V action when fields value is changed [javascript]- Parameters:
e
- - Object contained by the actionformObject
- - Actual formObject containing dataactionID
- - integer value of the actionID
-
C
C action when another field changes (recalculate this field) [javascript] should not be called other than from internal methods to action changes on other fields.- Parameters:
formObject
- - Actual formObject containing data
-
getPDFDecoder
PdfDecoderInt getPDFDecoder() -
setHoverCursor
Object setHoverCursor()setup hand cursor when hovering and reset, on exiting- Returns:
- hand cursor
-
init
void init(PdfDecoderInt panel, org.jpedal.objects.Javascript javascript, org.jpedal.objects.acroforms.AcroRenderer defaultAcroRenderer) -
getLayerHandler
org.jpedal.objects.layers.PdfLayerList getLayerHandler() -
changeTo
-
gotoDest
int gotoDest(org.jpedal.objects.raw.PdfObject aobj, int mouseclicked, int dest)
-