public class WrappingAndBracesPanel extends OptionTableWithPreviewPanel
Modifier and Type | Class and Description |
---|---|
protected static class |
WrappingAndBracesPanel.SettingsGroup |
OptionTableWithPreviewPanel.MyTreeNode, OptionTableWithPreviewPanel.Option
CustomizableLanguageCodeStylePanel.OrderedOption
CodeStyleSettingsCustomizable.BlankLinesOption, CodeStyleSettingsCustomizable.CommenterOption, CodeStyleSettingsCustomizable.IndentOption, CodeStyleSettingsCustomizable.OptionAnchor, CodeStyleSettingsCustomizable.SpacingOption, CodeStyleSettingsCustomizable.WrappingOrBraceOption
Disposable.Parent
COLUMNS, isFirstUpdate, myTreeTable, TITLE, VALUE
ourWrappings
BLANK_LINES, BLANK_LINES_KEEP, BRACE_OPTIONS, BRACE_PLACEMENT_OPTIONS, BRACE_PLACEMENT_VALUES, BRACE_VALUES, SPACES_AROUND_OPERATORS, SPACES_BEFORE_KEYWORD, SPACES_BEFORE_LEFT_BRACE, SPACES_BEFORE_PARENTHESES, SPACES_IN_TERNARY_OPERATOR, SPACES_IN_TYPE_ARGUMENTS, SPACES_IN_TYPE_PARAMETERS, SPACES_OTHER, SPACES_WITHIN, SPACES_WITHIN_TYPE_ARGUMENTS, WRAP_ON_TYPING_OPTIONS, WRAP_ON_TYPING_VALUES, WRAP_OPTIONS, WRAP_OPTIONS_FOR_SINGLETON, WRAP_VALUES, WRAP_VALUES_FOR_SINGLETON, WRAPPING_ARRAY_INITIALIZER, WRAPPING_ASSERT_STATEMENT, WRAPPING_ASSIGNMENT, WRAPPING_BINARY_OPERATION, WRAPPING_BRACES, WRAPPING_CALL_CHAIN, WRAPPING_COMMENTS, WRAPPING_DOWHILE_STATEMENT, WRAPPING_EXTENDS_KEYWORD, WRAPPING_EXTENDS_LIST, WRAPPING_FIELDS_VARIABLES_GROUPS, WRAPPING_FOR_STATEMENT, WRAPPING_IF_STATEMENT, WRAPPING_KEEP, WRAPPING_METHOD_ARGUMENTS_WRAPPING, WRAPPING_METHOD_PARAMETERS, WRAPPING_METHOD_PARENTHESES, WRAPPING_MODIFIER_LIST, WRAPPING_SWITCH_STATEMENT, WRAPPING_TERNARY_OPERATION, WRAPPING_THROWS_KEYWORD, WRAPPING_THROWS_LIST, WRAPPING_TRY_RESOURCE_LIST, WRAPPING_TRY_STATEMENT, WRAPPING_WHILE_STATEMENT
TOPIC
Constructor and Description |
---|
WrappingAndBracesPanel(CodeStyleSettings settings) |
Modifier and Type | Method and Description |
---|---|
protected void |
addOption(java.lang.String fieldName,
java.lang.String title,
java.lang.String groupName) |
protected void |
addOption(java.lang.String fieldName,
java.lang.String title,
java.lang.String groupName,
java.lang.String [] options,
int [] values) |
protected WrappingAndBracesPanel.SettingsGroup |
getAssociatedSettingsGroup(java.lang.String fieldName) |
protected javax.swing.JComponent |
getCustomNodeEditor(OptionTableWithPreviewPanel.MyTreeNode node) |
protected java.lang.Object |
getCustomNodeEditorValue(javax.swing.JComponent customEditor) |
protected javax.swing.JComponent |
getCustomValueRenderer(java.lang.String optionName,
java.lang.Object value) |
LanguageCodeStyleSettingsProvider.SettingsType |
getSettingsType() |
protected java.lang.String |
getTabTitle() |
protected void |
initTables() |
addCustomOption, addOption, addOption, addOption, apply, createOptionsTree, getPanel, highlightOptions, init, isModified, processListOptions, renameStandardOption, resetDefaultNames, resetImpl, showAllStandardOptions, showCustomOption, showCustomOption, showOption, showStandardOptions
createHighlighter, createPreviewPanel, customizeSettings, doReformat, getFileExt, getFileType, getPreviewText, getRightMargin, moveStandardOption, sortOptions
addPanelToWatch, applyPredefinedSettings, createFileFromText, dispose, fillWrappingCombo, getCurrentSettings, getDefaultLanguage, getEditor, getFileTypeExtension, getIndexForWrapping, getModelSettings, getOptionIndexer, getSettings, highlight, installPreviewPanel, isCopyFromMenuAvailable, onSomethingChanged, prepareForReformat, readFromFile, reset, setEditorText, setModel, setShouldUpdatePreview, setupCopyFromMenu, somethingChanged, updatePreview
public WrappingAndBracesPanel(CodeStyleSettings settings)
public LanguageCodeStyleSettingsProvider.SettingsType getSettingsType()
getSettingsType
in class CustomizableLanguageCodeStylePanel
protected void addOption(java.lang.String fieldName, java.lang.String title, java.lang.String groupName)
addOption
in class OptionTableWithPreviewPanel
protected void addOption(java.lang.String fieldName, java.lang.String title, java.lang.String groupName, java.lang.String [] options, int [] values)
addOption
in class OptionTableWithPreviewPanel
protected void initTables()
initTables
in class OptionTableWithPreviewPanel
protected WrappingAndBracesPanel.SettingsGroup getAssociatedSettingsGroup(java.lang.String fieldName)
protected java.lang.String getTabTitle()
getTabTitle
in class CodeStyleAbstractPanel
protected javax.swing.JComponent getCustomValueRenderer(java.lang.String optionName, java.lang.Object value)
getCustomValueRenderer
in class OptionTableWithPreviewPanel
protected javax.swing.JComponent getCustomNodeEditor(OptionTableWithPreviewPanel.MyTreeNode node)
getCustomNodeEditor
in class OptionTableWithPreviewPanel
protected java.lang.Object getCustomNodeEditorValue(javax.swing.JComponent customEditor)
getCustomNodeEditorValue
in class OptionTableWithPreviewPanel