|
||||||||||
| 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.SymbolGlyph
public class SymbolGlyph
Class SymbolGlyph. Displays a shape.
| Field Summary | |
|---|---|
static String |
ATTR_SCALE
_more_ |
static String |
ATTR_SYMBOL
_more_ |
| 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 | |
|---|---|
SymbolGlyph()
Ctor |
|
SymbolGlyph(DrawingControl control,
DisplayEvent event)
The ctor |
|
SymbolGlyph(DrawingControl control,
DisplayEvent event,
String symbol)
The ctor |
|
| Method Summary | |
|---|---|
protected void |
addAttributes(Element e)
Populate the xml node with attrs |
protected boolean |
applyProperties(Hashtable compMap)
_more_ |
String |
getDescription()
Get the description of this glyph |
protected int |
getNumInterpolationPoints()
By default we don't interpolate |
protected void |
getPropertiesComponents(List comps,
Hashtable compMap)
Make the properties widgetsF |
float |
getScale()
Get the Scale property. |
String |
getSymbol()
Get the Symbol property. |
String |
getTagName()
Get xml tag name to use |
String |
getTypeName()
Name to use for this glyph |
DrawingGlyph |
handleCreation(DisplayEvent event)
_more_ |
DrawingGlyph |
handleMouseDragged(DisplayEvent event)
Handle event |
DrawingGlyph |
handleMousePressed(DisplayEvent event)
_more_ |
protected boolean |
initFinalInner()
Init at the end |
void |
initFromXml(DrawingControl control,
Element node)
Init from xml |
boolean |
isValid()
Do we have a valid number of points |
void |
setPropertySymbol(TwoFacedObject tfo)
_more_ |
void |
setScale(float value)
Set the Scale property. |
void |
setSymbol(String value)
Set the Symbol property. |
void |
showSymbolPopup()
_more_ |
void |
updateLocation()
The 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_SCALE
public static final String ATTR_SYMBOL
| Constructor Detail |
|---|
public SymbolGlyph()
public SymbolGlyph(DrawingControl control,
DisplayEvent event)
throws VisADException,
RemoteException
control - The control I'm in.event - The display event.
RemoteException - When bad things happen
VisADException - When bad things happen
public SymbolGlyph(DrawingControl control,
DisplayEvent event,
String symbol)
throws VisADException,
RemoteException
control - The control I'm in.event - The display event.symbol - The symbol
RemoteException - When bad things happen
VisADException - When bad things happen| Method Detail |
|---|
public boolean isValid()
isValid in class DrawingGlyph
public DrawingGlyph handleMouseDragged(DisplayEvent event)
throws VisADException,
RemoteException
handleMouseDragged in class DrawingGlyphevent - The display event.
RemoteException - When bad things happen
VisADException - When bad things happen
public DrawingGlyph handleCreation(DisplayEvent event)
throws VisADException,
RemoteException
handleCreation in class DrawingGlyphevent - _more_
RemoteException - _more_
VisADException - _more_
public DrawingGlyph handleMousePressed(DisplayEvent event)
throws VisADException,
RemoteException
handleMousePressed in class DrawingGlyphevent - _more_
RemoteException - _more_
VisADException - _more_
protected boolean applyProperties(Hashtable compMap)
throws VisADException,
RemoteException
applyProperties in class DrawingGlyphcompMap - _more_
RemoteException - _more_
VisADException - _more_public void showSymbolPopup()
public void setPropertySymbol(TwoFacedObject tfo)
tfo - _more_
protected void getPropertiesComponents(List comps,
Hashtable compMap)
getPropertiesComponents in class DrawingGlyphcomps - List of componentscompMap - Map to hold name to widget
protected boolean initFinalInner()
throws VisADException,
RemoteException
initFinalInner in class DrawingGlyphRemoteException - 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 badnessprotected void addAttributes(Element e)
addAttributes in class DrawingGlyphe - Xml nodepublic String getTagName()
getTagName in class DrawingGlyphprotected int getNumInterpolationPoints()
public void updateLocation()
throws VisADException,
RemoteException
updateLocation in class DrawingGlyphRemoteException - On badness
VisADException - On badnesspublic String getTypeName()
getTypeName in class DrawingGlyphpublic String getDescription()
getDescription in class DrawingGlyphpublic void setSymbol(String value)
value - The new value for Symbolpublic String getSymbol()
public void setScale(float value)
value - The new value for Scalepublic float getScale()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||