Class DefaultActionHandler
java.lang.Object
org.jpedal.objects.acroforms.actions.EmptyActionHandler
org.jpedal.objects.acroforms.actions.DefaultActionHandler
- All Implemented Interfaces:
ActionHandler
public class DefaultActionHandler
extends org.jpedal.objects.acroforms.actions.EmptyActionHandler
-
Field Summary
Fields inherited from interface org.jpedal.objects.acroforms.actions.ActionHandler
FOCUS_EVENT, MOUSECLICKED, MOUSEENTERED, MOUSEEXITED, MOUSEPRESSED, MOUSERELEASED, NOMESSAGE, REJECTKEY, STOPPROCESSING, TODO, VALUESCHANGED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
this calls the PdfDecoder to open a new page and change to the correct page and location on page, is any value is null, it means leave as is.void
D
(Object e, FormObject formObj) D action when cursor button pressed inside active areavoid
init
(PdfDecoderInt decode_pdf, org.jpedal.objects.Javascript javascript, org.jpedal.objects.acroforms.AcroRenderer acrorend) setup hand cursor when hovering and reset, on exitingMethods inherited from class org.jpedal.objects.acroforms.actions.EmptyActionHandler
A, Bl, C, E, F, Fo, getLayerHandler, getPDFDecoder, gotoDest, K, O, PC, PI, PO, PV, U, V, X
-
Constructor Details
-
DefaultActionHandler
public DefaultActionHandler(org.jpedal.examples.viewer.gui.SwingGUI viewerGUI)
-
-
Method Details
-
init
public void init(PdfDecoderInt decode_pdf, org.jpedal.objects.Javascript javascript, org.jpedal.objects.acroforms.AcroRenderer acrorend) - Specified by:
init
in interfaceActionHandler
- Overrides:
init
in classorg.jpedal.objects.acroforms.actions.EmptyActionHandler
-
setHoverCursor
Description copied from interface:ActionHandler
setup hand cursor when hovering and reset, on exiting- Specified by:
setHoverCursor
in interfaceActionHandler
- Overrides:
setHoverCursor
in classorg.jpedal.objects.acroforms.actions.EmptyActionHandler
- Returns:
- hand cursor
-
changeTo
this calls the PdfDecoder to open a new page and change to the correct page and location on page, is any value is null, it means leave as is.- Specified by:
changeTo
in interfaceActionHandler
- Overrides:
changeTo
in classorg.jpedal.objects.acroforms.actions.EmptyActionHandler
- Parameters:
type
- - the type of action
-
D
D action when cursor button pressed inside active area- Specified by:
D
in interfaceActionHandler
- Overrides:
D
in classorg.jpedal.objects.acroforms.actions.EmptyActionHandler
- Parameters:
e
- Object contained by the actionformObj
- - Actual formObject containing data
-