public class GuiSymbols
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GuiSymbols.GuiSymbolImage
This class collects a symbol icon image with read-only attributes of the symbol
that are commonly used but expensive to compute.
|
Modifier and Type | Field and Description |
---|---|
static int |
ICON_PIXEL_SIZE
The default size of an APRS symbol icon in pixels.
|
Modifier and Type | Method and Description |
---|---|
static javax.swing.ImageIcon |
getDblStationIcon(char symTableId,
char symbolCode)
Get the 32x32 ImageIcon for a given symbol.
|
static javax.swing.ImageIcon |
getEmptyDblIcon()
Get a blank icon in double size (32x32).
|
static javax.swing.ImageIcon |
getQuadStationIcon(char symTableId,
char symbolCode)
Get the 64x64 ImageIcon for a given symbol.
|
static javax.swing.ImageIcon |
getStationIcon(char symTableId,
char symbolCode)
Get the 16x16 ImageIcon for a given symbol.
|
static void |
loadExtendedSymbols()
Load the images for all APRS1.2 extended symbols known to this program.
|
public static final int ICON_PIXEL_SIZE
public static void loadExtendedSymbols()
public static javax.swing.ImageIcon getStationIcon(char symTableId, char symbolCode)
symTableId
- char symbol table ID (or overlay code)symbolCode
- char symbol code within the specified tablepublic static javax.swing.ImageIcon getDblStationIcon(char symTableId, char symbolCode)
symTableId
- char symbol table ID (or overlay code)symbolCode
- char symbol code within the specified tablepublic static javax.swing.ImageIcon getQuadStationIcon(char symTableId, char symbolCode)
symTableId
- char symbol table ID (or overlay code)symbolCode
- char symbol code within the specified tablepublic static javax.swing.ImageIcon getEmptyDblIcon()