Packagecom.yworks.graph.input
Classpublic class AdjustContentRectPolicy
InheritanceAdjustContentRectPolicy Inheritance Object
Implements IEnum

Enumeration for the different possible policies that can be assigned to the GraphEditorInputMode using its autoAdjustContentRect property.



Public Methods
 MethodDefined By
  
toString():String
AdjustContentRectPolicy
Public Constants
 ConstantDefined By
  ALWAYS : AdjustContentRectPolicy
[static] The content rect should be recalculated to fit the new graph bounds in response to user input.
AdjustContentRectPolicy
  NEVER : AdjustContentRectPolicy
[static] The content rect should never be adjusted automatically in response to user input.
AdjustContentRectPolicy
  UNION : AdjustContentRectPolicy
[static] The content rect should be recalculated as the union of the former content rect and the new graph bounds in response to user input.
AdjustContentRectPolicy
Method Detail
toString()method
public function toString():String

Returns
String
Constant Detail
ALWAYSConstant
public static const ALWAYS:AdjustContentRectPolicy

The content rect should be recalculated to fit the new graph bounds in response to user input.

NEVERConstant 
public static const NEVER:AdjustContentRectPolicy

The content rect should never be adjusted automatically in response to user input.

UNIONConstant 
public static const UNION:AdjustContentRectPolicy

The content rect should be recalculated as the union of the former content rect and the new graph bounds in response to user input.