|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.rit.slides.SlideDescriptor
public class SlideDescriptor
Class SlideDescriptor provides a slide descriptor in the Slides application.
A slide descriptor consists of (1) the unihandle for the Projector
object that owns the slide and (2) the slide ID (type
Eoid
) of the slide within that
projector object.
Constructor Summary | |
---|---|
SlideDescriptor(Projector theProjector,
Eoid theSlideID)
Construct a new slide descriptor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Determine if this slide descriptor is equal to the given object. |
Projector |
getProjector()
Obtain this slide descriptor's projector object. |
Eoid |
getSlideID()
Obtain this slide descriptor's slide ID. |
int |
hashCode()
Returns a hash code for this slide descriptor. |
String |
toString()
Returns a string version of this slide descriptor. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SlideDescriptor(Projector theProjector, Eoid theSlideID)
theProjector
- Unihandle for the projector object.theSlideID
- Slide ID within the projector object.
NullPointerException
- (unchecked exception) Thrown if theProjector is null or
theSlideID is null.Method Detail |
---|
public Projector getProjector()
public Eoid getSlideID()
public boolean equals(Object obj)
equals
in class Object
obj
- Object to test.
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |