|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object portaview.model.SlideSettings
Settings for the slideshow. This contains most of the state in the PortaView. This object is transfered over to remote PortaView in order to change their settings.
Field Summary | |
static java.lang.String |
BORDER
|
static java.lang.String |
BORDER_BLUE
|
static java.lang.String |
BORDER_GREEN
|
static java.lang.String |
BORDER_RED
|
static java.lang.String |
INDEX
|
static int |
PAUSE
|
static int |
PLAY
|
static java.lang.String |
PLAY_STATE
|
static java.lang.String |
SLIDE
|
static java.lang.String |
SPEED
|
static java.lang.String |
TOTAL
|
static java.lang.String |
TRANSPARENCY
|
Constructor Summary | |
SlideSettings()
|
|
SlideSettings(java.util.Hashtable def)
Given a Hashtable that represents this object (got form XML-RPC mostly), convert and set this object. |
Method Summary | |
boolean |
equals(java.lang.Object ss)
|
boolean |
equals(SlideSettings ss)
Returns true if the given slide settings is exactly the same. |
int |
getBorder()
|
java.awt.Color |
getBorderColor()
|
int |
getIndex()
|
int |
getPlayState()
|
java.lang.String |
getSlide()
|
int |
getSpeed()
|
int |
getTotal()
|
int |
getTransparency()
|
void |
setBorder(int border)
Sets border width. |
void |
setBorderColor(java.awt.Color borderColor)
Sets border color |
void |
setIndex(int index)
Sets the picture index. |
void |
setPlayState(int i)
Sets the play state. |
void |
setSlide(java.lang.String slide)
Sets the slide's name. |
void |
setSpeed(int speed)
Sets the play speed. |
void |
setTotal(int total)
Sets the total number of slides. |
void |
setTransparency(int i)
Sets the alpha transparency |
java.lang.Object |
toHashtable()
|
java.lang.String |
toString()
Serializes to string for pretty print out. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String SLIDE
public static final java.lang.String INDEX
public static final java.lang.String TOTAL
public static final java.lang.String SPEED
public static final java.lang.String TRANSPARENCY
public static final java.lang.String PLAY_STATE
public static final java.lang.String BORDER_RED
public static final java.lang.String BORDER_GREEN
public static final java.lang.String BORDER_BLUE
public static final java.lang.String BORDER
public static final int PLAY
public static final int PAUSE
Constructor Detail |
public SlideSettings()
public SlideSettings(java.util.Hashtable def)
Method Detail |
public boolean equals(SlideSettings ss)
ss
- slide settings to test.
public boolean equals(java.lang.Object ss)
public java.lang.String toString()
public java.lang.Object toHashtable()
public int getBorder()
public void setBorder(int border)
border
- the border width.public java.awt.Color getBorderColor()
public void setBorderColor(java.awt.Color borderColor)
borderColor
- color to set.public int getIndex()
public void setIndex(int index)
index
- index of the picture.public java.lang.String getSlide()
public void setSlide(java.lang.String slide)
slide
- slide's name.public int getTotal()
public void setTotal(int total)
total
- total number of slides.public int getSpeed()
public void setSpeed(int speed)
speed
- play speed.public int getPlayState()
public void setPlayState(int i)
i
- play state, this can be PLAY or PAUSE.public int getTransparency()
public void setTransparency(int i)
i
- alpha transparency. This number goes from 0 to 10.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |