Download JGraph User Manual
Transcript
JGraph User Manual • setGridVisible(boolean) determines whether or not the grid is visible. If setGridEnabled is set to true you get 'snapping' to grid points, otherwise no 'snapping' will occur. • SetMoveBelowZero(boolean) determines whether or not cells are allowed to have the position of their top-left corner anywhere in negative co-ordinate space. It is generally recommended not to allow this unless there is a good reason. The underlying variable is false by default, i.e. all top-left corners of cells are always in positive co-ordinate space. • SetAntiAliased(boolean) determines whether or not to enable antialiasing for the JGraph component. Anti-aliasing is a technique for blurring sharp, jagged lines using color gradients. The underlying variable is false by default. • SetSelectionEnabled(boolean) determines whether or not any cells may be selected. The underlying variable is true by default. Page 33