|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--manifold.base.Glyph
|
+--flatscape.FGlyph
|
+--flatscape.glyph.Unit
Glyph to render military unit symbols (MIL-STD-2525B).
Copyright (c) 2001 Rutgers, The State University of New Jersey
| Field Summary | |
protected java.lang.String |
affiliation_
Copy of the affiliation property |
protected java.lang.String |
modifiers_
Copy of the modifiers property |
static int |
scale_
|
protected java.awt.Shape |
shape_
|
protected java.lang.String |
size_
|
protected java.awt.Image |
symbol_
Symbol image for faster redraw |
protected SymbolDB |
symbols_
Symbol database |
protected java.lang.String |
unittype_
Copy of the unittype property |
| Fields inherited from class flatscape.FGlyph |
curInteractionPoint, DEFAULT, interactionPoints, POINTSIZE, selected_ |
| Fields inherited from class manifold.base.Glyph |
model_, TRANSFORM, viewer_, visible_ |
| Constructor Summary | |
Unit()
|
|
| Method Summary | |
void |
draw(Traversal t)
FGlyphs can not be drawed - Does nothing. |
protected java.awt.Shape |
getBoundingShape()
Gets the bounding shape of the glyph. |
void |
propertyChange(org.w3c.dom.Element model,
java.lang.String name,
java.lang.Object oldValue,
java.lang.Object newValue)
Method called by a UForm which had a change of a property. |
protected void |
updateProperties()
Updates the local copies of the properties from the model. |
| Methods inherited from class flatscape.FGlyph |
addInteractionPoint, children, config, constructGlyph, drawSelectionBox, getAllowsChildren, getChildAt, getChildCount, getIndex, getInteractionPoint, getLimits, getParent, getTransform, getTransform, insert, isLeaf, moveInteractionPoint, pick, pickInteractionPoint, remove, remove, removeFromParent, setInteractionPoint, setModel, setParent, setSelected, setUserObject, toString, traverse, updateInteractionPoints, validTypes |
| Methods inherited from class manifold.base.Glyph |
getModel, getViewer, isVisible, setViewer, setVisible |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int scale_
protected java.lang.String unittype_
protected java.lang.String affiliation_
protected java.lang.String modifiers_
protected java.lang.String size_
protected java.awt.Image symbol_
protected SymbolDB symbols_
protected java.awt.Shape shape_
| Constructor Detail |
public Unit()
| Method Detail |
protected java.awt.Shape getBoundingShape()
FGlyphpick(Traversal t) method
of FGlyph is to be used
getBoundingShape in class FGlyphpublic void draw(Traversal t)
FGlyph
draw in class FGlypht - keeps the state of the traversalprotected void updateProperties()
updateProperties in class FGlyph
public void propertyChange(org.w3c.dom.Element model,
java.lang.String name,
java.lang.Object oldValue,
java.lang.Object newValue)
propertyChange in class FGlyphname - the name of the propertyoldValue - the old value of the propertynewValue - the new value of the property
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||