Package pamScrollSystem
Class PamScrollerData
java.lang.Object
pamScrollSystem.PamScrollerData
- All Implemented Interfaces:
 Serializable,Cloneable
- See Also:
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longDefault data load time.protected longMaximum time of data loaded for this scrollerprotected longMinimum time of data loaded for this scrollerprotected Stringprotected intPage step size - percentage of (maximumMills-mnimumMillis) to move back or forth through the data in response to a new load data command. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionclone()longA quick way of getting the duration of loaded datalongThe end time of the scroller.longThe start time of the scroller.getName()intGet the step size.doubleintvoidsetMaximumMillis(long maximumMillis) Set the end time of the scroller.voidsetMinimumMillis(long minimumMillis) Set the start time of the scroller.voidvoidsetPageStep(int pageStep) Set the step size.voidsetPlaySpeed(double playSpeed) voidsetStepSizeMillis(int stepSizeMillis)  
- 
Field Details
- 
name
 - 
minimumMillis
protected long minimumMillisMinimum time of data loaded for this scroller - 
maximumMillis
protected long maximumMillisMaximum time of data loaded for this scroller - 
pageStep
protected int pageStepPage step size - percentage of (maximumMills-mnimumMillis) to move back or forth through the data in response to a new load data command. - 
defaultLoadtime
protected long defaultLoadtimeDefault data load time. 
 - 
 - 
Constructor Details
- 
PamScrollerData
public PamScrollerData() 
 - 
 - 
Method Details
- 
getName
- Returns:
 - the name
 
 - 
setName
- Parameters:
 name- the name to set
 - 
clone
 - 
getLength
public long getLength()A quick way of getting the duration of loaded data- Returns:
 - maximumMillis - minimumMillis
 
 - 
getMinimumMillis
public long getMinimumMillis()The start time of the scroller.- Returns:
 - the start time of scroller in millis datenmum.
 
 - 
setMinimumMillis
public void setMinimumMillis(long minimumMillis) Set the start time of the scroller. - 
getMaximumMillis
public long getMaximumMillis()The end time of the scroller.- Returns:
 - the end time of scroller in millis datenmum.
 
 - 
setMaximumMillis
public void setMaximumMillis(long maximumMillis) Set the end time of the scroller.- Parameters:
 the- end time of scroller in millis datenmum.
 - 
getPageStep
public int getPageStep()Get the step size. This the jump that is made during a page forward or page back.- Returns:
 - % jump forward/backward during a page.
 
 - 
setPageStep
public void setPageStep(int pageStep) Set the step size. This the jump that is made during a page forward or page back. - 
getStepSizeMillis
public int getStepSizeMillis() - 
setStepSizeMillis
public void setStepSizeMillis(int stepSizeMillis) - Parameters:
 stepSizeMillis- the stepSizeMillis to set
 - 
getPlaySpeed
public double getPlaySpeed()- Returns:
 - the playSpeed
 
 - 
setPlaySpeed
public void setPlaySpeed(double playSpeed) - Parameters:
 playSpeed- the playSpeed to set
 
 -