Class DowngradeActionMap
java.lang.Object
org.jfree.ui.action.DowngradeActionMap
An actionmap, which is JDK 1.2.2 compatible.
This implementation does not implement the ActionMap interface of JDK 1.3 or higher to maintain the compatibility with JDK 1.2 which does not know this interface.
The usage is still the same.
- Author:
- Thomas Morger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject[]allKeys()Returns an array of the keys defined in thisActionMapand its parent.voidclear()Removes all the mappings from thisActionMap.Returns the binding forkey, messaging the parentActionMapif the binding is not locally defined.Returns thisActionMap's parent.Object[]keys()Returns theActionnames that are bound in thisActionMap.voidAdds a binding forkeytoaction.voidRemoves the binding forkeyfrom thisActionMap.voidSets thisActionMap's parent.intsize()Returns the number of bindings.
-
Constructor Details
-
DowngradeActionMap
public DowngradeActionMap()Default Constructor. Creates a new empty map.
-
-
Method Details
-
setParent
Sets thisActionMap's parent.- Parameters:
map- theActionMapthat is the parent of this one
-
getParent
Returns thisActionMap's parent.- Returns:
- the
ActionMapthat is the parent of this one, or null if thisActionMaphas no parent
-
put
-
get
-
remove
-
clear
Removes all the mappings from thisActionMap. -
keys
-
size
-
allKeys
-