public class ExportToHTMLSettings extends java.lang.Object implements PersistentStateComponent<ExportToHTMLSettings>
Modifier and Type | Field and Description |
---|---|
boolean |
OPEN_IN_BROWSER |
java.lang.String |
OUTPUT_DIRECTORY |
boolean |
PRINT_LINE_NUMBERS |
Constructor and Description |
---|
ExportToHTMLSettings() |
Modifier and Type | Method and Description |
---|---|
static ExportToHTMLSettings |
getInstance(Project project) |
int |
getPrintScope() |
ExportToHTMLSettings |
getState() |
boolean |
isIncludeSubdirectories() |
void |
loadState(ExportToHTMLSettings state)
This method is called when new component state is loaded.
|
void |
setIncludeSubpackages(boolean includeSubpackages) |
void |
setPrintScope(int printScope) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public boolean PRINT_LINE_NUMBERS
public boolean OPEN_IN_BROWSER
public java.lang.String OUTPUT_DIRECTORY
public static ExportToHTMLSettings getInstance(Project project)
public int getPrintScope()
public void setPrintScope(int printScope)
public boolean isIncludeSubdirectories()
public void setIncludeSubpackages(boolean includeSubpackages)
public ExportToHTMLSettings getState()
getState
in interface PersistentStateComponent<ExportToHTMLSettings>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(ExportToHTMLSettings state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<ExportToHTMLSettings>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)