com.smartgwt.client.widgets.toolbar
Class ToolStripGroup

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.smartgwt.client.widgets.BaseWidget
              extended by com.smartgwt.client.widgets.Canvas
                  extended by com.smartgwt.client.widgets.layout.Layout
                      extended by com.smartgwt.client.widgets.layout.VLayout
                          extended by com.smartgwt.client.widgets.toolbar.ToolStripGroup
All Implemented Interfaces:
HasAttachHandlers, HasHandlers, EventListener, IsWidget, HasClickHandlers, HasDoubleClickHandlers, HasDragMoveHandlers, HasDragRepositionMoveHandlers, HasDragRepositionStartHandlers, HasDragRepositionStopHandlers, HasDragResizeMoveHandlers, HasDragResizeStartHandlers, HasDragResizeStopHandlers, HasDragStartHandlers, HasDragStopHandlers, HasDropHandlers, HasDropMoveHandlers, HasDropOutHandlers, HasDropOverHandlers, HasFocusChangedHandlers, HasHoverHandlers, HasHoverHiddenHandlers, HasKeyDownHandlers, HasKeyPressHandlers, HasMouseDownHandlers, HasMouseMoveHandlers, HasMouseOutHandlers, HasMouseOverHandlers, HasMouseStillDownHandlers, HasMouseUpHandlers, HasMouseWheelHandlers, HasMovedHandlers, HasParentMovedHandlers, HasResizedHandlers, HasRightMouseDownHandlers, HasScrolledHandlers, HasShowContextMenuHandlers, HasVisibilityChangedHandlers
Direct Known Subclasses:
RibbonGroup

public class ToolStripGroup
extends VLayout

A widget that groups other controls for use in tool-strips.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
 
Field Summary
 
Fields inherited from class com.smartgwt.client.widgets.BaseWidget
config, configOnly, id, isElementSet, scClassName
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
ToolStripGroup()
           
ToolStripGroup(JavaScriptObject jsObj)
           
 
Method Summary
 void addControl(Canvas control)
          Adds a control to this toolStripGroup, creating a new column if necessary, according to the control's rowSpan attribute and the group's numRows attribute.
 void addControl(Canvas control, int index)
          Adds a control to this toolStripGroup, creating a new column if necessary, according to the control's rowSpan attribute and the group's numRows attribute.
 void addControls(Canvas... controls)
          Adds an array of controls to this group, creating new columns as necessary according to each control's rowSpan attribute and the group's numRows attribute.
protected  JavaScriptObject create()
           
 String getBodyConstructor()
          Smart GWT class for the body.
 Canvas[] getControls()
          The array of controls to show in this group.
 String getLabelConstructor()
          Smart GWT class for the title label.
 int getNumRows()
          The number of rows of controls to display in each column.
static ToolStripGroup getOrCreateRef(JavaScriptObject jsObj)
           
 int getRowHeight()
          The height of rows in each column.
 String getStyleName()
          CSS class applied to this ToolStripGroup.
 Alignment getTitleAlign()
          Controls the horizontal alignment of the group-title in its label.
 int getTitleHeight()
          The height of the title label in this group.
 VerticalAlignment getTitleOrientation()
          Controls the horizontal alignment of the group-title in its label.
 String getTitleStyle()
          CSS class applied to this ToolStripGroup.
 void removeControl(Canvas control)
          Removes a control from this toolStripGroup, destroying an existing column if this is the last widget in that column.
 void setBodyConstructor(String bodyConstructor)
          Smart GWT class for the body.
 void setControlColumn(Canvas control)
          Return the column widget that contains the passed control.
 void setControls(Canvas... controls)
          The array of controls to show in this group.
