|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OfflineStore
Interface for offline click storage - may be one file, or many and may also end up supporting different types of click file.
| Method Summary | |
|---|---|
javax.swing.JButton[] |
getCommandButtons()
Get buttons to insert into the front of the offline toolbar |
java.io.File |
getCurrentFile()
|
java.io.File[] |
getFolderFiles()
Get a list of files in the same folder as the current file (where the store is file based !) |
java.lang.String |
getName()
Get the store name - probably the name of a fiel, folder or database. |
float |
getSampleRate()
|
long |
getStartTimeMillis()
|
long |
getTotalMillisNoGaps()
Get the total length of concatonated data. |
long |
getTotalMillisWithGaps()
Get the total length of the data |
boolean |
isOpen()
Is the store open ? |
void |
openFile(java.io.File file)
Open a file. |
boolean |
openMenuOptions()
|
int |
readAllClicks()
Read all clicks in the store. |
void |
readClicks(long startTime,
long endTime)
Read clicks between the two time limits |
boolean |
saveClicks()
Save any clicks in memory which indicate that they need saving |
| Method Detail |
|---|
boolean openMenuOptions()
javax.swing.JButton[] getCommandButtons()
OfflineToolbarlong getStartTimeMillis()
long getTotalMillisWithGaps()
long getTotalMillisNoGaps()
java.lang.String getName()
float getSampleRate()
void readClicks(long startTime,
long endTime)
startTime - Java millisecondsendTime - Java millisecondsint readAllClicks()
boolean saveClicks()
boolean isOpen()
java.io.File[] getFolderFiles()
void openFile(java.io.File file)
file - file to openjava.io.File getCurrentFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||