Package | com.yworks.canvas.model |
Class | public class BridgeUpdateMode |
Inheritance | BridgeUpdateMode Object |
Implements | IEnum |
The constants defined in this class are used in HandleInputMode.bridgeUpdateMode
,
MoveInputMode.bridgeUpdateMode
, and MainInputMode.bridgeUpdateMode
.
See also
Method | Defined By | ||
---|---|---|---|
toString():String
A String representation of the constant. | BridgeUpdateMode | ||
valueOf(s:Object):BridgeUpdateMode [static]
Returns the constant which is represented by the given object. | BridgeUpdateMode |
Constant | Defined By | ||
---|---|---|---|
ALWAYS : BridgeUpdateMode [static]
The bridges will always be updated during movement ("live"). | BridgeUpdateMode | ||
ON_END : BridgeUpdateMode [static]
The bridges are not updated during movement. | BridgeUpdateMode | ||
ON_START_AND_END : BridgeUpdateMode [static]
The bridges will be removed when the movement starts and re-added after
the movement has ended. | BridgeUpdateMode |
toString | () | method |
public function toString():String
A String representation of the constant.
ReturnsString — A String representation of the constant.
|
valueOf | () | method |
public static function valueOf(s:Object):BridgeUpdateMode
Returns the constant which is represented by the given object.
Parameters
s:Object — An object which represents the mode to return. The same String
which is returned by the toString() method.
|
BridgeUpdateMode — The constant which is represented by the given object.
|
ArgumentError — is there is no valid BridgeUpdateMode for the given object.
|
ALWAYS | Constant |
public static const ALWAYS:BridgeUpdateMode
The bridges will always be updated during movement ("live").
This is the nicest mode but it may be too slow on larger graphs.
ON_END | Constant |
public static const ON_END:BridgeUpdateMode
The bridges are not updated during movement.
This is the fastest mode. If the moving edge has caused some bridges at its initial position these will remain on the display until the movement has finished. This may be confusing.
ON_START_AND_END | Constant |
public static const ON_START_AND_END:BridgeUpdateMode
The bridges will be removed when the movement starts and re-added after the movement has ended.
On larger graphs this mode may cause a noticable delay when the movement starts.