static void setDefaultProperties(ToolStripGroup toolStripGroupProperties)
          Class level method to set the default properties of this class.
 void setLabelConstructor(String labelConstructor)
          Smart GWT class for the title label.
 void setNumRows(int numRows)
          The number of rows of controls to display in each column.
 void setRowHeight(int rowHeight)
          The height of rows in each column.
 void setShowTitle(boolean showTitle)
          This method forcibly shows or hides this group's title after initial draw.
 void setStyleName(String styleName)
          CSS class applied to this ToolStripGroup.
 void setTitle(String title)
          Sets the header-text for this group.
 void setTitleAlign(Alignment titleAlign)
          Controls the horizontal alignment of the group-title in its label.
 void setTitleHeight(int titleHeight)
          The height of the title label in this group.
 void setTitleOrientation(VerticalAlignment titleOrientation)
          Controls the horizontal alignment of the group-title in its label.
 void setTitleStyle(String titleStyle)
          CSS class applied to this ToolStripGroup.
 
Methods inherited from class com.smartgwt.client.widgets.layout.VLayout
setDefaultProperties
 
Methods inherited from class com.smartgwt.client.widgets.layout.Layout
addMember, addMember, addMember, addMember, addMemberPostCreate, addMemberPostCreate, addMemberPreCreate, addMemberPreCreate, getAnimateMembers, getAnimateMemberTime, getCanDropComponents, getDefaultResizeBars, getDropComponent, getDropLineThickness, getDropPosition, getEnforcePolicy, getHPolicy, getLayoutBottomMargin, getLayoutLeftMargin, getLayoutMargin, getLayoutRightMargin, getLayoutTopMargin, getLeaveScrollbarGap, getLocateMembersBy, getLocateMembersType, getManagePercentBreadth, getMember, getMember, getMemberDefaultBreadth, getMemberNumber, getMemberNumber, getMemberOffset, getMemberOverlap, getMembers, getMembersMargin, getMinMemberSize, getOverflow, getPaddingAsLayoutMargin, getResizeBarClass, getResizeBarSize, getReverseOrder, getShowDragPlaceHolder, getStackZIndex, getVertical, getVPolicy, hasMember, hideDropLine, hideMember, hideMember, membersChanged, onInit_Layout, onInit, reflow, reflow, reflowNow, removeMember, removeMembers, reorderMember, reorderMembers, setAlign, setAlign, setAnimateMembers, setAnimateMemberTime, setCanDropComponents, setDefaultLayoutAlign, setDefaultLayoutAlign, setDefaultProperties, setDefaultResizeBars, setDropLineProperties, setDropLineThickness, setEnforcePolicy, setHPolicy, setLayoutBottomMargin, setLayoutLeftMargin, setLayoutMargin, setLayoutRightMargin, setLayoutTopMargin, setLeaveScrollbarGap, setLocateMembersBy, setLocateMembersType, setManagePercentBreadth, setMemberOverlap, setMembers, setMembersMargin, setMinMemberSize, setOverflow, setPaddingAsLayoutMargin, setPlaceHolderDefaults, setPlaceHolderProperties, setResizeBarClass, setResizeBarSize, setReverseOrder, setShowDragPlaceHolder, setStackZIndex, setVertical, setVisibleMember, setVPolicy, showMember, showMember
 
