Package bdsup2sub.gui.main
Class MainFrameModel
java.lang.Object
bdsup2sub.gui.main.MainFrameModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Configuration
private String
private String
private boolean
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToRecentFiles
(String filename) int
boolean
boolean
int
int
boolean
double
double
double
int[]
boolean
int
boolean
boolean
void
setAlphaThreshold
(int alphaThreshold) void
setColorProfilePath
(String colorProfilePath) void
setCropOffsetY
(int cropOffsetY) void
setFixZeroAlpha
(boolean fixZeroAlpha) void
setLoadPath
(String loadPath) void
setLuminanceThreshold
(int[] luminanceThreshold) void
setMainWindowLocation
(Point location) void
setMainWindowSize
(Dimension dimension) void
setOutputMode
(OutputMode outputMode) void
setPaletteMode
(PaletteMode paletteMode) void
setSaveFilename
(String saveFilename) void
setSavePath
(String savePath) void
setScalingFilter
(ScalingFilter scalingFilter) void
setSourceFileSpecifiedOnCmdLine
(boolean sourceFileSpecified) void
setSubIndex
(int subIndex) void
setSwapCrCb
(boolean swapCrCb) void
setVerbose
(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()
-