Class Subject
java.lang.Object
genericepg.duna.project.observable.Subject
public class Subject
extends java.lang.Object
Created by Marius Duna on 9/9/2016.
-
Constructor Summary
Constructors Constructor Description Subject() -
Method Summary
Modifier and Type Method Description voidattach(ObservableRecyclerView observer)doublegetCurrentTime()android.os.HandlergetHandler()intgetInitialPosition()intgetState()doublegetSystemTime()voidnotifyAllObservers()voidresetAllObservers()voidsetCurrentTime(double currentTime)voidsetState(int dx)voidsetSystemTime(double time)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Subject
public Subject()
-
-
Method Details
-
getHandler
public android.os.Handler getHandler() -
getState
public int getState() -
getInitialPosition
public int getInitialPosition() -
setState
public void setState(int dx) -
attach
-
notifyAllObservers
public void notifyAllObservers() -
resetAllObservers
public void resetAllObservers() -
getCurrentTime
public double getCurrentTime() -
setCurrentTime
public void setCurrentTime(double currentTime) -
setSystemTime
public void setSystemTime(double time) -
getSystemTime
public double getSystemTime()
-