Methods inherited from class com.smartgwt.client.widgets.Canvas
addChild, addChild, addChild, addClickHandler, addDoubleClickHandler, addDragMoveHandler, addDragRepositionMoveHandler, addDragRepositionStartHandler, addDragRepositionStopHandler, addDragResizeMoveHandler, addDragResizeStartHandler, addDragResizeStopHandler, addDragStartHandler, addDragStopHandler, addDropHandler, addDropMoveHandler, addDropOutHandler, addDropOverHandler, addFocusChangedHandler, addHoverHandler, addHoverHiddenHandler, addKeyDownHandler, addKeyPressHandler, addMouseDownHandler, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseStillDownHandler, addMouseUpHandler, addMouseWheelHandler, addMovedHandler, addParentMovedHandler, addPeer, addPeer, addResizedHandler, addRightMouseDownHandler, addScrolledHandler, addShowContextMenuHandler, addStyleName, addVisibilityChangedHandler, adjustForContent, animateFade, animateFade, animateFade, animateHide, animateHide, animateHide, animateMove, animateMove, animateMove, animateMove, animateRect, animateRect, animateRect, animateResize, animateResize, animateResize, animateScroll, animateScroll, animateScroll, animateShow, animateShow, animateShow, blur, bringToFront, clear, clickMaskUp, clickMaskUp, contains, contains, containsEvent, containsFocus, containsPoint, containsPoint, convertToCanvasArray, disable, enable, focus, getAbsoluteLeft, getAbsoluteTop, getAccessKey, getAnimateAcceleration, getAnimateFadeTime, getAnimateHideAcceleration, getAnimateHideTime, getAnimateMoveAcceleration, getAnimateMoveTime, getAnimateRectAcceleration, getAnimateRectTime, getAnimateResizeAcceleration, getAnimateResizeTime, getAnimateScrollAcceleration, getAnimateScrollTime, getAnimateShowAcceleration, getAnimateShowEffect, getAnimateShowTime, getAnimateTime, getAppImgDir, getAriaRole, getAutoDraw, getAutoShowParent, getBackgroundColor, getBackgroundImage, getBackgroundPosition, getBackgroundRepeat, getBorder, getBottom, getById, getCanAcceptDrop, getCanDrag, getCanDragReposition, getCanDragResize, getCanDragScroll, getCanDrop, getCanDropBefore, getCanFocus, getCanHover, getCanSelectText, getCanvasItem, getChildren, getChildrenSnapResizeToGrid, getChildrenSnapToGrid, getContents, getContextMenu, getCursor, getDataPath, getDefaultHeight, getDefaultWidth, getDestroyed, getDestroying, getDisabled, getDisabledCursor, getDoubleClickDelay, getDragAppearance, getDragIntersectStyle, getDragOpacity, getDragRepositionAppearance, getDragRepositionCursor, getDragResizeAppearance, getDragScrollDelay, getDragStartDistance, getDragTarget, getDragType, getDynamicContents, getEdgeBackgroundColor, getEdgeCenterBackgroundColor, getEdgeImage, getEdgeMarginSize, getEdgeOffset, getEdgeOpacity, getEdgeShowCenter, getEdgeSize, getExtraSpace, getFacetId, getFullDataPath, getGroupTitle, getHeight, getHeightAsString, getHoverAlign, getHoverAutoDestroy, getHoverComponent, getHoverDelay, getHoverHeight, getHoverHTML, getHoverMoveWithMouse, getHoverOpacity, getHoverStyle, getHoverVAlign, getHoverWidth, getHoverWrap, getHSnapOrigin, getHSnapOrigin, getHSnapPosition, getHSnapPosition, getHtmlPosition, getImgURL, getImgURL, getInnerContentHeight, getInnerContentWidth, getInnerHeight, getInnerWidth, getIsGroup, getLeft, getLeftAsString, getLocateChildrenBy, getLocateChildrenType, getLocatePeersBy, getLocatePeersType, getMargin, getMatchElement, getMaxHeight, getMaxWidth, getMenuConstructor, getMinHeight, getMinWidth, getMouseStillDownDelay, getMouseStillDownInitialDelay, getNextZIndex, getNoDoubleClicks, getOffsetHeight, getOffsetWidth, getOffsetX, getOffsetY, getOpacity, getPadding, getPageBottom, getPageLeft, getPageRect, getPageRight, getPageTop, getParentElement, getPercentBox, getPosition, getPrefix, getPrintHTML, getPrintHTML, getPrompt, getRect, getRedrawOnResize, getResizeBarTarget, getRight, getScrollbarSize, getScrollBottom, getScrollHeight, getScrollLeft, getScrollRight, getScrollTop, getScrollWidth, getShadowDepth, getShadowImage, getShadowOffset, getShadowSoftness, getShouldPrint, getShowCustomScrollbars, getShowDragShadow, getShowEdges, getShowHover, getShowHoverComponents, getShowResizeBar, getShowShadow, getSkinImgDir, getSnapAxis, getSnapEdge, getSnapHDirection, getSnapHGap, getSnapOffsetLeft, getSnapOffsetTop, getSnapOnDrop, getSnapResizeToGrid, getSnapTo, getSnapToGrid, getSnapVDirection, getSnapVGap, getTabIndex, getTitle, getTooltip, getTop, getTopAsString, getUseOpacityFilter, getValuesManager, getViewportHeight, getViewportWidth, getVisibility, getVisibleHeight, getVisibleWidth, getVSnapOrigin, getVSnapOrigin, getVSnapPosition, getVSnapPosition, getWidth, getWidthAsString, getZIndex, handleHover, hide, hideClickMask, hideClickMask, hideContextMenu, imgHTML, imgHTML, imgHTML, intersects, isDirty, isDisabled, isDrawn, isVisible, keyUp, layoutChildren, linkHTML, linkHTML, markForDestroy, markForRedraw, markForRedraw, moveAbove, moveBelow, moveBy, moveTo, parentResized, printComponents, redraw, redraw, removeChild, removeChild, resizeBy, resizeTo, resizeTo, scrollBy, scrollByPercent, scrollTo, scrollTo, scrollToBottom, scrollToLeft, scrollToPercent, scrollToRight, scrollToTop, sendToBack, setAccessKey, setAllowExternalFilters, setAnimateAcceleration, setAnimateFadeTime, setAnimateHideAcceleration, setAnimateHideTime, setAnimateMoveAcceleration, setAnimateMoveTime, setAnimateRectAcceleration, setAnimateRectTime, setAnimateResizeAcceleration, setAnimateResizeTime, setAnimateScrollAcceleration, setAnimateScrollTime, setAnimateShowAcceleration, setAnimateShowEffect, setAnimateShowTime, setAnimateTime, setAppImgDir, setAriaRole, setAutoDraw, setAutoHeight, setAutoShowParent, setAutoWidth, setBackgroundColor, setBackgroundImage, setBackgroundPosition, setBackgroundRepeat, setBorder, setBottom, setCanAcceptDrop, setCanDrag, setCanDragReposition, setCanDragResize, setCanDragScroll, setCanDrop, setCanDropBefore, setCanFocus, setCanHover, setCanSelectText, setCanvasItem, setChildren, setChildrenSnapResizeToGrid, setChildrenSnapToGrid, setContents, setContextMenu, setCursor, setDataPath, setDefaultHeight, setDefaultProperties, setDefaultWidth, setDisabled, setDisabledCursor, setDoubleClickDelay, setDragAppearance, setDragIntersectStyle, setDragOpacity, setDragRepositionAppearance, setDragRepositionCursor, setDragResizeAppearance, setDragScrollDelay, setDragStartDistance, setDragTarget, setDragType, setDropTypes, setDynamicContents, setEdgeBackgroundColor, setEdgeCenterBackgroundColor, setEdgeImage, setEdgeMarginSize, setEdgeOffset, setEdgeOpacity, setEdgeShowCenter, setEdgeSize, setExtraSpace, setFacetId, setGroupTitle, setHeight, setHeight, setHeight100, setHoverAlign, setHoverAutoDestroy, setHoverDelay, setHoverHeight, setHoverMoveWithMouse, setHoverOpacity, setHoverStyle, setHoverVAlign, setHoverWidth, setHoverWrap, setHtmlPosition, setImage, setImage, setIsGroup, setKeepInParentRect, setKeepInParentRect, setLayoutAlign, setLayoutAlign, setLeft, setLeft, setLocateChildrenBy, setLocateChildrenType, setLocatePeersBy, setLocatePeersType, setMargin, setMatchElement, setMaxHeight, setMaxWidth, setMenuConstructor, setMinHeight, setMinWidth, setMouseStillDownDelay, setMouseStillDownInitialDelay, setNeverUseFilters, setNoDoubleClicks, setOpacity, setPadding, setPageLeft, setPageTop, setParentElement, setPercentBox, setPosition, setPrefix, setPrompt, setRect, setRect, setRedrawOnResize, setResizeBarTarget, setResizeFrom, setRight, setScrollbarSize, setShadowDepth, setShadowImage, setShadowOffset, setShadowSoftness, setShouldPrint, setShowCustomScrollbars, setShowDragShadow, setShowEdges, setShowHover, setShowHoverComponents, setShowResizeBar, setShowShadow, setSkinImgDir, setSmoothFade, setSnapAxis, setSnapEdge, setSnapHDirection, setSnapHGap, setSnapOffsetLeft, setSnapOffsetTop, setSnapOnDrop, setSnapResizeToGrid, setSnapTo, setSnapToGrid, setSnapVDirection, setSnapVGap, setTabIndex, setTooltip, setTop, setTop, setUseOpacityFilter, setValuesManager, setVisibility, setVisible, setWidth, setWidth, setWidth100, setZIndex, shouldDragScroll, show, showClickMask, showNextTo, showNextTo, showPrintPreview, showPrintPreview, showPrintPreview, showPrintPreview, showRecursively, updateHover, updateHover, updateShadow, visibleAtPoint, willAcceptDrop
 
