Package | Description |
---|---|
oracle.javatools.editor.folding |
Provides classes and interfaces for supporting collapsible source code
blocks in the code editor.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultCodeFoldingModel<B extends DefaultFoldingBlock>
A simple data model that describes the collapsible source code blocks
in the code editor.
|
Modifier and Type | Field and Description |
---|---|
protected CodeFoldingModel<B> |
CodeFoldingMargin.model |
Modifier and Type | Method and Description |
---|---|
protected CodeFoldingModel |
CodeFoldingMargin.createCodeFoldingModel(BasicEditorPane editorPane) |
CodeFoldingModel<B> |
CodeFoldingProvider.createModel(BasicEditorPane editorPane)
Creates a new data model describing the collapsible source code
blocks in the document attached to the specified editor component.
|
CodeFoldingModel |
CodeFoldingModelEvent.getModel() |
CodeFoldingModel<B> |
CodeFoldingMargin.getModel() |
protected CodeFoldingModel<B> |
AbstractCodeFoldingPlugin.getModel() |
Modifier and Type | Method and Description |
---|---|
void |
CodeFoldingProvider.beginCompoundEdit(CodeFoldingModel<B> model)
Notifies this provider that a compound edit has started.
|
void |
AbstractCodeFoldingPlugin.beginCompoundEdit(CodeFoldingModel<B> model) |
protected boolean |
CodeFoldingMargin.blockContainsOffset(CodeFoldingModel model,
java.lang.Object block,
int offset) |
void |
CodeFoldingProvider.endCompoundEdit(CodeFoldingModel<B> model)
Notifies this provider that a compound edit has ended.
|
void |
AbstractCodeFoldingPlugin.endCompoundEdit(CodeFoldingModel<B> model) |
protected boolean |
CodeFoldingMargin.expandEnclosingChild(CodeFoldingModel<B> model,
B block,
int offset) |
static void |
FoldingFader.fadeBlock(CodeFoldingModel model,
java.lang.Object block,
int[] offsets,
BasicEditorPane editorPane)
Trigger the fading of a code block.
|
B |
CodeFoldingMargin.getLargestCollapsedBlock(CodeFoldingModel<B> model,
B block,
int offset)
Returns the largest (outermost) block that is currently collapsed and
contains the given offset.
|
void |
CodeFoldingProvider.insertUpdate(CodeFoldingModel<B> model,
int offset,
int length)
Executes an immediate update of the model due to an insertion in the
document.
|
protected boolean |
CodeFoldingMargin.isTurnerDamaged(java.awt.Rectangle clipBounds,
CodeFoldingModel model,
java.lang.Object block) |
protected void |
CodeFoldingMargin.paintChildTurners(java.awt.Graphics g,
java.awt.Rectangle clipBounds,
CodeFoldingModel model,
java.lang.Object block) |
protected void |
CodeFoldingMargin.paintTurner(java.awt.Graphics g,
CodeFoldingModel model,
java.lang.Object block) |
void |
CodeFoldingProvider.removeUpdate(CodeFoldingModel<B> model,
int offset,
int length)
Executes an immediate update of the model due to a deletion in the
document.
|
void |
CodeFoldingMargin.setModel(CodeFoldingModel<B> model) |
protected void |
AbstractCodeFoldingPlugin.setModel(CodeFoldingModel<B> model) |
Constructor and Description |
---|
CodeFoldingModelEvent(CodeFoldingModel model,
java.lang.Object block) |