Package pamScrollSystem
Class PamScrollerData
java.lang.Object
pamScrollSystem.PamScrollerData
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
long
A quick way of getting the duration of loaded datalong
The end time of the scroller.long
The start time of the scroller.getName()
int
Get the step size.double
int
void
setMaximumMillis
(long maximumMillis) Set the end time of the scroller.void
setMinimumMillis
(long minimumMillis) Set the start time of the scroller.void
void
setPageStep
(int pageStep) Set the step size.void
setPlaySpeed
(double playSpeed) void
setStepSizeMillis
(int stepSizeMillis)
-
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
-