Package sidplay.ini

Klasse IniSidplay2Section

java.lang.Object
sidplay.ini.IniSection
sidplay.ini.IniSidplay2Section
Alle implementierten Schnittstellen:
ISidPlay2Section

public class IniSidplay2Section extends IniSection implements ISidPlay2Section
SIDPlay2 section of the INI file.
Autor:
Ken Händel
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    private static final String
     

    Von Klasse geerbte Felder sidplay.ini.IniSection

    iniReader

    Von Schnittstelle geerbte Felder libsidplay.config.ISidPlay2Section

    SIDPLAY2_SECTION_BUNDLE
  • Konstruktorübersicht

    Konstruktoren
    Modifizierer
    Konstruktor
    Beschreibung
    protected
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    final float
    Get VIC palette setting bleed.
    final float
    Get VIC palette setting blur.
    final float
    Get VIC palette setting brightness.
    final float
    Get VIC palette setting contrast.
    final double
    Getter of the default play length (if the song length is unknown).
    final double
    Fade-in start time in seconds, audio volume should be increased to the max.
    final double
    Fade-out start time in seconds, audio volume should be lowered to zero.
    final float
    Get VIC palette setting gamma.
    final File
    Getter of the HVSC collection directory.
    final File
    Getter of the last accessed directory in the file browser.
    final float
    Get VIC palette setting offset.
    final float
    Get VIC palette setting phaseShift.
    final float
    Get VIC palette setting saturation.
    final double
    Getter of the start time.
    final float
    Get VIC palette setting tint.
    final File
    Getter of the temporary directory for JSIDPlay2.
    final int
    Get INI file version.
    final boolean
    Getter of the enable of the Songlengths database.
    final boolean
    Getter of the tune should loop
    final boolean
    Get PAL emulation enable.
    final boolean
    Do we play a single song per tune?
    final boolean
    Getter of convert other programs to turbo-tape or normal tape format
    final void
    setBleed(float bleed)
    Set VIC palette setting bleed
    final void
    setBlur(float blur)
    Set VIC palette setting blur
    final void
    setBrightness(float brightness)
    Set VIC palette setting brightness
    final void
    setContrast(float contrast)
    Set VIC palette setting contrast
    final void
    setDefaultPlayLength(double playLength)
    Setter of the default play length (if the song length is unknown).
    final void
    setEnableDatabase(boolean enable)
    Setter of the enable of the Songlengths database.
    final void
    setFadeInTime(double fadeInTime)
    Setter of Fade-in start time in seconds, audio volume should be increased to the max.
    final void
    setFadeOutTime(double fadeOutTime)
    Setter of Fade-out start time in seconds, audio volume should be lowered to zero.
    final void
    setGamma(float gamma)
    Set VIC palette setting gamma
    final void
    setHvsc(File hvsc)
    Setter of the HVSC collection directory.
    final void
    Setter of the last accessed directory in the file browser.
    final void
    setLoop(boolean loop)
    Setter of the tune should loop
    final void
    setOffset(float offset)
    Set VIC palette setting offset
    final void
    setPalEmulation(boolean palEmulation)
    Set PAL emulation enable.
    final void
    setPhaseShift(float phaseShift)
    Set VIC palette setting phaseShift
    final void
    setSaturation(float saturation)
    Set VIC palette setting saturation
    final void
    setSingle(boolean singleSong)
    setter to play a single song per tune.
    final void
    setStartTime(double startTime)
    Setter of the start time.
    final void
    setTint(float tint)
    Set VIC palette setting tint
    final void
    setTmpDir(File tmpDir)
    Setter of the temporary directory for JSIDPlay2.
    final void
    setTurboTape(boolean turboTape)
    Setter of convert other programs to turbo-tape or normal tape format
    final void
    setVersion(int version)
    Set configuration version
    final String
     

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Felddetails

  • Konstruktordetails

    • IniSidplay2Section

      protected IniSidplay2Section(IniReader ini)
  • Methodendetails

    • getVersion

      public final int getVersion()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get INI file version.
      Angegeben von:
      getVersion in Schnittstelle ISidPlay2Section
      Gibt zurück:
      INI file version
    • setVersion

      public final void setVersion(int version)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set configuration version
      Angegeben von:
      setVersion in Schnittstelle ISidPlay2Section
      Parameter:
      version - configuration version
    • isEnableDatabase

      public final boolean isEnableDatabase()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Getter of the enable of the Songlengths database.
      Angegeben von:
      isEnableDatabase in Schnittstelle ISidPlay2Section
      Gibt zurück:
      Is the Songlengths database enabled?
    • setEnableDatabase

      public final void setEnableDatabase(boolean enable)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Setter of the enable of the Songlengths database.
      Angegeben von:
      setEnableDatabase in Schnittstelle ISidPlay2Section
      Parameter:
      enable - the enable of the Songlengths database
    • getStartTime

      public final double getStartTime()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Getter of the start time.
      Angegeben von:
      getStartTime in Schnittstelle ISidPlay2Section
      Gibt zurück:
      start time
    • setStartTime

      public final void setStartTime(double startTime)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Setter of the start time.
      Angegeben von:
      setStartTime in Schnittstelle ISidPlay2Section
      Parameter:
      startTime - start time
    • getDefaultPlayLength

      public final double getDefaultPlayLength()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Getter of the default play length (if the song length is unknown).
      Angegeben von:
      getDefaultPlayLength in Schnittstelle ISidPlay2Section
      Gibt zurück:
      default play length
    • setDefaultPlayLength

      public final void setDefaultPlayLength(double playLength)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Setter of the default play length (if the song length is unknown).
      Angegeben von:
      setDefaultPlayLength in Schnittstelle ISidPlay2Section
      Parameter:
      playLength - default play length
    • getFadeInTime

      public final double getFadeInTime()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Fade-in start time in seconds, audio volume should be increased to the max.
      Angegeben von:
      getFadeInTime in Schnittstelle ISidPlay2Section
    • setFadeInTime

      public final void setFadeInTime(double fadeInTime)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Setter of Fade-in start time in seconds, audio volume should be increased to the max.
      Angegeben von:
      setFadeInTime in Schnittstelle ISidPlay2Section
    • getFadeOutTime

      public final double getFadeOutTime()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Fade-out start time in seconds, audio volume should be lowered to zero.
      Angegeben von:
      getFadeOutTime in Schnittstelle ISidPlay2Section
    • setFadeOutTime

      public final void setFadeOutTime(double fadeOutTime)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Setter of Fade-out start time in seconds, audio volume should be lowered to zero.
      Angegeben von:
      setFadeOutTime in Schnittstelle ISidPlay2Section
    • isLoop

      public final boolean isLoop()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Getter of the tune should loop
      Angegeben von:
      isLoop in Schnittstelle ISidPlay2Section
      Gibt zurück:
      tune should loop
    • setLoop

      public final void setLoop(boolean loop)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Setter of the tune should loop
      Angegeben von:
      setLoop in Schnittstelle ISidPlay2Section
      Parameter:
      loop - tune should loop
    • isSingle

      public final boolean isSingle()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Do we play a single song per tune?
      Angegeben von:
      isSingle in Schnittstelle ISidPlay2Section
      Gibt zurück:
      play a single song per tune
    • setSingle

      public final void setSingle(boolean singleSong)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      setter to play a single song per tune.
      Angegeben von:
      setSingle in Schnittstelle ISidPlay2Section
      Parameter:
      singleSong - play a single song per tune
    • getHvsc

      public final File getHvsc()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Getter of the HVSC collection directory.
      Angegeben von:
      getHvsc in Schnittstelle ISidPlay2Section
      Gibt zurück:
      the HVSC collection directory
    • setHvsc

      public final void setHvsc(File hvsc)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Setter of the HVSC collection directory.
      Angegeben von:
      setHvsc in Schnittstelle ISidPlay2Section
      Parameter:
      hvsc - the HVSC collection directory
    • getLastDirectory

      public final File getLastDirectory()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Getter of the last accessed directory in the file browser.
      Angegeben von:
      getLastDirectory in Schnittstelle ISidPlay2Section
      Gibt zurück:
      the last accessed directory in the file browser
    • setLastDirectory

      public final void setLastDirectory(File lastDir)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Setter of the last accessed directory in the file browser.
      Angegeben von:
      setLastDirectory in Schnittstelle ISidPlay2Section
      Parameter:
      lastDir - the last accessed directory in the file browser
    • getTmpDir

      public final File getTmpDir()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Getter of the temporary directory for JSIDPlay2.
      Angegeben von:
      getTmpDir in Schnittstelle ISidPlay2Section
      Gibt zurück:
      the temporary directory for JSIDPlay2
    • setTmpDir

      public final void setTmpDir(File tmpDir)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Setter of the temporary directory for JSIDPlay2.
      Angegeben von:
      setTmpDir in Schnittstelle ISidPlay2Section
      Parameter:
      tmpDir - the temporary directory for JSIDPlay2
    • isPalEmulation

      public final boolean isPalEmulation()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get PAL emulation enable.
      Angegeben von:
      isPalEmulation in Schnittstelle ISidPlay2Section
      Gibt zurück:
      PAL emulation enable
    • setPalEmulation

      public final void setPalEmulation(boolean palEmulation)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set PAL emulation enable.
      Angegeben von:
      setPalEmulation in Schnittstelle ISidPlay2Section
      Parameter:
      palEmulation - PAL emulation enable
    • getBrightness

      public final float getBrightness()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get VIC palette setting brightness.
      Angegeben von:
      getBrightness in Schnittstelle ISidPlay2Section
      Gibt zurück:
      VIC palette setting brightness
    • setBrightness

      public final void setBrightness(float brightness)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set VIC palette setting brightness
      Angegeben von:
      setBrightness in Schnittstelle ISidPlay2Section
      Parameter:
      brightness - brightness
    • getContrast

      public final float getContrast()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get VIC palette setting contrast.
      Angegeben von:
      getContrast in Schnittstelle ISidPlay2Section
      Gibt zurück:
      VIC palette setting contrast
    • setContrast

      public final void setContrast(float contrast)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set VIC palette setting contrast
      Angegeben von:
      setContrast in Schnittstelle ISidPlay2Section
      Parameter:
      contrast - contrast
    • getGamma

      public final float getGamma()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get VIC palette setting gamma.
      Angegeben von:
      getGamma in Schnittstelle ISidPlay2Section
      Gibt zurück:
      VIC palette setting gamma
    • setGamma

      public final void setGamma(float gamma)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set VIC palette setting gamma
      Angegeben von:
      setGamma in Schnittstelle ISidPlay2Section
      Parameter:
      gamma - gamma
    • getSaturation

      public final float getSaturation()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get VIC palette setting saturation.
      Angegeben von:
      getSaturation in Schnittstelle ISidPlay2Section
      Gibt zurück:
      VIC palette setting saturation
    • setSaturation

      public final void setSaturation(float saturation)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set VIC palette setting saturation
      Angegeben von:
      setSaturation in Schnittstelle ISidPlay2Section
      Parameter:
      saturation - saturation
    • getPhaseShift

      public final float getPhaseShift()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get VIC palette setting phaseShift.
      Angegeben von:
      getPhaseShift in Schnittstelle ISidPlay2Section
      Gibt zurück:
      VIC palette setting phaseShift
    • setPhaseShift

      public final void setPhaseShift(float phaseShift)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set VIC palette setting phaseShift
      Angegeben von:
      setPhaseShift in Schnittstelle ISidPlay2Section
      Parameter:
      phaseShift - phaseShift
    • getOffset

      public final float getOffset()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get VIC palette setting offset.
      Angegeben von:
      getOffset in Schnittstelle ISidPlay2Section
      Gibt zurück:
      VIC palette setting offset
    • setOffset

      public final void setOffset(float offset)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set VIC palette setting offset
      Angegeben von:
      setOffset in Schnittstelle ISidPlay2Section
      Parameter:
      offset - offset
    • getTint

      public final float getTint()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get VIC palette setting tint.
      Angegeben von:
      getTint in Schnittstelle ISidPlay2Section
      Gibt zurück:
      VIC palette setting tint
    • setTint

      public final void setTint(float tint)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set VIC palette setting tint
      Angegeben von:
      setTint in Schnittstelle ISidPlay2Section
      Parameter:
      tint - tint
    • getBlur

      public final float getBlur()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get VIC palette setting blur.
      Angegeben von:
      getBlur in Schnittstelle ISidPlay2Section
      Gibt zurück:
      VIC palette setting blur
    • setBlur

      public final void setBlur(float blur)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set VIC palette setting blur
      Angegeben von:
      setBlur in Schnittstelle ISidPlay2Section
      Parameter:
      blur - blur
    • getBleed

      public final float getBleed()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get VIC palette setting bleed.
      Angegeben von:
      getBleed in Schnittstelle ISidPlay2Section
      Gibt zurück:
      VIC palette setting bleed
    • setBleed

      public final void setBleed(float bleed)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set VIC palette setting bleed
      Angegeben von:
      setBleed in Schnittstelle ISidPlay2Section
      Parameter:
      bleed - bleed
    • isTurboTape

      public final boolean isTurboTape()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Getter of convert other programs to turbo-tape or normal tape format
      Angegeben von:
      isTurboTape in Schnittstelle ISidPlay2Section
      Gibt zurück:
      should be converted to turbo tape
    • setTurboTape

      public final void setTurboTape(boolean turboTape)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Setter of convert other programs to turbo-tape or normal tape format
      Angegeben von:
      setTurboTape in Schnittstelle ISidPlay2Section
    • toString

      public final String toString()
      Setzt außer Kraft:
      toString in Klasse Object