|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MementoSupport
This interface is a Cookie for the HierarchicLayouter's memento support.
Field Summary | |
---|---|
static byte |
LAYERING_PHASE
Constant describing the first phase of the HierarchicLayouter algorithm. |
static byte |
SEQUENCING_PHASE
Constant describing the second phase of the HierarchicLayouter algorithm. |
Method Summary | |
---|---|
Object |
createMemento()
Creates a memento which can be held by the user, before using the support, a valid memento Object has to be set using the corresponding setter method. |
Object |
getMemento()
Gets the currently active memento Object |
boolean |
getMementoMode(byte phase)
Retrieves the current mode previously set by setMementoMode(byte, boolean) for the given phase of the algorithm. |
void |
setMemento(Object memento)
Sets a previously created memento Object to be used for the next operation |
void |
setMementoMode(byte phase,
boolean useMemento)
Sets the mode for each phase of the algorithm. |
Field Detail |
---|
static final byte LAYERING_PHASE
static final byte SEQUENCING_PHASE
Method Detail |
---|
Object createMemento()
void setMemento(Object memento)
Object getMemento()
void setMementoMode(byte phase, boolean useMemento)
true
makes the
algorithm use the
values stored in the memento from a previous run, whereas false
makes the algorithm store the information in the memento after the next run.
boolean getMementoMode(byte phase)
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |