Package PamView
Class SymbolKeyItem
java.lang.Object
PamView.SymbolKeyItem
- All Implemented Interfaces:
PamKeyItem
-
Field Summary
Fields inherited from interface PamView.PamKeyItem
KEY_SHORT, KEY_VERBOSE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetIcon
(int keyType, int nComponent) int
getNumItems
(int keyType) getText
(int keyType, int nComponent)
-
Constructor Details
-
SymbolKeyItem
-
-
Method Details
-
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
-