|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.exponto.jstock.gui.panels.Lines
Constructor Summary | |
Lines(TickerID id,
java.lang.String panelType,
java.lang.String indicatorName,
int parameterHash)
Creates a new set of Lines |
Method Summary | |
void |
addLine(PersistentLine pL)
|
void |
changeCurrentLine(int i)
Sets the currentPosition to currentPosition + i. |
void |
deleteActiveSelection()
Deletes the line that is active |
PersistentLine |
getActive()
Gets the currently active line. |
TickerID |
getTickerId()
Get the TickerID associated with the lines. |
java.lang.String |
getType()
The type of chart. |
PersistentLine |
hasNext()
Gets the next PersistenLine if there is more. |
void |
loadLines()
Load lines from the database |
void |
reloadLines(java.lang.String indicatorName,
int parameterHash)
|
void |
removeCurrentLine()
|
void |
reset()
Sets the currentPosition to the first line in the ArrayList |
void |
saveLines()
Saves all lines not marked as deleted into the database. |
boolean |
selectNext(boolean keepSelected)
|
boolean |
selectNextEnd()
|
boolean |
selectPrevious(boolean keepSelected)
|
void |
setActive(PersistentLine pL)
Updates the position of the active line. |
void |
setTickerId(TickerID id)
Sets the TickerID |
void |
setType(java.lang.String panelType)
Sets the type of chart theese lines are valid for |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Lines(TickerID id, java.lang.String panelType, java.lang.String indicatorName, int parameterHash)
id
- - TickerID that this Lines is associated withpanelType
- Method Detail |
public void reset()
public void changeCurrentLine(int i)
i
- integer to add to the currentPositionpublic PersistentLine hasNext()
public PersistentLine getActive()
public void setActive(PersistentLine pL)
pL
- the PersistentLine that shall be updatedpublic void addLine(PersistentLine pL)
public void removeCurrentLine()
public boolean selectNext(boolean keepSelected)
keepSelected
- if false all selection is reset.
public boolean selectPrevious(boolean keepSelected)
keepSelected
- if false all selection is reset.
public boolean selectNextEnd()
public void deleteActiveSelection()
public void reloadLines(java.lang.String indicatorName, int parameterHash)
public void loadLines()
public void saveLines()
public TickerID getTickerId()
public java.lang.String getType()
public void setTickerId(TickerID id)
id
- The TickerIdpublic void setType(java.lang.String panelType)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |