|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.swfm.mica.core.MiEditorIterator
This class implements an iterator that iterates through MiEditors, correctly handling any multiple layers.
| Constructor Summary | |
MiEditorIterator(MiEditor editor)
Contructs a new MiEditorIterator. |
|
MiEditorIterator(MiEditor editor,
boolean startAtTop)
Contructs a new MiEditorIterator. |
|
MiEditorIterator(MiEditor editor,
boolean startAtTop,
boolean iterateIntoPartsOfParts)
|
|
MiEditorIterator(MiEditor editor,
boolean startAtTop,
boolean iterateIntoPartsOfParts,
boolean iterateIntoAttachmentsOfParts)
|
|
| Method Summary | |
MiEditorFilter |
getFilter()
|
boolean |
getIterateIntoAttachmentsOfParts()
Gets whether the iterator will iterate through all attachments of all parts encountered. |
boolean |
getIterateIntoPartsOfParts()
Gets whether the iterator will iterate through all parts of all parts of the assigned container or will just iterate through the parts of the container. |
boolean |
getIterateThroughAllLayers()
Gets whether the iterator will iterate through all layers or just the editor's current layer. |
MiPart |
getNext()
Gets the next part. |
MiPart |
getPrevious()
Gets the previous part. |
void |
reset()
|
void |
resetIteratorToLast()
|
void |
setFilter(MiEditorFilter filter)
|
void |
setIterateIntoAttachmentsOfParts(boolean flag)
Sets whether the iterator will iterate through all attachments of all parts that are encountered. |
void |
setIterateIntoPartsOfParts(boolean flag)
Sets whether the iterator will iterate through all parts of all parts of the assigned container or will just iterate through the parts of the container. |
void |
setIterateThroughAllLayers(boolean flag)
Sets whether the iterator will iterate through all layers or just the editor's current layer. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MiEditorIterator(MiEditor editor)
editor - the editor to iterate through
public MiEditorIterator(MiEditor editor,
boolean startAtTop)
editor - the editor to iterate throughstartAtTop - true if the iteration is to start
at the last part of the last layer
(which is the top-most part).
false if the iteration is to start
at the first part of the first,
bottom-most layer).MiEditor#getIterateIntoPartsOfParts
public MiEditorIterator(MiEditor editor,
boolean startAtTop,
boolean iterateIntoPartsOfParts)
public MiEditorIterator(MiEditor editor,
boolean startAtTop,
boolean iterateIntoPartsOfParts,
boolean iterateIntoAttachmentsOfParts)
| Method Detail |
public void setFilter(MiEditorFilter filter)
public MiEditorFilter getFilter()
public void setIterateIntoPartsOfParts(boolean flag)
flag - true if iterate through whole
tree of partspublic boolean getIterateIntoPartsOfParts()
public void setIterateIntoAttachmentsOfParts(boolean flag)
flag - true if iterate through attachments
toopublic boolean getIterateIntoAttachmentsOfParts()
public void setIterateThroughAllLayers(boolean flag)
flag - true if iterate through all layerspublic boolean getIterateThroughAllLayers()
public MiPart getNext()
getNext in interface MiiIteratorpublic MiPart getPrevious()
getPrevious in interface MiiIteratorpublic void reset()
public void resetIteratorToLast()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||