Package PamView
Class BasicKeyItem
java.lang.Object
PamView.BasicKeyItem
- All Implemented Interfaces:
 PamKeyItem
- 
Field Summary
Fields inherited from interface PamView.PamKeyItem
KEY_SHORT, KEY_VERBOSE - 
Constructor Summary
ConstructorsConstructorDescriptionBasicKeyItem(Component component, String text) BasicKeyItem(Icon icon, String text)  - 
Method Summary
 
- 
Constructor Details
- 
BasicKeyItem
public BasicKeyItem() - 
BasicKeyItem
 - 
BasicKeyItem
 
 - 
 - 
Method Details
- 
addIcon
 - 
addIcon
 - 
getIcon
- Specified by:
 getIconin 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:
 getNumItemsin 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:
 getTextin interfacePamKeyItem- Parameters:
 keyType- type of key - verbose or shortnComponent- component number (where there are > 1)- Returns:
 - text to include in the key
 
 
 -