Package featurecat.lizzie
Class Config
java.lang.Object
featurecat.lizzie.Config
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
boolean
int
boolean
int
org.json.JSONObject
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
org.json.JSONObject
final String
final String
int
int
int
double
boolean
int
boolean
int
boolean
org.json.JSONObject
org.json.JSONObject
double
int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
int
org.json.JSONObject
boolean
float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
static String
Scans the current directory as well as the current PATH to find a reasonable default leelaz binary.boolean
mergeDefaults
(org.json.JSONObject config, org.json.JSONObject defaultsConfig) void
persist()
void
save()
void
setLanguage
(String code) boolean
boolean
boolean
boolean
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
-
Field Details
-
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
-
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
-
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 -
leelazConfigDir
-
theme
-
winrateStrokeWidth
public float winrateStrokeWidth -
minimumBlunderBarWidth
public int minimumBlunderBarWidth -
shadowSize
public int shadowSize -
fontName
-
uiFontName
-
winrateFontName
-
commentFontSize
public int commentFontSize -
commentFontColor
-
commentBackgroundColor
-
winrateLineColor
-
scoreMeanLineColor
-
winrateMissLineColor
-
blunderBarColor
-
stoneIndicatorType
public int stoneIndicatorType -
showCommentNodeColor
public boolean showCommentNodeColor -
commentNodeColor
-
blunderWinrateThresholds
-
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
-
notRefreshVariation
public boolean notRefreshVariation
-
-
Constructor Details
-
Config
- Throws:
IOException
-
-
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
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
- Throws:
IOException
-
save
- Throws:
IOException
-
setLanguage
-