com.exponto.jstock
Class Lines
java.lang.Object
com.exponto.jstock.Lines
- public class Lines
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Lines
public Lines(TickerID id,
boolean isWeekly)
finalize
public void finalize()
load
public void load(int tickerId)
reset
public void reset()
changeCurrentLine
public void changeCurrentLine(int i)
hasNext
public PersistentLine hasNext()
getActive
public PersistentLine getActive()
setActive
public void setActive(PersistentLine pL)
addLine
public void addLine(PersistentLine pL)
removeCurrentLine
public void removeCurrentLine()
selectNext
public boolean selectNext(boolean keepSelected)
- Parameters:
keepSelected
- if false all selection is reset.
- Returns:
- true if a new PersistentLine is selected
selectPrevious
public boolean selectPrevious(boolean keepSelected)
- Parameters:
keepSelected
- if false all selection is reset.
- Returns:
- true if a new PersistentLine is selected
selectNextEnd
public void selectNextEnd()
deleteActiveSelection
public void deleteActiveSelection()
saveLines
public void saveLines()
getTickerId
public TickerID getTickerId()
- Returns:
- the TickerId
getType
public int getType()
- Returns:
- the type (either daily or weekly)
setTickerId
public void setTickerId(TickerID id)
- Parameters:
id
- The TickerId
setType
public void setType(boolean isWeekly)
- Parameters:
isWeekly
- boolean that indicates of this is lines for a weekly chart or not.
Copyright © 2004 Kaare Ranum