org.languagetool.gui
Class ConfigurationDialog
java.lang.Object
org.languagetool.gui.ConfigurationDialog
- All Implemented Interfaces:
- ActionListener, EventListener
public class ConfigurationDialog
- extends Object
- implements ActionListener
Dialog that offers the available rules so they can be turned on/off
individually.
- Author:
- Daniel Naber
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationDialog
public ConfigurationDialog(Frame owner,
boolean insideOOo)
show
public void show(List<Rule> rules)
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed in interface ActionListener
setDisabledRules
public void setDisabledRules(Set<String> ruleIDs)
getDisabledRuleIds
public Set<String> getDisabledRuleIds()
setEnabledRules
public void setEnabledRules(Set<String> ruleIDs)
getEnabledRuleIds
public Set<String> getEnabledRuleIds()
setDisabledCategories
public void setDisabledCategories(Set<String> categoryNames)
getDisabledCategoryNames
public Set<String> getDisabledCategoryNames()
setMotherTongue
public void setMotherTongue(Language motherTongue)
getMotherTongue
public Language getMotherTongue()
setRunServer
public void setRunServer(boolean serverMode)
setUseGUIConfig
public void setUseGUIConfig(boolean useGUIConfig)
getUseGUIConfig
public boolean getUseGUIConfig()
getRunServer
public boolean getRunServer()
setServerPort
public void setServerPort(int serverPort)
getServerPort
public int getServerPort()
Copyright © 2013. All Rights Reserved.