Methods inherited from class com.smartgwt.client.widgets.BaseWidget
addDrawHandler, destroy, doAddHandler, doInit, doOnRender, draw, equals, error, errorIfNotCreated, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsFloatArray, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsString, getAttributeAsStringArray, getConfig, getDOM, getElement, getElement, getHandlerCount, getID, getInnerHTML, getJsObj, getOrCreateJsObj, getRef, getScClassName, hashCode, isConfigOnly, isCreated, onDestroy, onDraw, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setConfig, setConfigOnly, setDragTracker, setElement, setHtmlElement, setID, setNullProperty, setPosition, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setScClassName, toString
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, ensureDebugId, ensureDebugId, ensureDebugId, getStyleElement, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Constructor Detail

ToolStripGroup

public ToolStripGroup()

ToolStripGroup

public ToolStripGroup(JavaScriptObject jsObj)
Method Detail

getOrCreateRef

public static ToolStripGroup getOrCreateRef(JavaScriptObject jsObj)

create

protected JavaScriptObject create()
Overrides:
create in class VLayout

setBodyConstructor

public void setBodyConstructor(String bodyConstructor)
                        throws IllegalStateException
Smart GWT class for the body.

Note : This is an advanced setting

Parameters:
bodyConstructor - bodyConstructor Default value is "HLayout"
Throws:
IllegalStateException - this property cannot be changed after the component has been created

