public class ArrowGlyph extends FrontGlyph
ATTR_FRONTFLIP, ATTR_FRONTSCALE, ATTR_FRONTTYPE
ATTR_EXTRUDE, ATTR_SMOOTH, IDX_X, IDX_Y, IDX_Z
actualPoints, ATTR_BGCOLOR, ATTR_COLOR, ATTR_COORDTYPE, ATTR_FILLED, ATTR_FULLLATLON, ATTR_LINEWIDTH, ATTR_NAME, ATTR_PICKABLE, ATTR_POINTS, ATTR_TEXT, ATTR_TIMEFORMAT, ATTR_TIMES, ATTR_ZPOSITION, control, COORD_LABELS, COORD_LATLON, COORD_LATLONALT, COORD_LONLAT, COORD_NONE, COORD_TYPENAMES, COORD_TYPES, COORD_XY, COORD_XYZ, coordType, firstMoveEarthLocation, firstMoveLocation, IDX_ALT, IDX_LAT, IDX_LON, oldVisibility, parentDisplayable, points, propDialog, propertiesUp, PT_X, PT_Y, PT_Z, selectionDisplayable, stretchIndex, tabbedPane, TAG_ARROW, TAG_FRONT, TAG_HIGH, TAG_IMAGE, TAG_LOW, TAG_MOVIE, TAG_POLYGON, TAG_SHAPE, TAG_SYMBOL, TAG_TEXT, uniqueCnt, zPosition
Constructor and Description |
---|
ArrowGlyph()
Ctor
|
ArrowGlyph(DrawingControl control,
visad.DisplayEvent event,
boolean smooth)
Ctor
|
Modifier and Type | Method and Description |
---|---|
protected FrontDrawer |
doMakeFrontDrawer()
make the frontDrawer
|
protected float[][] |
getCurve()
create the line
|
java.lang.String |
getTagName()
Get xml tag name to use
|
java.lang.String |
getTypeName()
Name to use for this glyph
|
void |
setLineWidth(float value)
Set width
|
protected boolean |
shouldAddFrontProperties()
should add properties for the fronts
|
protected boolean |
shouldShowColorSelector()
show the color selector in the properties
|
addAttributes, applyProperties, canShowArea, createDisplayable, doStretch, getDefaultZPosition, getExtraDescription, getFlipIt, getFrontDrawer, getFrontScale, getFrontType, getPropertiesComponents, getSelectionPoints, handleMousePressed, initFinalInner, initFromXml, projectionChanged, setBaseScale, setFlipIt, setFrontScale, setFrontType, updateLocation, viewpointChanged, xxhandleMouseDragged, xxxxsetColor
canShowDistance, doDeletePoint, doFlythrough, doneBeingCreated, getClosed, getExtrude, getSmooth, getTimeField, handleKeyPressed, handleMouseDragged, handleMouseReleased, isValid, setAnimationSet, setClosed, setExtrude, setSmooth
getLineWidth, initFromUser
addDisplayable, addTime, checkTimeVisibility, checkVisibility, closestPoint, constrainedTo2D, distance, distanceBetween, distanceBetween, doInterpolatedStretch, doMove, evaluateJython, getArea, getAreaString, getBeenRemoved, getBeingCreated, getBgcolor, getBoundingBox, getBoxPoint, getBoxPoint, getBoxPoint, getColor, getCoordType, getCreatedByUser, getDescription, getDisplayable, getDistance, getEditable, getElement, getFilled, getFixedAltitude, getFullLatLon, getIsRaster, getLatLons, getLatLons, getName, getParent, getPickable, getPoint, getPoints, getPointValues, getPointValues, getPointValuesDouble, getPointValuesDouble, getTimePropertiesComponents, getTimeValues, getVisibleFlag, getZPosition, handleCreation, handleMouseMoved, hide, initFinal, initFromBundle, initMove, initStretch, isFrontDisplay, isInFlatSpace, isInLatLonSpace, isInXYSpace, isSelectable, isVisible, makePoint, mousePressed, moveTo, processPointStrings, processPointStrings, removeDisplayable, setActualPoints, setBeenRemoved, setBgcolor, setColor, setColor, setCoordType, setCreatedByUser, setEditable, setFilled, setFullLatLon, setName, setPickable, setPoints, setProperties, setSelected, setTimeValues, setVisible, setVisibleFlag, setZPosition, shouldShowBgColorSelector, show, smoothCurve, squared, swap, swap, toLatLonAlt, toString, tryToFill, writePoints
public ArrowGlyph()
public ArrowGlyph(DrawingControl control, visad.DisplayEvent event, boolean smooth) throws visad.VisADException, java.rmi.RemoteException
control
- The control I'm in.event
- The display event.smooth
- is the line smooth or segmentedjava.rmi.RemoteException
- When bad things happenvisad.VisADException
- When bad things happenprotected FrontDrawer doMakeFrontDrawer() throws visad.VisADException, java.rmi.RemoteException
doMakeFrontDrawer
in class FrontGlyph
java.rmi.RemoteException
- on badnessvisad.VisADException
- on badnesspublic void setLineWidth(float value)
setLineWidth
in class LineGlyph
value
- widthprotected float[][] getCurve() throws visad.VisADException, java.rmi.RemoteException
getCurve
in class FrontGlyph
java.rmi.RemoteException
- on badnessvisad.VisADException
- on badnessprotected boolean shouldAddFrontProperties()
shouldAddFrontProperties
in class FrontGlyph
protected boolean shouldShowColorSelector()
shouldShowColorSelector
in class FrontGlyph
public java.lang.String getTagName()
getTagName
in class FrontGlyph
public java.lang.String getTypeName()
getTypeName
in class FrontGlyph