|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.rit.slides.ProjectorObject
public class ProjectorObject
Class ProjectorObject provides an exported projector object in the Slides
application. See interface Projector
for a
description of how screen objects interact with projector objects.
A ProjectorObject is responsible for getting the slides in a certain SlideShow
displayed on all the screen objects in a
theatre. The projector object does this by calling methods on a multihandle
for interface
Screen
; all slide objects attached
to this multihandle execute the method calls.
Constructor Summary | |
---|---|
ProjectorObject()
Construct a new projector object. |
Method Summary | |
---|---|
void |
displayFirst()
Display the first slide group in this projector's slide show. |
void |
displayLast()
Display the last slide group in this projector's slide show. |
void |
displayNext()
Display the next slide group in this projector's slide show. |
void |
displayPrevious()
Display the previous slide group in this projector's slide show. |
void |
getSlide(Eoid theSlideID)
Get the given slide from this projector. |
int |
getSlideGroupIndex()
Returns the index of the slide group this projector is currently displaying. |
boolean |
isBlanked()
Determine if the display is blanked. |
void |
setBlanked(boolean blanked)
Blank or unblank the display. |
void |
setSlideShow(SlideShow theSlideShow)
Set the slide show this projector will display. |
void |
setTheatre(Screen theTheatre)
Set the theatre in which this projector object will participate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProjectorObject()
Method Detail |
---|
public void setTheatre(Screen theTheatre)
theTheatre
-
Screen
multihandle for the theatre, or
null not to participate in a theatre.public void setSlideShow(SlideShow theSlideShow)
theSlideShow
- Slide show to display, or null not to display a slide show.public void displayFirst()
public void displayLast()
public void displayNext()
public void displayPrevious()
public int getSlideGroupIndex()
public void getSlide(Eoid theSlideID)
getSlide
in interface Projector
theSlideID
- Slide ID (type
Eoid
).public void setBlanked(boolean blanked)
blanked
- True to blank the display, false to unblank the display.public boolean isBlanked()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |