/** * This will get an action to be performed when the cursor exits the annotation's active area. * * @return The X entry of annotation's additional actions dictionary. */ public PDAction getX() { COSDictionary x = (COSDictionary) actions.getDictionaryObject("X"); PDAction retval = null; if (x != null) { retval = PDActionFactory.createAction(x); } return retval; }
/** * This will get an action to be performed when the page containing the annotation is no longer * visible in the viewer application's user interface. * * @return The PI entry of annotation's additional actions dictionary. */ public PDAction getPI() { COSDictionary pi = (COSDictionary) actions.getDictionaryObject("PI"); PDAction retval = null; if (pi != null) { retval = PDActionFactory.createAction(pi); } return retval; }
/** * This will get an action to be performed when the cursor enters the annotation's active area. * * @return The E entry of annotation's additional actions dictionary. */ public PDAction getE() { COSDictionary e = (COSDictionary) actions.getDictionaryObject("E"); PDAction retval = null; if (e != null) { retval = PDActionFactory.createAction(e); } return retval; }
/** * This will get an action to be performed when the page containing the annotation is closed. The * action is executed before the C action in the page's additional actions dictionary, if present. * * @return The PC entry of annotation's additional actions dictionary. */ public PDAction getPC() { COSDictionary pc = (COSDictionary) actions.getDictionaryObject("PC"); PDAction retval = null; if (pc != null) { retval = PDActionFactory.createAction(pc); } return retval; }
/** * This will get an action to be performed when the page containing the annotation becomes visible * in the viewer application's user interface. * * @return The PV entry of annotation's additional actions dictionary. */ public PDAction getPV() { COSDictionary pv = (COSDictionary) actions.getDictionaryObject("PV"); PDAction retval = null; if (pv != null) { retval = PDActionFactory.createAction(pv); } return retval; }
/** * This will get an action to be performed when the page containing the annotation is opened. The * action is executed after the O action in the page's additional actions dictionary and the * OpenAction entry in the document catalog, if such actions are present. * * @return The PO entry of annotation's additional actions dictionary. */ public PDAction getPO() { COSDictionary po = (COSDictionary) actions.getDictionaryObject("PO"); PDAction retval = null; if (po != null) { retval = PDActionFactory.createAction(po); } return retval; }
/** * This will get an action to be performed when the annotation loses the input focus. The name Bl * stands for "blurred". * * @return The Bl entry of annotation's additional actions dictionary. */ public PDAction getBl() { COSDictionary bl = (COSDictionary) actions.getDictionaryObject("Bl"); PDAction retval = null; if (bl != null) { retval = PDActionFactory.createAction(bl); } return retval; }
/** * This will get an action to be performed when the annotation receives the input focus. * * @return The Fo entry of annotation's additional actions dictionary. */ public PDAction getFo() { COSDictionary fo = (COSDictionary) actions.getDictionaryObject("Fo"); PDAction retval = null; if (fo != null) { retval = PDActionFactory.createAction(fo); } return retval; }
/** * This will get an action to be performed when the mouse button is released inside the * annotation's active area. The name U stands for "up". * * @return The U entry of annotation's additional actions dictionary. */ public PDAction getU() { COSDictionary u = (COSDictionary) actions.getDictionaryObject("U"); PDAction retval = null; if (u != null) { retval = PDActionFactory.createAction(u); } return retval; }
/** * This will get an action to be performed when the mouse button is pressed inside the * annotation's active area. The name D stands for "down". * * @return The d entry of annotation's additional actions dictionary. */ public PDAction getD() { COSDictionary d = (COSDictionary) actions.getDictionaryObject("D"); PDAction retval = null; if (d != null) { retval = PDActionFactory.createAction(d); } return retval; }