|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PamKeyItem
Interface for passing information from overlay graphics to plots to give information to include in keys for the various displays.
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| Field Summary | |
|---|---|
static int |
KEY_SHORT
A shortened key |
static int |
KEY_VERBOSE
A full key |
| Method Summary | |
|---|---|
java.awt.Component |
getIcon(int keyType,
int nComponent)
|
int |
getNumItems(int keyType)
|
java.lang.String |
getText(int keyType,
int nComponent)
|
| Field Detail |
|---|
static final int KEY_VERBOSE
static final int KEY_SHORT
| Method Detail |
|---|
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||