|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.idv.control.drawing.DrawingGlyph
ucar.unidata.idv.control.drawing.MovieGlyph
public class MovieGlyph
Class MovieGlyph. Displays movies. Not done.
| Field Summary | |
|---|---|
static String |
ATTR_MOVIE
Xml attribute name |
| Fields inherited from class ucar.unidata.idv.control.drawing.DrawingGlyph |
|---|
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_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 Summary | |
|---|---|
MovieGlyph()
Ctor |
|
MovieGlyph(DrawingControl control,
DisplayEvent event)
Ctor |
|
| Method Summary | |
|---|---|
protected void |
addAttributes(Element e)
Populate the xml node with attrs |
protected boolean |
applyProperties(Hashtable compMap)
apply props |
protected boolean |
constrainedTo2D()
Is glyph constrained to 2d |
void |
doStretch(DisplayEvent event)
Stretch |
double |
getFrameRate()
Get the FrameRate property. |
boolean |
getIsRaster()
is this glyph a raster |
boolean |
getLoop()
Get the Loop property. |
String |
getMovieFile()
Get the MovieFile property. |
protected void |
getPropertiesComponents(List comps,
Hashtable compMap)
get properties gui components |
boolean |
getRealTime()
Get the RealTime property. |
boolean |
getRunningMovie()
Get the RunningMovie property. |
String |
getTagName()
Get xml tag name to use |
String |
getTypeName()
Name to use for this glyph |
DrawingGlyph |
handleCreation(DisplayEvent event)
Handle event |
DrawingGlyph |
handleMousePressed(DisplayEvent event)
Handle event |
DrawingGlyph |
handleMouseReleased(DisplayEvent event)
Handle event |
protected boolean |
initFinalInner()
Init final |
boolean |
initFromUser(DrawingControl control,
DisplayEvent event)
Init |
void |
initFromXml(DrawingControl control,
Element node)
Init |
void |
setFrameRate(double value)
Set the FrameRate property. |
void |
setLoop(boolean value)
Set the Loop property. |
void |
setMovieFile(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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String ATTR_MOVIE
| Constructor Detail |
|---|
public MovieGlyph()
public MovieGlyph(DrawingControl control,
DisplayEvent event)
throws VisADException,
RemoteException
control - The control I'm in.event - The display event.
RemoteException - On badness
VisADException - On badness| Method Detail |
|---|
public boolean getIsRaster()
getIsRaster in class DrawingGlyph
public boolean initFromUser(DrawingControl control,
DisplayEvent event)
throws VisADException,
RemoteException
initFromUser in class DrawingGlyphcontrol - The control I'm in.event - The display event.
RemoteException - On badness
VisADException - On badness
public void initFromXml(DrawingControl control,
Element node)
throws VisADException,
RemoteException
initFromXml in class DrawingGlyphcontrol - The control I'm in.node - The xml node
RemoteException - On badness
VisADException - On badness
public DrawingGlyph handleCreation(DisplayEvent event)
throws VisADException,
RemoteException
handleCreation in class DrawingGlyphevent - The display event.
RemoteException - On badness
VisADException - On badness
public void doStretch(DisplayEvent event)
throws VisADException,
RemoteException
doStretch in class DrawingGlyphevent - The display event.
RemoteException - On badness
VisADException - On badnessprotected boolean constrainedTo2D()
constrainedTo2D in class DrawingGlyphprotected void addAttributes(Element e)
addAttributes in class DrawingGlyphe - Xml nodepublic String getTagName()
getTagName in class DrawingGlyph
public DrawingGlyph handleMouseReleased(DisplayEvent event)
throws VisADException,
RemoteException
handleMouseReleased in class DrawingGlyphevent - The display event.
RemoteException - On badness
VisADException - On badness
public void updateLocation()
throws VisADException,
RemoteException
updateLocation in class DrawingGlyphRemoteException - On badness
VisADException - On badness
public DrawingGlyph handleMousePressed(DisplayEvent event)
throws VisADException,
RemoteException
handleMousePressed in class DrawingGlyphevent - The display event.
RemoteException - When bad things happen
VisADException - When bad things happen
protected boolean initFinalInner()
throws VisADException,
RemoteException
initFinalInner in class DrawingGlyphRemoteException - On badness
VisADException - On badnessprotected boolean shouldShowColorSelector()
shouldShowColorSelector in class DrawingGlyph
protected void getPropertiesComponents(List comps,
Hashtable compMap)
getPropertiesComponents in class DrawingGlyphcomps - compscompMap - can hold comps
protected boolean applyProperties(Hashtable compMap)
throws VisADException,
RemoteException
applyProperties in class DrawingGlyphcompMap - holds comps
RemoteException - On Badness
VisADException - On Badnesspublic String getTypeName()
getTypeName in class DrawingGlyphpublic void setMovieFile(String value)
value - The new value for MovieFilepublic 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||