public abstract class GlyphCreatorCommand extends DrawingCommand
Modifier and Type | Field and Description |
---|---|
static DrawingCommand |
CMD_ARROW
command
|
static DrawingCommand |
CMD_CLOSEDPOLYGON
command to create a closed polygon
|
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 and Description |
---|
GlyphCreatorCommand(java.lang.String label,
java.lang.String message,
java.lang.String iconPath)
Ctor
|
GlyphCreatorCommand(java.lang.String label,
java.lang.String message,
java.lang.String iconPath,
boolean needsMouse)
Ctor
|
GlyphCreatorCommand(java.lang.String label,
java.lang.String message,
java.lang.String iconPath,
int flags)
Ctor
|
GlyphCreatorCommand(java.lang.String label,
java.lang.String message,
java.lang.String iconPath,
int flags,
boolean needsMouse)
Ctor
|
Modifier and Type | Method and Description |
---|---|
abstract DrawingGlyph |
createGlyph(DrawingControl control,
visad.DisplayEvent event)
Create the glyph
|
boolean |
getNeedsMouse()
Get the NeedsMouse property.
|
equals, getFlags, getIconPath, getLabel, getMessage, isCapable, setFlags, setIconPath, setLabel, setMessage
public static final DrawingCommand CMD_SMOOTHPOLYGON
public static final DrawingCommand CMD_CLOSEDPOLYGON
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
public GlyphCreatorCommand(java.lang.String label, java.lang.String message, java.lang.String iconPath)
label
- Labelmessage
- MessageiconPath
- The icon to displaypublic GlyphCreatorCommand(java.lang.String label, java.lang.String message, java.lang.String iconPath, boolean needsMouse)
label
- Labelmessage
- MessageiconPath
- The icon to displayneedsMouse
- Does this glyph creation need a mouse presspublic GlyphCreatorCommand(java.lang.String label, java.lang.String message, java.lang.String iconPath, int flags)
label
- Labelmessage
- MessageiconPath
- The icon to displayflags
- Command flagspublic GlyphCreatorCommand(java.lang.String label, java.lang.String message, java.lang.String iconPath, int flags, boolean needsMouse)
label
- Labelmessage
- MessageiconPath
- The icon to displayflags
- Command flagsneedsMouse
- Does this glyph creation need a mouse presspublic boolean getNeedsMouse()
public abstract DrawingGlyph createGlyph(DrawingControl control, visad.DisplayEvent event) throws visad.VisADException, java.rmi.RemoteException
control
- DrawingControl we are inevent
- The eventjava.rmi.RemoteException
- On badnessvisad.VisADException
- On badness