|
||||||||||
| 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.ImageGlyph
public class ImageGlyph
Class ImageGlyph. Displays images.
| Field Summary | |
|---|---|
static String |
ATTR_IMAGE
Xml attribute name |
static String |
ATTR_UPDATE
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 | |
|---|---|
ImageGlyph()
Ctor |
|
ImageGlyph(DrawingControl control,
DisplayEvent event,
String image)
Ctor |
|
| Method Summary | |
|---|---|
protected void |
addAttributes(Element e)
Populate the xml node with attrs |
protected boolean |
constrainedTo2D()
Is glyph constrained to 2d |
void |
doExport()
Export the image as an ximg file |
void |
doMove(DisplayEvent event)
Handle the event |
void |
doStretch(DisplayEvent event)
Handle the event |
String |
getExtraDescription()
Get extra description for the table listing |
String |
getImage()
Get the Image property. |
protected void |
getPropertiesComponents(List comps,
Hashtable compMap)
Get properties widgets |
String |
getTagName()
Xml tag name to use |
String |
getTypeName()
Name to use for this glyph |
DrawingGlyph |
handleCreation(DisplayEvent event)
Was created from user |
DrawingGlyph |
handleMousePressed(DisplayEvent event)
Handle event |
DrawingGlyph |
handleMouseReleased(DisplayEvent event)
Handle event |
protected boolean |
initFinalInner()
Do final initialization |
boolean |
initFromUser(DrawingControl control,
DisplayEvent event)
Initialize after the user created me |
void |
initFromXml(DrawingControl control,
Element node)
Initialize from xml |
void |
initMove(DisplayEvent event)
Started moving |
void |
setImage(String value)
Set the Image property. |
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_IMAGE
public static final String ATTR_UPDATE
| Constructor Detail |
|---|
public ImageGlyph()
public ImageGlyph(DrawingControl control,
DisplayEvent event,
String image)
throws VisADException,
RemoteException
control - The control I'm in.event - The display event.image - The image
RemoteException - When bad things happen
VisADException - When bad things happen| Method Detail |
|---|
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 badnesspublic String getExtraDescription()
getExtraDescription in class DrawingGlyph
public DrawingGlyph handleCreation(DisplayEvent event)
throws VisADException,
RemoteException
handleCreation in class DrawingGlyphevent - The display event.
RemoteException - On badness
VisADException - On badness
public void doMove(DisplayEvent event)
throws VisADException,
RemoteException
doMove 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 initMove(DisplayEvent event)
throws VisADException,
RemoteException
initMove 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 badness
protected void getPropertiesComponents(List comps,
Hashtable compMap)
getPropertiesComponents in class DrawingGlyphcomps - widgetscompMap - extra holder of componentspublic void doExport()
public String getTypeName()
getTypeName in class DrawingGlyphpublic void setImage(String value)
value - The new value for Imagepublic String getImage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||