Package bdsup2sub.gui.main
Class MainFrameModel
java.lang.Object
bdsup2sub.gui.main.MainFrameModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Configurationprivate Stringprivate Stringprivate booleanprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToRecentFiles(String filename) intbooleanbooleanintintbooleandoubledoubledoubleint[]booleanintbooleanbooleanvoidsetAlphaThreshold(int alphaThreshold) voidsetColorProfilePath(String colorProfilePath) voidsetCropOffsetY(int cropOffsetY) voidsetFixZeroAlpha(boolean fixZeroAlpha) voidsetLoadPath(String loadPath) voidsetLuminanceThreshold(int[] luminanceThreshold) voidsetMainWindowLocation(Point location) voidsetMainWindowSize(Dimension dimension) voidsetOutputMode(OutputMode outputMode) voidsetPaletteMode(PaletteMode paletteMode) voidsetSaveFilename(String saveFilename) voidsetSavePath(String savePath) voidsetScalingFilter(ScalingFilter scalingFilter) voidsetSourceFileSpecifiedOnCmdLine(boolean sourceFileSpecified) voidsetSubIndex(int subIndex) voidsetSwapCrCb(boolean swapCrCb) voidsetVerbose(boolean verbose)
-
Field Details
-
configuration
-
saveFilename
-
savePath
-
subIndex
private int subIndex -
sourceFileSpecifiedOnCmdLine
private boolean sourceFileSpecifiedOnCmdLine
-
-
Constructor Details
-
MainFrameModel
MainFrameModel()
-
-
Method Details
-
getLoadPath
-
setLoadPath
-
getSavePath
-
setSavePath
-
getSaveFilename
-
setSaveFilename
-
getSubIndex
public int getSubIndex() -
setSubIndex
public void setSubIndex(int subIndex) -
isSourceFileSpecifiedOnCmdLine
public boolean isSourceFileSpecifiedOnCmdLine() -
setSourceFileSpecifiedOnCmdLine
public void setSourceFileSpecifiedOnCmdLine(boolean sourceFileSpecified) -
getColorProfilePath
-
setColorProfilePath
-
getMainWindowSize
-
setMainWindowSize
-
getMainWindowLocation
-
setMainWindowLocation
-
getRecentFiles
-
addToRecentFiles
-
isVerbose
public boolean isVerbose() -
setVerbose
public void setVerbose(boolean verbose) -
getScalingFilter
-
setScalingFilter
-
getFixZeroAlpha
public boolean getFixZeroAlpha() -
setFixZeroAlpha
public void setFixZeroAlpha(boolean fixZeroAlpha) -
getPaletteMode
-
setPaletteMode
-
getOutputMode
-
setOutputMode
-
getConvertFPS
public boolean getConvertFPS() -
getDelayPTS
public int getDelayPTS() -
getApplyFreeScale
public boolean getApplyFreeScale() -
getFreeScaleX
public double getFreeScaleX() -
getFreeScaleY
public double getFreeScaleY() -
getFPSTrg
public double getFPSTrg() -
getOutputResolution
-
getAlphaThreshold
public int getAlphaThreshold() -
setAlphaThreshold
public void setAlphaThreshold(int alphaThreshold) -
getLuminanceThreshold
public int[] getLuminanceThreshold() -
setLuminanceThreshold
public void setLuminanceThreshold(int[] luminanceThreshold) -
getCropOffsetY
public int getCropOffsetY() -
setCropOffsetY
public void setCropOffsetY(int cropOffsetY) -
setSwapCrCb
public void setSwapCrCb(boolean swapCrCb) -
getMoveCaptions
public boolean getMoveCaptions()
-