public class ContinuationOption extends java.lang.Object implements CodeStyleConstraints
MAX_INDENT_SIZE, MAX_RIGHT_MARGIN, MAX_TAB_SIZE, MIN_INDENT_SIZE, MIN_TAB_SIZE
Constructor and Description |
---|
ContinuationOption(java.lang.String name,
java.util.function.Function<? super CommonCodeStyleSettings.IndentOptions,java.lang.Integer> getter,
java.util.function.BiConsumer<? super CommonCodeStyleSettings.IndentOptions,? super java.lang.Integer> setter,
int defaultValue) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(ValueEditor.Listener<java.lang.Integer> listener) |
void |
addToEditor(IndentOptionsEditor editor) |
void |
apply(CommonCodeStyleSettings.IndentOptions options) |
boolean |
isModified(CommonCodeStyleSettings.IndentOptions options) |
void |
reset(CommonCodeStyleSettings.IndentOptions options) |
void |
setDefaultValueToDisplay(int value) |
void |
setEnabled(boolean isEnabled) |
void |
setSupported(boolean supported) |
void |
setVisible(boolean visible) |
public ContinuationOption(java.lang.String name, java.util.function.Function<? super CommonCodeStyleSettings.IndentOptions,java.lang.Integer> getter, java.util.function.BiConsumer<? super CommonCodeStyleSettings.IndentOptions,? super java.lang.Integer> setter, int defaultValue)
public void addToEditor(IndentOptionsEditor editor)
public void setSupported(boolean supported)
public void setEnabled(boolean isEnabled)
public boolean isModified(CommonCodeStyleSettings.IndentOptions options)
public void reset(CommonCodeStyleSettings.IndentOptions options)
public void apply(CommonCodeStyleSettings.IndentOptions options)
public void addListener(ValueEditor.Listener<java.lang.Integer> listener)
public void setDefaultValueToDisplay(int value)
public void setVisible(boolean visible)