|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.util.NamedList
ucar.unidata.ui.symbol.StationModel
public class StationModel
| Constructor Summary | |
|---|---|
StationModel()
default ctor |
|
StationModel(String name)
ctor |
|
StationModel(String name,
List l)
ctor |
|
| Method Summary | |
|---|---|
void |
addSymbol(MetSymbol s)
Add the symbol |
void |
draw(Graphics2D g,
Point2D loc)
Draw the entire StationModel at the given location. |
MetSymbol |
findSymbolByName(String name)
Find the named symbol |
Rectangle |
getBounds()
Get the bounds. |
String |
getDisplayName()
|
List |
getSymbols()
Get the list of symbols |
void |
removeSymbol(MetSymbol s)
Remove the symbol |
| Methods inherited from class ucar.unidata.util.NamedList |
|---|
equals, getDescription, getList, getName, iterator, setList, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StationModel()
public StationModel(String name)
name - The name of the station model
public StationModel(String name,
List l)
name - namel - List of MetSymbols in this station model| Method Detail |
|---|
public List getSymbols()
public void addSymbol(MetSymbol s)
s - The symbol to addpublic void removeSymbol(MetSymbol s)
s - Symbol to removepublic Rectangle getBounds()
public String getDisplayName()
public MetSymbol findSymbolByName(String name)
name - Symbol name
public void draw(Graphics2D g,
Point2D loc)
g - loc -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||