getBodyConstructor

public String getBodyConstructor()
Smart GWT class for the body.

Returns:
String

setLabelConstructor

public void setLabelConstructor(String labelConstructor)
                         throws IllegalStateException
Smart GWT class for the title label.

Note : This is an advanced setting

Parameters:
labelConstructor - labelConstructor Default value is "Label"
Throws:
IllegalStateException - this property cannot be changed after the component has been created

getLabelConstructor

public String getLabelConstructor()
Smart GWT class for the title label.

Returns:
String

setNumRows

public void setNumRows(int numRows)
The number of rows of controls to display in each column.

Parameters:
numRows - numRows Default value is 1

getNumRows

public int getNumRows()
The number of rows of controls to display in each column.

Returns:
int

setRowHeight

public void setRowHeight(int rowHeight)
The height of rows in each column.

Parameters:
rowHeight - rowHeight Default value is 20

getRowHeight

public int getRowHeight()
The height of rows in each column.

Returns:
int

setStyleName

public void setStyleName(String styleName)
CSS class applied to this ToolStripGroup.

Overrides:
setStyleName in class Canvas
Parameters:
styleName - styleName Default value is "toolStripGroup"
See Also:
Appearance overview and related methods, CSS styles Example

getStyleName

public String getStyleName()
CSS class applied to this ToolStripGroup.

Overrides:
getStyleName in class Canvas
Returns:
String
See Also:
Appearance overview and related methods, CSS styles Example

setTitleAlign

public void setTitleAlign(Alignment titleAlign)
Controls the horizontal alignment of the group-title in its label. Setting this attribute overrides the default specified by groupTitleAlign on the containing ToolStrip.

If this method is called after the component has been drawn/initialized: This method forcibly sets the text-alignment of this group's title after initial draw.

