|
||||||||||
| 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.HighLowGlyph
public class HighLowGlyph
Class HighLowGlyph Draws text
| Field Summary | |
|---|---|
static String |
ATTR_PRESSURE
xgrf xml attribute |
| Fields inherited from class ucar.unidata.idv.control.drawing.DrawingGlyph |
|---|
actualPoints, ATTR_COLOR, ATTR_COORDTYPE, ATTR_FILLED, ATTR_FULLLATLON, ATTR_LINEWIDTH, ATTR_NAME, ATTR_PICKABLE, ATTR_POINTS, ATTR_TEXT, 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, 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 | |
|---|---|
HighLowGlyph()
ctor |
|
HighLowGlyph(boolean high)
ctor |
|
HighLowGlyph(DrawingControl control,
DisplayEvent event,
boolean high)
ctor |
|
| Method Summary | |
|---|---|
protected void |
addAttributes(Element e)
Populate the xml node with attrs |
protected boolean |
applyProperties(Hashtable compMap)
Handle the property apply. |
String |
getExtraDescription()
Get the extra descripition used in the JTable listing |
boolean |
getHigh()
Get the High property. |
double |
getPressure()
Get the Pressure property. |
protected void |
getPropertiesComponents(List comps,
Hashtable compMap)
get the prop gui comps |
String |
getTagName()
The tag to use in the xml |
protected Data |
getTimeField(Data data)
Make a field maps all of the time values to the given data as the range |
String |
getTypeName()
Get the name of this glyph type |
DrawingGlyph |
handleCreation(DisplayEvent event)
Initialize after creation |
DrawingGlyph |
handleMouseMoved(DisplayEvent event)
Handle event |
DrawingGlyph |
handleMousePressed(DisplayEvent event)
Handle event |
protected boolean |
initFinalInner()
Do the final initialization |
boolean |
initFromUser(DrawingControl control,
DisplayEvent event)
User created me. |
void |
initFromXml(DrawingControl control,
Element node)
Xml created me |
protected static void |
setAnimationSet(Displayable d,
List timeValues)
utility to set the animation set on the displayable |
protected void |
setColor(Displayable displayable,
Color c)
Override the set color method so we don't set the color |
void |
setHigh(boolean value)
Set the High property. |
void |
setPressure(double value)
Set the Pressure property. |
void |
updateLocation()
Handle 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_PRESSURE
| Constructor Detail |
|---|
public HighLowGlyph()
public HighLowGlyph(boolean high)
high - Is this a high pressure symbol
public HighLowGlyph(DrawingControl control,
DisplayEvent event,
boolean high)
control - The control I'm inevent - The event when I was createdhigh - Is this a high pressure symbol| Method Detail |
|---|
public String getExtraDescription()
getExtraDescription in class DrawingGlyph
protected Data getTimeField(Data data)
throws VisADException,
RemoteException
getTimeField in class DrawingGlyphdata - The range
RemoteException - On badness
VisADException - On badness
public DrawingGlyph handleCreation(DisplayEvent event)
throws VisADException,
RemoteException
handleCreation in class DrawingGlyphevent - The event
RemoteException - On badness
VisADException - On badness
public boolean initFromUser(DrawingControl control,
DisplayEvent event)
throws VisADException,
RemoteException
initFromUser in class DrawingGlyphcontrol - The control I'm inevent - The event
RemoteException - On badness
VisADException - On badness
public void initFromXml(DrawingControl control,
Element node)
throws VisADException,
RemoteException
initFromXml in class DrawingGlyphcontrol - The controlnode - The xml
RemoteException - On badness
VisADException - On badnesspublic String getTagName()
getTagName in class DrawingGlyphprotected void addAttributes(Element e)
addAttributes in class DrawingGlyphe - Xml node
protected static void setAnimationSet(Displayable d,
List timeValues)
throws VisADException,
RemoteException
d - displayabletimeValues - times
RemoteException - On badness
VisADException - On badness
protected boolean initFinalInner()
throws VisADException,
RemoteException
initFinalInner in class DrawingGlyphRemoteException - On badness
VisADException - On badness
protected void setColor(Displayable displayable,
Color c)
throws VisADException,
RemoteException
setColor in class DrawingGlyphdisplayable - the displayablec - The color
RemoteException - On badness
VisADException - On badness
public DrawingGlyph handleMousePressed(DisplayEvent event)
throws VisADException,
RemoteException
handleMousePressed in class DrawingGlyphevent - The event
RemoteException - When bad things happen
VisADException - When bad things happen
public DrawingGlyph handleMouseMoved(DisplayEvent event)
throws VisADException,
RemoteException
handleMouseMoved in class DrawingGlyphevent - The event
RemoteException - When bad things happen
VisADException - When bad things happen
protected boolean applyProperties(Hashtable compMap)
throws VisADException,
RemoteException
applyProperties in class DrawingGlyphcompMap - Holds property widgets
RemoteException - On badness
VisADException - On badness
protected void getPropertiesComponents(List comps,
Hashtable compMap)
getPropertiesComponents in class DrawingGlyphcomps - List of compscompMap - comp mappublic String getTypeName()
getTypeName in class DrawingGlyph
public void updateLocation()
throws VisADException,
RemoteException
updateLocation in class DrawingGlyphRemoteException - On badness
VisADException - On badnesspublic void setPressure(double value)
value - The new value for Pressurepublic double getPressure()
public void setHigh(boolean value)
value - The new value for Highpublic boolean getHigh()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||