|
||||||||||
| 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.FrontGlyph
public class FrontGlyph
Class FrontGlyph draws fronts
| Field Summary | |
|---|---|
static String |
ATTR_FRONTTYPE
Xml attribute name |
| 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 | |
|---|---|
FrontGlyph()
Ctor |
|
FrontGlyph(DrawingControl control,
DisplayEvent event)
Ctor |
|
FrontGlyph(DrawingControl control,
DisplayEvent event,
String type)
ctor |
|
| Method Summary | |
|---|---|
protected void |
addAttributes(Element e)
Populate the xml node with attrs |
protected boolean |
applyProperties(Hashtable compMap)
apply props |
boolean |
canShowDistance()
Can we show calculated distance |
void |
doFlythrough()
Do the flythru |
void |
doStretch(DisplayEvent event)
Stretch this glyph |
protected float |
getDefaultZPosition()
Get the default Z position for the glyph. |
String |
getExtraDescription()
get the extra description to show in gui |
boolean |
getFlipIt()
Get the FlipIt property. |
String |
getFrontType()
Get the FrontType property. |
protected void |
getPropertiesComponents(List comps,
Hashtable compMap)
get the prop gui comps |
protected List |
getSelectionPoints()
Get points used to select this glyph. |
String |
getTagName()
Get xml tag name to use |
String |
getTypeName()
Name to use for this glyph |
DrawingGlyph |
handleMouseDragged(DisplayEvent event)
Handle event |
DrawingGlyph |
handleMousePressed(DisplayEvent event)
Handle event |
protected boolean |
initFinalInner()
Init at the end |
void |
initFromXml(DrawingControl control,
Element node)
Initialize from xml |
void |
projectionChanged()
Update location |
static void |
setBaseScale(DrawingControl control,
FrontDrawer frontDrawer)
Utility |
void |
setFlipIt(boolean value)
Set the FlipIt property. |
void |
setFrontType(String value)
Set the FrontType property. |
void |
updateLocation()
Glyph moved. |
void |
viewpointChanged()
Update location |
protected void |
xxxxsetColor(Displayable displayable,
Color c)
noop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String ATTR_FRONTTYPE
| Constructor Detail |
|---|
public FrontGlyph()
public FrontGlyph(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 FrontGlyph(DrawingControl control,
DisplayEvent event,
String type)
throws VisADException,
RemoteException
control - The control I'm in.event - The display event.type - Front type
RemoteException - When bad things happen
VisADException - When bad things happen| Method Detail |
|---|
protected boolean initFinalInner()
throws VisADException,
RemoteException
initFinalInner in class DrawingGlyphRemoteException - On badness
VisADException - On badness
protected void xxxxsetColor(Displayable displayable,
Color c)
throws VisADException,
RemoteException
displayable - displayablec - color
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 badnesspublic String getExtraDescription()
getExtraDescription in class DrawingGlyph
protected void getPropertiesComponents(List comps,
Hashtable compMap)
getPropertiesComponents in class DrawingGlyphcomps - List of compscompMap - comp map
protected boolean applyProperties(Hashtable compMap)
throws VisADException,
RemoteException
applyProperties in class DrawingGlyphcompMap - holds comps
RemoteException - On badness
VisADException - On badnesspublic boolean canShowDistance()
canShowDistance in class DrawingGlyph
public void doFlythrough()
throws VisADException,
RemoteException
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 badnessprotected void addAttributes(Element e)
addAttributes in class DrawingGlyphe - Xml node
public void viewpointChanged()
throws VisADException,
RemoteException
viewpointChanged in class DrawingGlyphRemoteException - On badness
VisADException - On badness
public void projectionChanged()
throws VisADException,
RemoteException
projectionChanged in class DrawingGlyphRemoteException - On badness
VisADException - On badness
public static void setBaseScale(DrawingControl control,
FrontDrawer frontDrawer)
throws VisADException,
RemoteException
control - The control we're infrontDrawer - The drawer
RemoteException - On badness
VisADException - On badnessprotected List getSelectionPoints()
getSelectionPoints in class DrawingGlyphprotected float getDefaultZPosition()
getDefaultZPosition in class DrawingGlyph
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
public DrawingGlyph handleMouseDragged(DisplayEvent event)
throws VisADException,
RemoteException
handleMouseDragged in class DrawingGlyphevent - The display event.
RemoteException - On badness
VisADException - On badnesspublic String getTagName()
getTagName in class DrawingGlyphpublic String getTypeName()
getTypeName in class DrawingGlyphpublic void setFrontType(String value)
value - The new value for FrontTypepublic String getFrontType()
public void setFlipIt(boolean value)
value - The new value for FlipItpublic boolean getFlipIt()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||