Parameters:
titleAlign - the new alignment for the text, left or right. Default value is "center"

getTitleAlign

public Alignment getTitleAlign()
Controls the horizontal alignment of the group-title in its label. Setting this attribute overrides the default specified by groupTitleAlign on the containing ToolStrip.

Returns:
Alignment

setTitleHeight

public void setTitleHeight(int titleHeight)
The height of the title label in this group.

Parameters:
titleHeight - titleHeight Default value is 18

getTitleHeight

public int getTitleHeight()
The height of the title label in this group.

Returns:
int

setTitleOrientation

public void setTitleOrientation(VerticalAlignment titleOrientation)
Controls the horizontal alignment of the group-title in its label. Setting this attribute overrides the default specified by groupTitleOrientation on the containing ToolStrip.

If this method is called after the component has been drawn/initialized: This method forcibly sets the orientation of this group's title after initial draw.

Parameters:
titleOrientation - the new orientation for the title, either bottom or top. Default value is "top"

getTitleOrientation

public VerticalAlignment getTitleOrientation()
Controls the horizontal alignment of the group-title in its label. Setting this attribute overrides the default specified by groupTitleOrientation on the containing ToolStrip.

Returns:
VerticalAlignment

setTitleStyle

public void setTitleStyle(String titleStyle)
CSS class applied to this ToolStripGroup.

Parameters:
titleStyle - titleStyle Default value is "toolStripGroupTitle"

getTitleStyle

public String getTitleStyle()
CSS class applied to this ToolStripGroup.

Returns:
String

addControl

public void addControl(Canvas control)
Adds a control to this toolStripGroup, creating a new column if necessary, according to the control's rowSpan attribute and the group's numRows attribute.

Parameters:
control - a widget to add to this group

addControl

public void addControl(Canvas control,
                       int index)
Adds a control to this toolStripGroup, creating a new column if necessary, according to the control's rowSpan attribute and the group's numRows attribute.

Parameters:
control - a widget to add to this group
index - optional insertion index for this control

removeControl

public void removeControl(Canvas control)
Removes a control from this toolStripGroup, destroying an existing column if this is the last widget in that column.

Parameters:
control - a widget to remove from this group

setControlColumn

public void setControlColumn(Canvas control)
Return the column widget that contains the passed control.

Parameters:
control - the control to find in this group

setShowTitle

public void setShowTitle(boolean showTitle)
This method forcibly shows or hides this group's title after initial draw.

Parameters:
showTitle - should be show the title be shown or hidden?

setTitle

public void setTitle(String title)
Sets the header-text for this group.

Overrides:
setTitle in class Canvas
Parameters:
title - The new title for this group

setDefaultProperties

public static void setDefaultProperties(ToolStripGroup toolStripGroupProperties)
Class level method to set the default properties of this class. If set, then all subsequent instances of this class will automatically have the default properties that were set when this method was called. This is a powerful feature that eliminates the need for users to create a separate hierarchy of subclasses that only alter the default properties of this class. Can also be used for skinning / styling purposes.

Note: This method is intended for setting default attributes only and will effect all instances of the underlying class (including those automatically generated in JavaScript). This method should not be used to apply standard EventHandlers or override methods for a class - use a custom subclass instead.

Parameters:
toolStripGroupProperties - properties that should be used as new defaults when instances of this class are created

setControls

public void setControls(Canvas... controls)
                 throws IllegalStateException
The array of controls to show in this group.

If this method is called after the component has been drawn/initialized: Clears the array of controls and then adds the passed array to this toolBarGroup, creating new columns as necessary according to each control's rowSpan attribute and the group's numRows attribute.

Parameters:
controls - an array of widgets to add to this group. Default value is null
Throws:
IllegalStateException - this property cannot be changed after the component has been created

getControls

public Canvas[] getControls()
The array of controls to show in this group.

Returns:
Unhandled-WidgetArray

addControls

public void addControls(Canvas... controls)
Adds an array of controls to this group, creating new columns as necessary according to each control's rowSpan attribute and the group's numRows attribute.

Parameters:
controls - an array of widgets to add to this group