de.flaxen.jdvdslideshow.commands
Class Fade

java.lang.Object
  extended by de.flaxen.jdvdslideshow.commands.Command
      extended by de.flaxen.jdvdslideshow.commands.FileCommand
          extended by de.flaxen.jdvdslideshow.commands.DurationCommand
              extended by de.flaxen.jdvdslideshow.commands.SubtitleCommand
                  extended by de.flaxen.jdvdslideshow.commands.Fade
All Implemented Interfaces:
java.lang.Cloneable

public class Fade
extends SubtitleCommand

fadein:duration:subtitle Fades in to the next slide fadeout:duration:subtitle Fades out to the background crossfade:duration:subtitle Fades from one slide to the next. wipe:duration:subtitle Wipes are effects that allow for smoother transitions on your slideshow. The wipe effect will act like a slide projector moving the current image to the left as the next one comes in from the right. It looks especially nice when combined with the border option.

Author:
develop

Nested Class Summary
static class Fade.FADE
           
static class Fade.WIPE_DIRECTION
           
 
Field Summary
 
Fields inherited from class de.flaxen.jdvdslideshow.commands.FileCommand
activeFileDisplayName
 
Fields inherited from class de.flaxen.jdvdslideshow.commands.Command
name
 
Constructor Summary
Fade()
          Creates a new instance of Fade
 
Method Summary
 void copyTo(Command command)
           
protected  void generate(java.lang.StringBuilder builder)
           
 java.lang.String getDisplayName()
           
 Fade.FADE getFade()
           
 Fade.WIPE_DIRECTION getWipeDirection()
           
static boolean isFadeCommand(java.lang.String lineLowerCase)
           
protected  void parse(java.lang.String[] elements)
           
 void setFade(Fade.FADE fade)
           
 void setWipeDirection(Fade.WIPE_DIRECTION wipeDirection)
           
 
Methods inherited from class de.flaxen.jdvdslideshow.commands.SubtitleCommand
getSubtitle, setSubtitle
 
Methods inherited from class de.flaxen.jdvdslideshow.commands.DurationCommand
generateDuration, getDuration, parseDuration, setDuration
 
Methods inherited from class de.flaxen.jdvdslideshow.commands.Command
clone, createCommand, generate, getAudioCommand, getAudioTimeIndex, getCommandPanel, getInfo, getListIndex, getName, getTimeIndex, hasAudio, hasExtention, hasExtention, parse, setAudioCommand, setListIndex, setName, setTimeIndex
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fade

public Fade()
Creates a new instance of Fade

Method Detail

isFadeCommand

public static boolean isFadeCommand(java.lang.String lineLowerCase)

getWipeDirection

public Fade.WIPE_DIRECTION getWipeDirection()

setWipeDirection

public void setWipeDirection(Fade.WIPE_DIRECTION wipeDirection)

getDisplayName

public java.lang.String getDisplayName()
Overrides:
getDisplayName in class FileCommand

parse

protected void parse(java.lang.String[] elements)
Overrides:
parse in class Command

generate

protected void generate(java.lang.StringBuilder builder)
Overrides:
generate in class Command

getFade

public Fade.FADE getFade()

setFade

public void setFade(Fade.FADE fade)

copyTo

public void copyTo(Command command)
Overrides:
copyTo in class SubtitleCommand