|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoracle.javatools.editor.BasicView.CollapsedBlocks
Data structure class for tracking current known outermost collapsed blocks for the view layout. We don't care about internal
| Field Summary | |
protected int[] |
_blockEnds
The end offsets of the collapsed blocks. |
protected java.lang.Object[] |
_blocks
The reference to the original blocks. |
protected int[] |
_blockStarts
The start offsets of the collapsed blocks. |
protected java.lang.String[] |
_blockTexts
The replacement text for the collapsed blocks. |
protected CodeFoldingModel |
_model
The code folding data model. |
protected int |
_numBlocks
The number of collapsed blocks. |
protected int[] |
TEMP_OFFSETS
The shared temporary array for fetching block offsets. |
| Constructor Summary | |
protected |
BasicView.CollapsedBlocks(CodeFoldingModel model)
Construct our list of collapsed blocks. |
| Method Summary | |
protected void |
addBlock(CodeFoldingModel model,
java.lang.Object collapsedBlock)
Utility routine to add the block to our list. |
protected void |
buildList(CodeFoldingModel model)
Recursively build the list of collapsed blocks given the root block. |
protected void |
ensureCapacity()
Make sure we have space to add another block. |
protected boolean |
equals(int[] a1,
int[] a2,
int count)
Compare two int arrays for equality. |
boolean |
equals(java.lang.Object object)
Compare two collapsed lists for equality. |
protected boolean |
equals(java.lang.String[] s1,
java.lang.String[] s2,
int count)
Compare two String arrays for equality. |
protected void |
initializeCapacity(int capacity)
Initialize our space for the given capacity. |
protected boolean |
insertUpdate(javax.swing.event.DocumentEvent event)
Update our collapsed block list based on the event. |
protected boolean |
removeUpdate(javax.swing.event.DocumentEvent event)
Update our collapsed block list based on the event. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int[] _blockStarts
protected int[] _blockEnds
protected java.lang.String[] _blockTexts
protected java.lang.Object[] _blocks
protected int _numBlocks
protected CodeFoldingModel _model
protected final int[] TEMP_OFFSETS
| Constructor Detail |
protected BasicView.CollapsedBlocks(CodeFoldingModel model)
| Method Detail |
protected void buildList(CodeFoldingModel model)
protected void initializeCapacity(int capacity)
protected void ensureCapacity()
protected boolean insertUpdate(javax.swing.event.DocumentEvent event)
protected boolean removeUpdate(javax.swing.event.DocumentEvent event)
protected void addBlock(CodeFoldingModel model,
java.lang.Object collapsedBlock)
public boolean equals(java.lang.Object object)
protected boolean equals(int[] a1,
int[] a2,
int count)
protected boolean equals(java.lang.String[] s1,
java.lang.String[] s2,
int count)
|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2005, Oracle.All rights reserved.