public class NFNoteSet
NFNoteSet represents a a group of text annotations with a common font and region style, and mapping strategy to be managed as one set in a graph. The mapping strategy defines how X and Y values are "mapped" to screen coordinates. For example, if the NoteAxis NoteAxis parameter is defined as (BOTTOM, LEFT) then the X and Y values passed in the NoteSet tuple are assumed to be X and Y data values which will be mapped to pixel locations based on the bottom and left Axis scales.
Available Mapping Values:
BOTTOM (For XAxis only) RIGHT (For YAxis only) TOP (For XAxis only) LEFT (For YAxis only) PIXEL (XAxis or YAxis) PERCENT (XAxis or YAxis)
Type | Name | Description | Default | ||||
int | MaxNoteSets | 20 | |||||
boolean | clip | false | |||||
String | name | null | |||||
int | xaxis | default xaxis mapping | PIXEL | ||||
int | yaxis | default yaxis mapping | PIXEL |
Type | Name | Description | |||
int | BOTTOM | Use BottomAxis To Map X | |||
int | LEFT | Use LeftAxis to Map Y | |||
int | PERCENT | Use Percent Coordinates (0-100) | |||
int | PIXEL | Use Pixel Coordinates | |||
int | RIGHT | Use RightAxis To Map Y | |||
int | TOP | Use TopAxis to Map X |
static void defineAllParams(NFParam p, String param)
static void defineNoteSet(NFParam p, String param)
void draw(Graphics g, Graphics clipGraphics)
static Vector loadAllParams(NFParam p, Vector notesets)
void loadParams(NFParam p, String param)
static void setAllMapAxes(NFAxis left, NFAxis right, NFAxis top, NFAxis bottom, Vector notesets)
static void setAllMapComponent(Component comp, Vector notesets)
void setMapAxes (NFAxis left, NFAxis right, NFAxis top, NFAxis bottom) throws Exception
BOTTOM LEFT TOP RIGHT
void setMapComponent(Component comp)