Class RoundedToolbarSnippet
- java.lang.Object
-
- org.eclipse.nebula.widgets.opal.roundedtoolbar.snippets.RoundedToolbarSnippet
-
public class RoundedToolbarSnippet extends java.lang.Object
A simple snippet for the Rounded Toolbar Widget
-
-
Field Summary
Fields Modifier and Type Field Description private static org.eclipse.swt.graphics.Image
emailb
private static org.eclipse.swt.graphics.Image
emailw
private static org.eclipse.swt.graphics.Color
grey1
private static org.eclipse.swt.graphics.Color
grey2
private static org.eclipse.swt.graphics.Image
iconBubble1b
private static org.eclipse.swt.graphics.Image
iconBubble1w
private static org.eclipse.swt.graphics.Image
iconBubble2b
private static org.eclipse.swt.graphics.Image
iconBubble2w
private static org.eclipse.swt.graphics.Image
iconBubble3b
private static org.eclipse.swt.graphics.Image
iconBubble3w
-
Constructor Summary
Constructors Constructor Description RoundedToolbarSnippet()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static RoundedToolbar
createCheckButtons(org.eclipse.swt.widgets.Shell shell, boolean verticalAlignment)
private static RoundedToolbar
createPushButtons(org.eclipse.swt.widgets.Shell shell, boolean verticalAlignment)
private static RoundedToolbar
createRadioButtons(org.eclipse.swt.widgets.Shell shell, boolean verticalAlignment, boolean drawRadio)
private static void
createToggleButtons(org.eclipse.swt.widgets.Shell shell)
static void
main(java.lang.String[] args)
-
-
-
Field Detail
-
grey1
private static org.eclipse.swt.graphics.Color grey1
-
grey2
private static org.eclipse.swt.graphics.Color grey2
-
iconBubble1b
private static org.eclipse.swt.graphics.Image iconBubble1b
-
iconBubble1w
private static org.eclipse.swt.graphics.Image iconBubble1w
-
iconBubble2b
private static org.eclipse.swt.graphics.Image iconBubble2b
-
iconBubble2w
private static org.eclipse.swt.graphics.Image iconBubble2w
-
iconBubble3b
private static org.eclipse.swt.graphics.Image iconBubble3b
-
iconBubble3w
private static org.eclipse.swt.graphics.Image iconBubble3w
-
emailb
private static org.eclipse.swt.graphics.Image emailb
-
emailw
private static org.eclipse.swt.graphics.Image emailw
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
- Parameters:
args
-
-
createToggleButtons
private static void createToggleButtons(org.eclipse.swt.widgets.Shell shell)
-
createPushButtons
private static RoundedToolbar createPushButtons(org.eclipse.swt.widgets.Shell shell, boolean verticalAlignment)
-
createCheckButtons
private static RoundedToolbar createCheckButtons(org.eclipse.swt.widgets.Shell shell, boolean verticalAlignment)
-
createRadioButtons
private static RoundedToolbar createRadioButtons(org.eclipse.swt.widgets.Shell shell, boolean verticalAlignment, boolean drawRadio)
-
-