| org.netbeans.lib.editor.util.GapList org.netbeans.modules.editor.fold.FoldChildren
FoldChildren | final public class FoldChildren extends GapList (Code) | | Manager of the children of a fold.
author: Miloslav Metelka version: 1.00 |
Field Summary | |
Fold | parent Parent fold for the folds contained in this children instance. |
parent | Fold parent(Code) | | Parent fold for the folds contained in this children instance.
|
FoldChildren | public FoldChildren(Fold parent)(Code) | | |
extractToChildren | public FoldChildren extractToChildren(int index, int length, Fold fold)(Code) | | Extract given area of folds into new FoldChildren instance
parented by the given fold.
Parameters: index - start of the area of folds to be extracted. Parameters: length - length of the area of folds to be extracted. Parameters: fold - fold that will own the newly created fold children. |
foldsToArray | public Fold[] foldsToArray(int index, int length)(Code) | | |
getFoldCount | public int getFoldCount()(Code) | | Get total count of subfolds contained in this fold.
count of subfolds contained in this fold.Zero means there are no subfolds under this fold. |
getFoldIndex | public int getFoldIndex(Fold child)(Code) | | |
insert | public void insert(int index, Fold fold)(Code) | | Insert the given fold at the requested index.
|
insert | public void insert(int index, Fold[] folds)(Code) | | Insert the given folds at the requested index.
|
remove | public void remove(int index, int length)(Code) | | |
Methods inherited from org.netbeans.lib.editor.util.GapList | public boolean add(E element)(Code)(Java Doc) public void add(int index, E element)(Code)(Java Doc) public boolean addAll(Collection<? extends E> c)(Code)(Java Doc) public boolean addAll(int index, Collection<? extends E> c)(Code)(Java Doc) public boolean addArray(int index, Object[] elements)(Code)(Java Doc) public boolean addArray(int index, Object[] elements, int off, int len)(Code)(Java Doc) public void clear()(Code)(Java Doc) public Object clone()(Code)(Java Doc) protected void consistencyCheck()(Code)(Java Doc) final protected void consistencyError(String s)(Code)(Java Doc) public boolean contains(Object elem)(Code)(Java Doc) public void copyElements(int startIndex, int endIndex, Object[] dest, int destIndex)(Code)(Java Doc) public void copyElements(int startIndex, int endIndex, Collection<E> dest)(Code)(Java Doc) public void copyItems(int startIndex, int endIndex, Object[] dest, int destIndex)(Code)(Java Doc) protected String dumpDetails()(Code)(Java Doc) public static String dumpElements(java.util.List l)(Code)(Java Doc) protected String dumpInternals()(Code)(Java Doc) public void ensureCapacity(int minCapacity)(Code)(Java Doc) public E get(int index)(Code)(Java Doc) public int indexOf(Object elem)(Code)(Java Doc) public boolean isEmpty()(Code)(Java Doc) public int lastIndexOf(Object elem)(Code)(Java Doc) public E remove(int index)(Code)(Java Doc) public void remove(int index, int count)(Code)(Java Doc) protected void removeRange(int fromIndex, int toIndex)(Code)(Java Doc) public E set(int index, E element)(Code)(Java Doc) public int size()(Code)(Java Doc) public void swap(int index1, int index2)(Code)(Java Doc) public Object[] toArray()(Code)(Java Doc) public T[] toArray(T[] a)(Code)(Java Doc) public String toString()(Code)(Java Doc) public void trimToSize()(Code)(Java Doc)
|
|
|