|
org.netbeans.modules.editor/3 1.42.0 3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openide.ServiceType
org.openide.text.IndentEngine
org.netbeans.modules.editor.FormatterIndentEngine
public abstract class FormatterIndentEngine
Indent engine that delegates to formatter
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.openide.ServiceType |
|---|
ServiceType.Handle, ServiceType.Registry |
| Field Summary | |
|---|---|
static String |
EXPAND_TABS_PROP
Deprecated. |
static String |
SPACES_PER_TAB_PROP
Deprecated. |
| Fields inherited from class org.openide.ServiceType |
|---|
PROP_NAME |
| Constructor Summary | |
|---|---|
FormatterIndentEngine()
Deprecated. |
|
| Method Summary | |
|---|---|
protected boolean |
acceptMimeType(String mimeType)
Deprecated. |
protected abstract ExtFormatter |
createFormatter()
Deprecated. Create the formatter. |
Writer |
createWriter(Document doc,
int offset,
Writer writer)
Deprecated. |
String[] |
getAcceptedMimeTypes()
Deprecated. |
ExtFormatter |
getFormatter()
Deprecated. Get the formatter to which this indentation engine delegates. |
int |
getSpacesPerTab()
Deprecated. |
Object |
getValue(String settingName)
Deprecated. |
int |
indentLine(Document doc,
int offset)
Deprecated. |
int |
indentNewLine(Document doc,
int offset)
Deprecated. |
boolean |
isExpandTabs()
Deprecated. |
void |
setAcceptedMimeTypes(String[] mimes)
Deprecated. |
void |
setExpandTabs(boolean expandTabs)
Deprecated. |
void |
setSpacesPerTab(int spacesPerTab)
Deprecated. |
void |
setValue(String settingName,
Object newValue)
Deprecated. use setValue(java.lang.String, java.lang.Object, java.lang.String) instead
with properly specified propertyName |
void |
setValue(String settingName,
Object newValue,
String propertyName)
Deprecated. |
| Methods inherited from class org.openide.text.IndentEngine |
|---|
find, find, getDefault, getHelpCtx, indentEngines, register |
| Methods inherited from class org.openide.ServiceType |
|---|
addPropertyChangeListener, clone, createClone, displayName, firePropertyChange, getName, removePropertyChangeListener, setName |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String EXPAND_TABS_PROP
public static final String SPACES_PER_TAB_PROP
| Constructor Detail |
|---|
public FormatterIndentEngine()
| Method Detail |
|---|
public ExtFormatter getFormatter()
protected abstract ExtFormatter createFormatter()
public Object getValue(String settingName)
public void setValue(String settingName,
Object newValue,
String propertyName)
public void setValue(String settingName,
Object newValue)
setValue(java.lang.String, java.lang.Object, java.lang.String) instead
with properly specified propertyName
public int indentLine(Document doc,
int offset)
indentLine in class IndentEngine
public int indentNewLine(Document doc,
int offset)
indentNewLine in class IndentEngine
public Writer createWriter(Document doc,
int offset,
Writer writer)
createWriter in class IndentEngineprotected boolean acceptMimeType(String mimeType)
acceptMimeType in class IndentEnginepublic boolean isExpandTabs()
public void setExpandTabs(boolean expandTabs)
public int getSpacesPerTab()
public void setSpacesPerTab(int spacesPerTab)
public void setAcceptedMimeTypes(String[] mimes)
public String[] getAcceptedMimeTypes()
|
org.netbeans.modules.editor/3 1.42.0 3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||