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 boolean
gmtScript
java.lang.Float
mapwidth
java.lang.String
mapWidthUnit
java.lang.String
psFile
ps 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.String
getGmtOutFileBase(java.lang.String toolName)
java.lang.Float
getMapwidth()
java.lang.String
getMapWidthUnit()
java.lang.String
getOutFileExtension()
java.lang.String
getOutputFormat()
float
getPixelWidth()
static float
getPixelWidth(float mapwidth, java.lang.String mapWidthUnit)
boolean
isGMT()
boolean
isJSON()
boolean
isSVG()
boolean
isText()
java.lang.String
mapWidthGMT()
void
setMapwidth(java.lang.Float mapwidth)
void
setMapWidthUnit(java.lang.String mapWidthUnit)
void
setOutputFormat(java.lang.String oType)
void
setPsFile(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:
setOutputFormat
in classAbstractOutputTypeArgs
-
getOutputFormat
public java.lang.String getOutputFormat()
- Specified by:
getOutputFormat
in classAbstractOutputTypeArgs
-
getOutFileExtension
public java.lang.String getOutFileExtension()
- Specified by:
getOutFileExtension
in classAbstractOutputTypeArgs
-
getPixelWidth
public float getPixelWidth()
-
getPixelWidth
public static float getPixelWidth(float mapwidth, java.lang.String mapWidthUnit)
-
-