public class MovieGlyph extends DrawingGlyph
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTR_MOVIE
Xml attribute name
|
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, IDX_X, IDX_Y, IDX_Z, 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 |
---|
MovieGlyph()
Ctor
|
MovieGlyph(DrawingControl control,
visad.DisplayEvent event)
Ctor
|
Modifier and Type | Method and Description |
---|---|
protected void |
addAttributes(org.w3c.dom.Element e)
Populate the xml node with attrs
|
protected boolean |
applyProperties(java.util.Hashtable compMap)
apply props
|
protected boolean |
constrainedTo2D()
Is glyph constrained to 2d
|
void |
doStretch(visad.DisplayEvent event)
Stretch
|
double |
getFrameRate()
Get the FrameRate property.
|
boolean |
getIsRaster()
is this glyph a raster
|
boolean |
getLoop()
Get the Loop property.
|
java.lang.String |
getMovieFile()
Get the MovieFile property.
|
protected void |
getPropertiesComponents(java.util.List comps,
java.util.Hashtable compMap)
get properties gui components
|
boolean |
getRealTime()
Get the RealTime property.
|
boolean |
getRunningMovie()
Get the RunningMovie property.
|
java.lang.String |
getTagName()
Get xml tag name to use
|
java.lang.String |
getTypeName()
Name to use for this glyph
|
DrawingGlyph |
handleCreation(visad.DisplayEvent event)
Handle event
|
DrawingGlyph |
handleMousePressed(visad.DisplayEvent event)
Handle event
|
DrawingGlyph |
handleMouseReleased(visad.DisplayEvent event)
Handle event
|
protected boolean |
initFinalInner()
Init final
|
boolean |
initFromUser(DrawingControl control,
visad.DisplayEvent event)
Init
|
void |
initFromXml(DrawingControl control,
org.w3c.dom.Element node)
Init
|
void |
setFrameRate(double value)
Set the FrameRate property.
|
void |
setLoop(boolean value)
Set the Loop property.
|
void |
setMovieFile(java.lang.String value)
Set the MovieFile property.
|
void |
setRealTime(boolean value)
Set the RealTime property.
|
void |
setRunningMovie(boolean value)
Set the RunningMovie property.
|
protected boolean |
shouldShowColorSelector()
SHould show color selector in properties
|
void |
updateLocation()
Glyph moved.
|
addDisplayable, addTime, canShowArea, canShowDistance, checkTimeVisibility, checkVisibility, closestPoint, distance, distanceBetween, distanceBetween, doDeletePoint, doInterpolatedStretch, doMove, doneBeingCreated, evaluateJython, getArea, getAreaString, getBeenRemoved, getBeingCreated, getBgcolor, getBoundingBox, getBoxPoint, getBoxPoint, getBoxPoint, getColor, getCoordType, getCreatedByUser, getDefaultZPosition, getDescription, getDisplayable, getDistance, getEditable, getElement, getExtraDescription, getFilled, getFixedAltitude, getFullLatLon, getLatLons, getLatLons, getName, getParent, getPickable, getPoint, getPoints, getPointValues, getPointValues, getPointValuesDouble, getPointValuesDouble, getSelectionPoints, getTimeField, getTimePropertiesComponents, getTimeValues, getVisibleFlag, getZPosition, handleKeyPressed, handleMouseDragged, handleMouseMoved, hide, initFinal, initFromBundle, initMove, initStretch, isFrontDisplay, isInFlatSpace, isInLatLonSpace, isInXYSpace, isSelectable, isValid, isVisible, makePoint, mousePressed, moveTo, processPointStrings, processPointStrings, projectionChanged, 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, viewpointChanged, writePoints
public static final java.lang.String ATTR_MOVIE
public MovieGlyph()
public MovieGlyph(DrawingControl control, visad.DisplayEvent event) throws visad.VisADException, java.rmi.RemoteException
control
- The control I'm in.event
- The display event.java.rmi.RemoteException
- On badnessvisad.VisADException
- On badnesspublic boolean getIsRaster()
getIsRaster
in class DrawingGlyph
public boolean initFromUser(DrawingControl control, visad.DisplayEvent event) throws visad.VisADException, java.rmi.RemoteException
initFromUser
in class DrawingGlyph
control
- The control I'm in.event
- The display event.java.rmi.RemoteException
- On badnessvisad.VisADException
- On badnesspublic void initFromXml(DrawingControl control, org.w3c.dom.Element node) throws visad.VisADException, java.rmi.RemoteException
initFromXml
in class DrawingGlyph
control
- The control I'm in.node
- The xml nodejava.rmi.RemoteException
- On badnessvisad.VisADException
- On badnesspublic DrawingGlyph handleCreation(visad.DisplayEvent event) throws visad.VisADException, java.rmi.RemoteException
handleCreation
in class DrawingGlyph
event
- The display event.java.rmi.RemoteException
- On badnessvisad.VisADException
- On badnesspublic void doStretch(visad.DisplayEvent event) throws visad.VisADException, java.rmi.RemoteException
doStretch
in class DrawingGlyph
event
- The display event.java.rmi.RemoteException
- On badnessvisad.VisADException
- On badnessprotected boolean constrainedTo2D()
constrainedTo2D
in class DrawingGlyph
protected void addAttributes(org.w3c.dom.Element e)
addAttributes
in class DrawingGlyph
e
- Xml nodepublic java.lang.String getTagName()
getTagName
in class DrawingGlyph
public DrawingGlyph handleMouseReleased(visad.DisplayEvent event) throws visad.VisADException, java.rmi.RemoteException
handleMouseReleased
in class DrawingGlyph
event
- The display event.java.rmi.RemoteException
- On badnessvisad.VisADException
- On badnesspublic void updateLocation() throws visad.VisADException, java.rmi.RemoteException
updateLocation
in class DrawingGlyph
java.rmi.RemoteException
- On badnessvisad.VisADException
- On badnesspublic DrawingGlyph handleMousePressed(visad.DisplayEvent event) throws visad.VisADException, java.rmi.RemoteException
handleMousePressed
in class DrawingGlyph
event
- The display event.java.rmi.RemoteException
- When bad things happenvisad.VisADException
- When bad things happenprotected boolean initFinalInner() throws visad.VisADException, java.rmi.RemoteException
initFinalInner
in class DrawingGlyph
java.rmi.RemoteException
- On badnessvisad.VisADException
- On badnessprotected boolean shouldShowColorSelector()
shouldShowColorSelector
in class DrawingGlyph
protected void getPropertiesComponents(java.util.List comps, java.util.Hashtable compMap)
getPropertiesComponents
in class DrawingGlyph
comps
- compscompMap
- can hold compsprotected boolean applyProperties(java.util.Hashtable compMap) throws visad.VisADException, java.rmi.RemoteException
applyProperties
in class DrawingGlyph
compMap
- holds compsjava.rmi.RemoteException
- On Badnessvisad.VisADException
- On Badnesspublic java.lang.String getTypeName()
getTypeName
in class DrawingGlyph
public void setMovieFile(java.lang.String value)
value
- The new value for MovieFilepublic java.lang.String getMovieFile()
public void setLoop(boolean value)
value
- The new value for Looppublic boolean getLoop()
public void setFrameRate(double value)
value
- The new value for FrameRatepublic double getFrameRate()
public void setRealTime(boolean value)
value
- The new value for RealTimepublic boolean getRealTime()
public void setRunningMovie(boolean value)
value
- The new value for RunningMoviepublic boolean getRunningMovie()