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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidthis 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.voidD(Object e, FormObject formObj) D action when cursor button pressed inside active areavoidinit(PdfDecoderInt decode_pdf, org.jpedal.objects.Javascript javascript, org.jpedal.objects.acroforms.AcroRenderer acrorend) voidOpenAction(org.jpedal.objects.raw.PdfObject rootObject) OpenAction, when the PDF is openedsetup hand cursor when hovering and reset, on exitingMethods inherited from class org.jpedal.objects.acroforms.actions.EmptyActionHandler
A, Bl, C, C, DP, DS, E, F, Fo, getLayerHandler, getPDFDecoder, gotoDest, gotoDest, K, O, PC, PI, PO, processDocumentActions, processFieldActions, processOutlinesActions, processPageActions, PV, U, V, WC, WP, WS, 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:
initin interfaceActionHandler- Overrides:
initin classorg.jpedal.objects.acroforms.actions.EmptyActionHandler
-
setHoverCursor
Description copied from interface:ActionHandlersetup hand cursor when hovering and reset, on exiting- Specified by:
setHoverCursorin interfaceActionHandler- Overrides:
setHoverCursorin 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:
changeToin interfaceActionHandler- Overrides:
changeToin classorg.jpedal.objects.acroforms.actions.EmptyActionHandler- Parameters:
type- - the type of action
-
D
D action when cursor button pressed inside active area- Specified by:
Din interfaceActionHandler- Overrides:
Din classorg.jpedal.objects.acroforms.actions.EmptyActionHandler- Parameters:
e- Object contained by the actionformObj- - Actual formObject containing data
-
OpenAction
public void OpenAction(org.jpedal.objects.raw.PdfObject rootObject) OpenAction, when the PDF is opened- Specified by:
OpenActionin interfaceActionHandler- Overrides:
OpenActionin classorg.jpedal.objects.acroforms.actions.EmptyActionHandler- Parameters:
rootObject- the root object of the document
-