Class SWTConstants
java.lang.Object
org.eclipse.nebula.visualization.xygraph.util.SWTConstants
public class SWTConstants
extends java.lang.Object
SWT 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 int
IMAGE_DISABLE
TheImage
constructor 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 int
IMAGE_GRAY
TheImage
constructor 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 int
LINE_CUSTOM
Line drawing style for custom dashed lines (value is 6).static int
LINE_DASH
Line drawing style for dashed lines (value is 2).static int
LINE_DASHDOT
Line drawing style for alternating dash-dot lines (value is 4).static int
LINE_DASHDOTDOT
Line drawing style for dash-dot-dot lines (value is 5).static int
LINE_DOT
Line drawing style for dotted lines (value is 3).static int
LINE_SOLID
Line drawing style for solid lines (value is 1). -
Constructor Summary
Constructors Constructor Description SWTConstants()
-
Method Summary
-
Field Details
-
LINE_SOLID
public static final int LINE_SOLIDLine drawing style for solid lines (value is 1).- See Also:
- Constant Field Values
-
LINE_DASH
public static final int LINE_DASHLine drawing style for dashed lines (value is 2).- See Also:
- Constant Field Values
-
LINE_DOT
public static final int LINE_DOTLine drawing style for dotted lines (value is 3).- See Also:
- Constant Field Values
-
LINE_DASHDOT
public static final int LINE_DASHDOTLine drawing style for alternating dash-dot lines (value is 4).- See Also:
- Constant Field Values
-
LINE_DASHDOTDOT
public static final int LINE_DASHDOTDOTLine drawing style for dash-dot-dot lines (value is 5).- See Also:
- Constant Field Values
-
LINE_CUSTOM
public static final int LINE_CUSTOMLine 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_DISABLETheImage
constructor 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_GRAYTheImage
constructor 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
-
-
Constructor Details
-
SWTConstants
public SWTConstants()
-