|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--ants.core.Thing
|
+--ants.move.core.models.slides.SlidesModel
Implementation of Slides Model.
| Constructor Summary | |
SlidesModel()
Sole & void constructor. |
|
| Method Summary | |
void |
addSlidesListener(SlidesListener sList)
Add new slides listener |
void |
destroy()
Destroy method |
void |
firstPicture()
Remotely go to first slide. |
java.lang.String |
getPicture()
return url of current slide |
ants.core.Thing |
getSlidesThing()
Thing that is loaded in slides tool |
java.lang.String |
getSlidesThingId()
retuns key of the slides set that is loaded in slides tool |
java.lang.String |
getType()
Tool type |
void |
init()
Initialize Model |
void |
lastPicture()
Remotely go to last slide. |
void |
loadSlides(java.lang.String thingKey)
|
void |
nextPicture()
Remotely go to next slide. |
void |
prevPicture()
Remotely go back to previous slide. |
void |
propertyChange(ants.core.PropertyChangeEvent evt)
Method triggered in response to a property change. |
void |
removeSlidesListener(SlidesListener sList)
remove slide listener |
void |
setSlidesThing(java.lang.String thingKey)
Load new slides set in slides tool |
| Methods inherited from class ants.core.Thing |
addPropertyChangeListener, addTokenToProperty, eventArrived, getContext, getDescription, getIndexedProperty, getIndexedProperty, getIndexedPropertyNames, getIndexedPropertySize, getName, getPlace, getProperty, getPropertyNames, getThingGateway, getThingId, incrementProperty, init, removePropertyChangeListener, setProperty, triggerEvent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SlidesModel()
| Method Detail |
public void init()
init in class ants.core.Thingpublic void addSlidesListener(SlidesListener sList)
sList - Class that implements SlidesModel interfacepublic void removeSlidesListener(SlidesListener sList)
sList - Class that implements SlidesListener Interfacepublic void setSlidesThing(java.lang.String thingKey)
thingKey - Key of the slides set thingpublic java.lang.String getSlidesThingId()
public ants.core.Thing getSlidesThing()
public void firstPicture()
public void prevPicture()
public void loadSlides(java.lang.String thingKey)
public void nextPicture()
public void lastPicture()
public java.lang.String getPicture()
public void propertyChange(ants.core.PropertyChangeEvent evt)
ants.core.PropertyChangeListenerpropertyChange in interface ants.core.PropertyChangeListenerants.core.PropertyChangeListenerpublic java.lang.String getType()
getType in class ants.core.Thingpublic void destroy()
destroy in class ants.core.Thing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||