|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.idv.control.drawing.DrawingCommand
ucar.unidata.idv.control.drawing.GlyphCreatorCommand
public abstract class GlyphCreatorCommand
Class GlyphCreatorCommand represents when a glyph should be created
| Field Summary | |
|---|---|
static DrawingCommand |
CMD_ARROW
command |
static DrawingCommand |
CMD_DIAMOND
command |
static DrawingCommand |
CMD_HARROW
command |
static DrawingCommand |
CMD_HIGH
command |
static DrawingCommand |
CMD_IMAGE
command |
static DrawingCommand |
CMD_LINE
command |
static DrawingCommand |
CMD_LOW
command |
static DrawingCommand |
CMD_MOVIE
command |
static DrawingCommand |
CMD_OVAL
command |
static DrawingCommand |
CMD_POLYGON
command |
static DrawingCommand |
CMD_RECTANGLE
command |
static DrawingCommand |
CMD_SMOOTHPOLYGON
command |
static DrawingCommand |
CMD_SYMBOL
command |
static DrawingCommand |
CMD_TEXT
command |
static DrawingCommand |
CMD_TRANSECT
command |
static DrawingCommand |
CMD_VARROW
command |
static DrawingCommand |
CMD_WAYPOINT
command |
| Constructor Summary | |
|---|---|
GlyphCreatorCommand(String label,
String message,
String iconPath)
Ctor |
|
GlyphCreatorCommand(String label,
String message,
String iconPath,
boolean needsMouse)
Ctor |
|
GlyphCreatorCommand(String label,
String message,
String iconPath,
int flags)
Ctor |
|
GlyphCreatorCommand(String label,
String message,
String iconPath,
int flags,
boolean needsMouse)
Ctor |
|
| Method Summary | |
|---|---|
abstract DrawingGlyph |
createGlyph(DrawingControl control,
DisplayEvent event)
Create the glyph |
boolean |
getNeedsMouse()
Get the NeedsMouse property. |
| Methods inherited from class ucar.unidata.idv.control.drawing.DrawingCommand |
|---|
equals, getFlags, getIconPath, getLabel, getMessage, isCapable, setFlags, setIconPath, setLabel, setMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final DrawingCommand CMD_SMOOTHPOLYGON
public static final DrawingCommand CMD_POLYGON
public static final DrawingCommand CMD_LINE
public static final DrawingCommand CMD_SYMBOL
public static final DrawingCommand CMD_TRANSECT
public static final DrawingCommand CMD_RECTANGLE
public static final DrawingCommand CMD_ARROW
public static final DrawingCommand CMD_HARROW
public static final DrawingCommand CMD_VARROW
public static final DrawingCommand CMD_DIAMOND
public static final DrawingCommand CMD_OVAL
public static final DrawingCommand CMD_TEXT
public static final DrawingCommand CMD_WAYPOINT
public static final DrawingCommand CMD_IMAGE
public static final DrawingCommand CMD_MOVIE
public static final DrawingCommand CMD_HIGH
public static final DrawingCommand CMD_LOW
| Constructor Detail |
|---|
public GlyphCreatorCommand(String label,
String message,
String iconPath)
label - Labelmessage - MessageiconPath - The icon to display
public GlyphCreatorCommand(String label,
String message,
String iconPath,
boolean needsMouse)
label - Labelmessage - MessageiconPath - The icon to displayneedsMouse - Does this glyph creation need a mouse press
public GlyphCreatorCommand(String label,
String message,
String iconPath,
int flags)
label - Labelmessage - MessageiconPath - The icon to displayflags - Command flags
public GlyphCreatorCommand(String label,
String message,
String iconPath,
int flags,
boolean needsMouse)
label - Labelmessage - MessageiconPath - The icon to displayflags - Command flagsneedsMouse - Does this glyph creation need a mouse press| Method Detail |
|---|
public boolean getNeedsMouse()
public abstract DrawingGlyph createGlyph(DrawingControl control,
DisplayEvent event)
throws VisADException,
RemoteException
control - DrawingControl we are inevent - The event
RemoteException - On badness
VisADException - On badness
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||