类 Options
- java.lang.Object
-
- org.meteoinfo.map.config.Options
-
public class Options extends java.lang.Object- 作者:
- yaqiang
-
-
构造器概要
构造器 构造器 说明 Options()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.lang.StringgetFileName()Get file namejava.awt.FontgetLegendFont()Get legend text fontjava.lang.StringgetLookFeel()Get look and feeljava.awt.PointgetMainFormLocation()Get main form locationjava.awt.DimensiongetMainFormSize()Get main form sizejava.lang.StringgetScriptLanguage()Get script language name - Groovy or Jythonjava.awt.FontgetTextFont()Get text fontbooleanisDoubleBuffer()Get if using off screen image double buffering.booleanisLafDecorated()Get if enable look and feel decoratedbooleanisShowStartMeteoDataDlg()Get if show start meteo data dialogvoidloadConfigFile(java.lang.String fileName)Load configure filevoidsaveConfigFile(java.lang.String fileName)Save configure filevoidsetDoubleBuffer(boolean value)Set using off screen image double buffering or not.voidsetLafDecorated(boolean value)Set enable or not of look and feel decoratedvoidsetLegendFont(java.awt.Font font)Set legend text fontvoidsetLookFeel(java.lang.String value)Set look and feelvoidsetMainFormLocation(java.awt.Point value)Set main form locationvoidsetMainFormSize(java.awt.Dimension value)Set main form sizevoidsetScriptLanguage(java.lang.String value)Set script language name - Groovy or JythonvoidsetShowStartMeteoDataDlg(boolean value)Set if show start meteo data dialogvoidsetTextFont(java.awt.Font font)Set text font
-
-
-
方法详细资料
-
getTextFont
public java.awt.Font getTextFont()
Get text font- 返回:
- Text Font
-
setTextFont
public void setTextFont(java.awt.Font font)
Set text font- 参数:
font- Text font
-
getLegendFont
public java.awt.Font getLegendFont()
Get legend text font- 返回:
- Legend Text Font
-
getFileName
public java.lang.String getFileName()
Get file name- 返回:
- File name
-
setLegendFont
public void setLegendFont(java.awt.Font font)
Set legend text font- 参数:
font- Legend text font
-
getScriptLanguage
public java.lang.String getScriptLanguage()
Get script language name - Groovy or Jython- 返回:
- Script language name
-
setScriptLanguage
public void setScriptLanguage(java.lang.String value)
Set script language name - Groovy or Jython- 参数:
value- Script language name
-
isShowStartMeteoDataDlg
public boolean isShowStartMeteoDataDlg()
Get if show start meteo data dialog- 返回:
- Boolean
-
setShowStartMeteoDataDlg
public void setShowStartMeteoDataDlg(boolean value)
Set if show start meteo data dialog- 参数:
value- Boolean
-
getMainFormLocation
public java.awt.Point getMainFormLocation()
Get main form location- 返回:
- Main form location
-
setMainFormLocation
public void setMainFormLocation(java.awt.Point value)
Set main form location- 参数:
value- Main form location
-
getMainFormSize
public java.awt.Dimension getMainFormSize()
Get main form size- 返回:
- Main form size
-
setMainFormSize
public void setMainFormSize(java.awt.Dimension value)
Set main form size- 参数:
value- Main form size
-
getLookFeel
public java.lang.String getLookFeel()
Get look and feel- 返回:
- Look and feel
-
setLookFeel
public void setLookFeel(java.lang.String value)
Set look and feel- 参数:
value- look and feel
-
isDoubleBuffer
public boolean isDoubleBuffer()
Get if using off screen image double buffering. Using double buffering will be faster but lower view quality in high dpi screen computer.- 返回:
- Boolean
-
setDoubleBuffer
public void setDoubleBuffer(boolean value)
Set using off screen image double buffering or not.- 参数:
value- Boolean
-
isLafDecorated
public boolean isLafDecorated()
Get if enable look and feel decorated- 返回:
- Boolean
-
setLafDecorated
public void setLafDecorated(boolean value)
Set enable or not of look and feel decorated- 参数:
value- Boolean
-
saveConfigFile
public void saveConfigFile(java.lang.String fileName) throws javax.xml.parsers.ParserConfigurationExceptionSave configure file- 参数:
fileName- File name- 抛出:
javax.xml.parsers.ParserConfigurationException
-
loadConfigFile
public void loadConfigFile(java.lang.String fileName) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOExceptionLoad configure file- 参数:
fileName- File name- 抛出:
javax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXExceptionjava.io.IOException
-
-