public class WebEditorOptions extends java.lang.Object implements PersistentStateComponent<WebEditorOptions>
| Constructor and Description |
|---|
WebEditorOptions() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
static WebEditorOptions |
getInstance() |
WebEditorOptions |
getState() |
int |
getTagTreeHighlightingLevelCount() |
int |
getTagTreeHighlightingOpacity() |
boolean |
isAutoCloseTag() |
boolean |
isAutomaticallyInsertClosingTag() |
boolean |
isAutomaticallyInsertRequiredAttributes() |
boolean |
isAutomaticallyInsertRequiredSubTags() |
boolean |
isAutomaticallyStartAttribute() |
boolean |
isInsertQuotesForAttributeValue() |
boolean |
isSelectWholeCssIdentifierOnDoubleClick() |
boolean |
isShowCssColorPreviewInGutter()
Deprecated.
use LineMarkerSettings.getSettings().isEnabled(new ColorLineMarkerProvider())
|
boolean |
isShowCssInlineColorPreview() |
boolean |
isSyncTagEditing() |
boolean |
isTagTreeHighlightingEnabled() |
void |
loadState(WebEditorOptions state)
This method is called when new component state is loaded.
|
void |
setAutoCloseTag(boolean autoCloseTag) |
void |
setAutomaticallyInsertClosingTag(boolean automaticallyInsertClosingTag) |
void |
setAutomaticallyInsertRequiredAttributes(boolean automaticallyInsertRequiredAttributes) |
void |
setAutomaticallyInsertRequiredSubTags(boolean automaticallyInsertRequiredSubTags) |
void |
setAutomaticallyStartAttribute(boolean automaticallyStartAttribute) |
void |
setInsertQuotesForAttributeValue(boolean insertQuotesForAttributeValue) |
void |
setSelectWholeCssIdentifierOnDoubleClick(boolean selectWholeCssIdentifiersOnDoubleClick) |
void |
setShowCssInlineColorPreview(boolean showCssInlineColorPreview) |
void |
setSyncTagEditing(boolean syncTagEditing) |
void |
setTagTreeHighlightingEnabled(boolean tagTreeHighlightingEnabled) |
void |
setTagTreeHighlightingLevelCount(int tagTreeHighlightingLevelCount) |
void |
setTagTreeHighlightingOpacity(int tagTreeHighlightingOpacity) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializeComponent, noStateLoadedpublic static WebEditorOptions getInstance()
public boolean isShowCssInlineColorPreview()
public void setShowCssInlineColorPreview(boolean showCssInlineColorPreview)
@Deprecated public boolean isShowCssColorPreviewInGutter()
public boolean isAutomaticallyInsertClosingTag()
public void setAutomaticallyInsertClosingTag(boolean automaticallyInsertClosingTag)
public boolean isAutomaticallyInsertRequiredAttributes()
public void setAutomaticallyInsertRequiredAttributes(boolean automaticallyInsertRequiredAttributes)
public boolean isAutomaticallyStartAttribute()
public void setAutomaticallyStartAttribute(boolean automaticallyStartAttribute)
public boolean isAutomaticallyInsertRequiredSubTags()
public void setAutomaticallyInsertRequiredSubTags(boolean automaticallyInsertRequiredSubTags)
public int getTagTreeHighlightingLevelCount()
public void setTagTreeHighlightingLevelCount(int tagTreeHighlightingLevelCount)
public int getTagTreeHighlightingOpacity()
public void setTagTreeHighlightingOpacity(int tagTreeHighlightingOpacity)
public boolean isTagTreeHighlightingEnabled()
public void setTagTreeHighlightingEnabled(boolean tagTreeHighlightingEnabled)
public java.lang.Object clone()
clone in class java.lang.Objectpublic WebEditorOptions getState()
getState in interface PersistentStateComponent<WebEditorOptions>null value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializerpublic void loadState(WebEditorOptions state)
PersistentStateComponentState object should be used directly, defensive copying is not required.
loadState in interface PersistentStateComponent<WebEditorOptions>state - loaded component stateXmlSerializerUtil.copyBean(Object, Object)public boolean isSelectWholeCssIdentifierOnDoubleClick()
public void setSelectWholeCssIdentifierOnDoubleClick(boolean selectWholeCssIdentifiersOnDoubleClick)
public boolean isInsertQuotesForAttributeValue()
public void setInsertQuotesForAttributeValue(boolean insertQuotesForAttributeValue)
public boolean isAutoCloseTag()
public void setAutoCloseTag(boolean autoCloseTag)
public boolean isSyncTagEditing()
public void setSyncTagEditing(boolean syncTagEditing)