Package PamView
Class TextKeyItem
java.lang.Object
PamView.TextKeyItem
- All Implemented Interfaces:
PamKeyItem
-
Field Summary
Fields inherited from interface PamView.PamKeyItem
KEY_SHORT, KEY_VERBOSE
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TextKeyItem
-
-
Method Details
-
getText
-
setText
-
getIcon
- Specified by:
getIcon
in interfacePamKeyItem
- Parameters:
keyType
- type of key - verbose or shortnComponent
- component number (where there are > 1)- Returns:
- a graphics component to include in the key
-
getNumItems
public int getNumItems(int keyType) - Specified by:
getNumItems
in interfacePamKeyItem
- Returns:
- Get's the total number of key items associated with this detection
This can be > 1 for things like the click detector which may want to show different symbols for different species.
-
getText
- Specified by:
getText
in interfacePamKeyItem
- Parameters:
keyType
- type of key - verbose or shortnComponent
- component number (where there are > 1)- Returns:
- text to include in the key
-