ToolBar Constants : ToolBar « SWT « Java Tutorial






ConstantDescription
SWT.FLATMakes the toolbar items flat; only the button under the mouse pointer appears raised.
SWT.WRAPWraps the toolbar buttons; this style has no effect on Windows.
SWT.RIGHTRight aligns the toolbar.
SWT.HORIZONTALDraws a horizontal toolbar.
SWT.VERTICALDraws a vertical toolbar.
SWT.SHADOW_OUTDraw a shadow around the toolbar.










17.64.ToolBar
17.64.1.ToolBar Constants
17.64.2.A toolbar can be horizontal or vertical.
17.64.3.Add Buttons to ToolBarAdd Buttons to ToolBar
17.64.4.Add ToolItem to ToolBarAdd ToolItem to ToolBar
17.64.5.ToolBar: create tool bar with normal, hot and disabled images.ToolBar: create tool bar with normal, hot and disabled images.
17.64.6.ToolBar: wrap on resizeToolBar: wrap on resize
17.64.7.Place a drop down menu in a tool barPlace a drop down menu in a tool bar
17.64.8.Add a combo box in a tool barAdd a combo box in a tool bar