Package edu.sc.seis.TauP.cmdline.args
Class GraphicOutputTypeArgs
- java.lang.Object
-
- edu.sc.seis.TauP.cmdline.args.AbstractOutputTypeArgs
-
- edu.sc.seis.TauP.cmdline.args.GraphicOutputTypeArgs
-
public class GraphicOutputTypeArgs extends AbstractOutputTypeArgs
-
-
Field Summary
Fields Modifier and Type Field Description booleangmtScriptjava.lang.Floatmapwidthjava.lang.StringmapWidthUnitjava.lang.StringpsFileps filename for use within gmt script.-
Fields inherited from class edu.sc.seis.TauP.cmdline.args.AbstractOutputTypeArgs
extension, OUTPUTTYPE_HEADING, STDOUT_FILENAME
-
-
Constructor Summary
Constructors Constructor Description GraphicOutputTypeArgs(java.lang.String defaultFormat, java.lang.String filebase)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetGmtOutFileBase(java.lang.String toolName)java.lang.FloatgetMapwidth()java.lang.StringgetMapWidthUnit()java.lang.StringgetOutFileExtension()java.lang.StringgetOutputFormat()floatgetPixelWidth()static floatgetPixelWidth(float mapwidth, java.lang.String mapWidthUnit)booleanisGMT()booleanisJSON()booleanisSVG()booleanisText()java.lang.StringmapWidthGMT()voidsetMapwidth(java.lang.Float mapwidth)voidsetMapWidthUnit(java.lang.String mapWidthUnit)voidsetOutputFormat(java.lang.String oType)voidsetPsFile(java.lang.String psFile)-
Methods inherited from class edu.sc.seis.TauP.cmdline.args.AbstractOutputTypeArgs
createWriter, getOutFile, getOutFileBase, isStdout, setOutFile, setOutFileBase, setOutFileExtension
-
-
-
-
Method Detail
-
getGmtOutFileBase
public java.lang.String getGmtOutFileBase(java.lang.String toolName)
-
setPsFile
public void setPsFile(java.lang.String psFile)
-
getMapwidth
public java.lang.Float getMapwidth()
-
setMapwidth
public void setMapwidth(java.lang.Float mapwidth)
-
getMapWidthUnit
public java.lang.String getMapWidthUnit()
-
setMapWidthUnit
public void setMapWidthUnit(java.lang.String mapWidthUnit)
-
mapWidthGMT
public java.lang.String mapWidthGMT()
-
isText
public boolean isText()
-
isSVG
public boolean isSVG()
-
isGMT
public boolean isGMT()
-
isJSON
public boolean isJSON()
-
setOutputFormat
public void setOutputFormat(java.lang.String oType)
- Specified by:
setOutputFormatin classAbstractOutputTypeArgs
-
getOutputFormat
public java.lang.String getOutputFormat()
- Specified by:
getOutputFormatin classAbstractOutputTypeArgs
-
getOutFileExtension
public java.lang.String getOutFileExtension()
- Specified by:
getOutFileExtensionin classAbstractOutputTypeArgs
-
getPixelWidth
public float getPixelWidth()
-
getPixelWidth
public static float getPixelWidth(float mapwidth, java.lang.String mapWidthUnit)
-
-