|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable
com.qoppa.pdfViewer.actions.TriggerActions
public class TriggerActions
Utility class to encapsulate a list of actions triggered by different mouse events such as mouse entered, mouse exited, mouse up and mouse down. TriggerActions.getMouseDownActions for instance returns a vector of all actions to be executed on a mouse down event. This utility class is used by the Annotation class for instance since an annotation may have trigger actions associated with it.
| Field Summary | |
|---|---|
static String |
BLUR
|
static String |
CALCULATE
|
static String |
FOCUS
|
static String |
FORMAT
|
static String |
KEYSTROKE
|
static String |
MOUSE_DOWN
|
static String |
MOUSE_ENTERED
|
static String |
MOUSE_EXITED
|
static String |
MOUSE_UP
|
static String |
PAGE_CLOSE
|
static String |
PAGE_OPEN
|
static String |
VALIDATE
|
| Constructor Summary | |
|---|---|
TriggerActions()
|
|
| Method Summary | |
|---|---|
void |
clear()
Overrides Hashtable method to keep track of modifications. |
Vector |
getBlurActions()
Get the list of actions to be performed on blur (focus lost). |
Vector |
getCalculateActions()
Get the list of actions to be performed when another field changes |
Vector |
getFocusActions()
Get the list of actions to be performed when focus is gained. |
Vector |
getFormatActions()
Get the list of actions to be executed before a field is formatted |
Vector |
getKeystrokeActions()
Get the list of actions to be performed on a keystroke. |
Vector |
getMouseDownActions()
Get the list of action to be executed on Mouse Down events as a Vector of Actions. |
Vector |
getMouseEnteredActions()
Get the list of action to be executed on Mouse Entered events as a Vector of Actions. |
Vector |
getMouseExitedActions()
Get the list of action to be executed on Mouse Exited events as a Vector of Actions. |
Vector |
getMouseUpActions()
Get the list of action to be executed on Mouse Up events as a Vector of Actions. |
Vector |
getPageCloseActions()
Get the list of actions to be performed when the page is closed. |
Vector |
getPageOpenActions()
Get the list of actions to be performed when the page is opened. |
Vector |
getValidateActions()
Get the list of actions to be performed when a field value is changed |
boolean |
isModified()
Check to see if the TriggerActions object has been modified |
Object |
put(Object key,
Object value)
Overrides Hashtable method to keep track of modifications. |
void |
putAll(Map t)
Overrides Hashtable method to keep track of modifications. |
Object |
remove(Object key)
Overrides Hashtable method to keep track of modifications. |
void |
setModified(boolean modified)
Set the modified status of TriggerActions |
| Methods inherited from class java.util.Hashtable |
|---|
clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static String MOUSE_ENTERED
public static String MOUSE_EXITED
public static String MOUSE_UP
public static String MOUSE_DOWN
public static String VALIDATE
public static String CALCULATE
public static String FORMAT
public static String KEYSTROKE
public static String BLUR
public static String FOCUS
public static String PAGE_OPEN
public static String PAGE_CLOSE
| Constructor Detail |
|---|
public TriggerActions()
| Method Detail |
|---|
public Vector getMouseEnteredActions()
public Vector getMouseExitedActions()
public Vector getMouseDownActions()
public Vector getMouseUpActions()
public Vector getFormatActions()
public Vector getValidateActions()
public Vector getCalculateActions()
public Vector getKeystrokeActions()
public Vector getBlurActions()
public Vector getFocusActions()
public Vector getPageOpenActions()
public Vector getPageCloseActions()
public Object remove(Object key)
throws NullPointerException
remove in interface Mapremove in class HashtableNullPointerException
public Object put(Object key,
Object value)
throws NullPointerException
put in interface Mapput in class HashtableNullPointerExceptionpublic boolean isModified()
public void setModified(boolean modified)
modified - A boolean representing whether or not the TriggerActions are being marked as modifiedpublic void clear()
clear in interface Mapclear in class Hashtable
public void putAll(Map t)
throws NullPointerException
putAll in interface MapputAll in class HashtableNullPointerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||