Class SWTConstants
- java.lang.Object
-
- org.eclipse.nebula.visualization.xygraph.util.SWTConstants
-
public class SWTConstants extends java.lang.ObjectSWT Constants. Some SWT constants doesn't exist in org.eclipse.rap.ui, but exist in org.eclipse.draw2d.rap.swt. So I copy them to here to achieve the compatibility.
-
-
Field Summary
Fields Modifier and Type Field Description static intIMAGE_DISABLETheImageconstructor argument indicating that the new image should have the appearance of a "disabled" (using the platform's rules for how this should look) copy of the image provided as an argument (value is 1).static intIMAGE_GRAYTheImageconstructor argument indicating that the new image should have the appearance of a "gray scaled" copy of the image provided as an argument (value is 2).static intLINE_CUSTOMLine drawing style for custom dashed lines (value is 6).static intLINE_DASHLine drawing style for dashed lines (value is 2).static intLINE_DASHDOTLine drawing style for alternating dash-dot lines (value is 4).static intLINE_DASHDOTDOTLine drawing style for dash-dot-dot lines (value is 5).static intLINE_DOTLine drawing style for dotted lines (value is 3).static intLINE_SOLIDLine drawing style for solid lines (value is 1).
-
Constructor Summary
Constructors Constructor Description SWTConstants()
-
-
-
Field Detail
-
LINE_SOLID
public static final int LINE_SOLID
Line drawing style for solid lines (value is 1).- See Also:
- Constant Field Values
-
LINE_DASH
public static final int LINE_DASH
Line drawing style for dashed lines (value is 2).- See Also:
- Constant Field Values
-
LINE_DOT
public static final int LINE_DOT
Line drawing style for dotted lines (value is 3).- See Also:
- Constant Field Values
-
LINE_DASHDOT
public static final int LINE_DASHDOT
Line drawing style for alternating dash-dot lines (value is 4).- See Also:
- Constant Field Values
-
LINE_DASHDOTDOT
public static final int LINE_DASHDOTDOT
Line drawing style for dash-dot-dot lines (value is 5).- See Also:
- Constant Field Values
-
LINE_CUSTOM
public static final int LINE_CUSTOM
Line drawing style for custom dashed lines (value is 6).- Since:
- 3.1
- See Also:
GC.setLineDash(int[]),GC.getLineDash(), Constant Field Values
-
IMAGE_DISABLE
public static final int IMAGE_DISABLE
TheImageconstructor argument indicating that the new image should have the appearance of a "disabled" (using the platform's rules for how this should look) copy of the image provided as an argument (value is 1).- See Also:
- Constant Field Values
-
IMAGE_GRAY
public static final int IMAGE_GRAY
TheImageconstructor argument indicating that the new image should have the appearance of a "gray scaled" copy of the image provided as an argument (value is 2).- See Also:
- Constant Field Values
-
-