Class Config

java.lang.Object
featurecat.lizzie.Config

public class Config extends Object
  • Field Details

    • language

      public String language
    • panelUI

      public boolean panelUI
    • showBorder

      public boolean showBorder
    • showMoveNumber

      public boolean showMoveNumber
    • onlyLastMoveNumber

      public int onlyLastMoveNumber
    • allowMoveNumber

      public int allowMoveNumber
    • newMoveNumberInBranch

      public boolean newMoveNumberInBranch
    • showWinrate

      public boolean showWinrate
    • largeWinrate

      public boolean largeWinrate
    • showBlunderBar

      public boolean showBlunderBar
    • weightedBlunderBarHeight

      public boolean weightedBlunderBarHeight
    • dynamicWinrateGraphWidth

      public boolean dynamicWinrateGraphWidth
    • showVariationGraph

      public boolean showVariationGraph
    • showComment

      public boolean showComment
    • showRawBoard

      public boolean showRawBoard
    • showBestMovesTemporarily

      public boolean showBestMovesTemporarily
    • showCaptured

      public boolean showCaptured
    • handicapInsteadOfWinrate

      public boolean handicapInsteadOfWinrate
    • showDynamicKomi

      public boolean showDynamicKomi
    • replayBranchIntervalSeconds

      public double replayBranchIntervalSeconds
    • showCoordinates

      public boolean showCoordinates
    • colorByWinrateInsteadOfVisits

      public boolean colorByWinrateInsteadOfVisits
    • minPlayoutRatioForStats

      public double minPlayoutRatioForStats
    • showLcbWinrate

      public boolean showLcbWinrate
    • showKataGoScoreMean

      public boolean showKataGoScoreMean
    • showKataGoBoardScoreMean

      public boolean showKataGoBoardScoreMean
    • kataGoScoreMeanAlwaysBlack

      public boolean kataGoScoreMeanAlwaysBlack
    • kataGoNotShowWinrate

      public boolean kataGoNotShowWinrate
    • showKataGoEstimate

      public boolean showKataGoEstimate
    • showKataGoEstimateOnSubboard

      public boolean showKataGoEstimateOnSubboard
    • showKataGoEstimateOnMainboard

      public boolean showKataGoEstimateOnMainboard
    • kataGoEstimateMode

      public String kataGoEstimateMode
    • kataGoEstimateBlend

      public boolean kataGoEstimateBlend
    • showStatus

      public boolean showStatus
    • showBranch

      public boolean showBranch
    • showBestMoves

      public boolean showBestMoves
    • showNextMoves

      public boolean showNextMoves
    • showSubBoard

      public boolean showSubBoard
    • largeSubBoard

      public boolean largeSubBoard
    • startMaximized

      public boolean startMaximized
    • showWinrateInSuggestion

      public boolean showWinrateInSuggestion
    • showPlayoutsInSuggestion

      public boolean showPlayoutsInSuggestion
    • showScoremeanInSuggestion

      public boolean showScoremeanInSuggestion
    • showToolBar

      public boolean showToolBar
    • toolbarPosition

      public String toolbarPosition
    • showNameInBoard

      public boolean showNameInBoard
    • config

      public org.json.JSONObject config
    • leelazConfig

      public org.json.JSONObject leelazConfig
    • uiConfig

      public org.json.JSONObject uiConfig
    • persisted

      public org.json.JSONObject persisted
    • persistedUi

      public org.json.JSONObject persistedUi
    • leelazShareDir

      public final String leelazShareDir
    • leelazConfigDir

      public final String leelazConfigDir
    • theme

      public Theme theme
    • winrateStrokeWidth

      public float winrateStrokeWidth
    • minimumBlunderBarWidth

      public int minimumBlunderBarWidth
    • shadowSize

      public int shadowSize
    • fontName

      public String fontName
    • uiFontName

      public String uiFontName
    • winrateFontName

      public String winrateFontName
    • commentFontSize

      public int commentFontSize
    • commentFontColor

      public Color commentFontColor
    • commentBackgroundColor

      public Color commentBackgroundColor
    • winrateLineColor

      public Color winrateLineColor
    • scoreMeanLineColor

      public Color scoreMeanLineColor
    • winrateMissLineColor

      public Color winrateMissLineColor
    • blunderBarColor

      public Color blunderBarColor
    • stoneIndicatorType

      public int stoneIndicatorType
    • showCommentNodeColor

      public boolean showCommentNodeColor
    • commentNodeColor

      public Color commentNodeColor
    • blunderWinrateThresholds

      public Optional<List<Double>> blunderWinrateThresholds
    • blunderNodeColors

      public Optional<Map<Double,Color>> blunderNodeColors
    • nodeColorMode

      public int nodeColorMode
    • appendWinrateToComment

      public boolean appendWinrateToComment
    • holdBestMovesToSgf

      public boolean holdBestMovesToSgf
    • showBestMovesByHold

      public boolean showBestMovesByHold
    • boardPositionProportion

      public int boardPositionProportion
    • limitBestMoveNum

      public int limitBestMoveNum
    • limitBranchLength

      public int limitBranchLength
    • gtpConsoleStyle

      public String gtpConsoleStyle
    • notRefreshVariation

      public boolean notRefreshVariation
  • Constructor Details

  • Method Details

    • mergeDefaults

      public boolean mergeDefaults(org.json.JSONObject config, org.json.JSONObject defaultsConfig)
    • toggleShowMoveNumber

      public void toggleShowMoveNumber()
    • toggleNodeColorMode

      public void toggleNodeColorMode()
    • toggleShowBranch

      public void toggleShowBranch()
    • toggleShowCaptured

      public void toggleShowCaptured()
    • toggleShowWinrate

      public void toggleShowWinrate()
    • toggleLargeWinrate

      public void toggleLargeWinrate()
    • toggleShowLcbWinrate

      public void toggleShowLcbWinrate()
    • toggleShowVariationGraph

      public void toggleShowVariationGraph()
    • toggleShowComment

      public void toggleShowComment()
    • toggleShowCommentNodeColor

      public void toggleShowCommentNodeColor()
    • toggleShowBestMoves

      public void toggleShowBestMoves()
    • toggleShowNextMoves

      public void toggleShowNextMoves()
    • toggleHandicapInsteadOfWinrate

      public void toggleHandicapInsteadOfWinrate()
    • toggleLargeSubBoard

      public void toggleLargeSubBoard()
    • toggleCoordinates

      public void toggleCoordinates()
    • toggleEvaluationColoring

      public void toggleEvaluationColoring()
    • toggleShowSubBoard

      public void toggleShowSubBoard()
    • toggleShowPolicy

      public void toggleShowPolicy()
    • toggleKataGoEstimate

      public void toggleKataGoEstimate()
    • cycleKataGoEstimateMode

      public void cycleKataGoEstimateMode()
    • toggleKataGoEstimateBlend

      public void toggleKataGoEstimateBlend()
    • toggleShowStatus

      public void toggleShowStatus()
    • showLargeSubBoard

      public boolean showLargeSubBoard()
    • showLargeWinrate

      public boolean showLargeWinrate()
    • showBestMovesNow

      public boolean showBestMovesNow()
    • showBranchNow

      public boolean showBranchNow()
    • getBestDefaultLeelazPath

      public static String getBestDefaultLeelazPath()
      Scans the current directory as well as the current PATH to find a reasonable default leelaz binary.
      Returns:
      A working path to a leelaz binary. If there are none on the PATH, "./leelaz" is returned for backwards compatibility.
    • persist

      public void persist() throws IOException
      Throws:
      IOException
    • save

      public void save() throws IOException
      Throws:
      IOException
    • setLanguage

      public void setLanguage(String code)