public interface PamKeyItem
Currently just a place holder class to include in PanelOverlayDraw implementations. Will need to work out what members and member functions to put in it later.
PanelOverlayDraw
Modifier and Type | Field and Description |
---|---|
static int |
KEY_SHORT
A shortened key
|
static int |
KEY_VERBOSE
A full key
|
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getIcon(int keyType,
int nComponent) |
int |
getNumItems(int keyType) |
java.lang.String |
getText(int keyType,
int nComponent) |
static final int KEY_VERBOSE
static final int KEY_SHORT
int getNumItems(int keyType)
This can be > 1 for things like the click detector which may want to show different symbols for different species.
java.awt.Component getIcon(int keyType, int nComponent)
keyType
- type of key - verbose or shortnComponent
- component number (where there are > 1)java.lang.String getText(int keyType, int nComponent)
keyType
- type of key - verbose or shortnComponent
- component number (where there are > 1)