|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mov.table.WatchScreen
public class WatchScreen
Representation of a watch screen. A watch screen contains a list of stock symbols that the user has grouped together to monitor. Each watch screen also has its own name.
Symbol
Constructor Summary | |
---|---|
WatchScreen(java.lang.String name)
Create a new watch screen with the given name. |
Method Summary | |
---|---|
void |
addSymbol(Symbol symbol)
Add a symbol to this watch screen. |
void |
addSymbols(java.util.List symbols)
Add a list of symbols to this watch screen. |
java.lang.String |
getName()
Get the name of the watcch screen. |
java.util.List |
getSymbols()
Return the list of stock symbols in this watch screen. |
void |
removeAllSymbols(java.util.List symbols)
Remove all the given symbols from this watch screen. |
void |
removeSymbol(Symbol symbol)
Remove the given symbol from this watch screen. |
void |
setName(java.lang.String name)
Set the name of the watch screen to the new name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WatchScreen(java.lang.String name)
name
- the name of the watch screen.Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the new name of the watch screen.public java.util.List getSymbols()
Symbol
public void addSymbol(Symbol symbol)
symbol
- the symbol to add.public void addSymbols(java.util.List symbols)
symbols
- the list of symbols to add.public void removeSymbol(Symbol symbol)
symbol
- the symbol to remove.public void removeAllSymbols(java.util.List symbols)
symbols
- the list of symbols to remove.Symbol
|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |