Class DwtToolBarButton
Extends
DwtButton.
This class represents a toolbar button.
Defined in: DwtToolBar.js.
Class Summary
Constructor Attributes |
Constructor Name and Description |
|
DwtToolBarButton(params, parent, style, className, posStyle, actionTiming, id, index)
Creates a tool bar button.
|
- Methods borrowed from class DwtButton:
- addDropDownSelectionListener, addSelectionListener, dispose, getKeyMapName, getMenu, handleKeyAction, isToggled, popup, removeDropDownSelectionListener, removePullDownMenuOptions, removeSelectionListener, removeSelectionListeners, resetClassName, setActionTiming, setDepressedImage, setDisplayState, setDropDownHovImage, setDropDownImages, setEnabled, setEnabledImage, setHovered, setHoverImage, setImage, setMenu, setSelected, setText
- Methods borrowed from class DwtLabel:
- getImage, getText, isStyle, setAlign, setDisabledImage, setIconEl, setTextBackground, setTextForeground, toString
- Methods borrowed from class DwtComposite:
- addChild, cleanupSeparators, clear, getChild, getChildren, getNumChildren, getTabGroupMember, removeChild, removeChildren
- Methods borrowed from class DwtControl:
- addClassName, addControlListener, addDisposeListener, addListener, appendElement, blur, clearContent, clearHandler, condClassName, delClassName, focus, getBounds, getClassName, getContent, getCursor, getData, getDragBox, getDragSource, getDropTarget, getEnabled, getFocusElement, getH, getHtmlElement, getHTMLElId, getInsetBounds, getInsets, getLocation, getMargins, getOpacity, getOuterSize, getPosition, getScrollContainer, getScrollStyle, getSize, getTooltipBase, getToolTipContent, getVisibility, getVisible, getW, getX, getXW, getY, getYH, getZIndex, hasFocus, isAlertShown, isDisposed, isInitialized, isListenerRegistered, notifyListeners, preventContextMenu, preventSelection, removeAllListeners, removeControlListener, removeDisposeListener, removeListener, reparent, reparentHtmlElement, replaceElement, setBounds, setClassName, setContent, setCursor, setData, setDisplay, setDragBox, setDragSource, setDropTarget, setEventPropagation, setFocusElement, setHandler, setHtmlElementId, setLocation, setOpacity, setPosition, setScrollStyle, setSize, setToolTipContent, setVisibility, setVisible, setZIndex, showAlert, zShow
Class Detail
DwtToolBarButton(params, parent, style, className, posStyle, actionTiming, id, index)
Creates a tool bar button.
- Parameters:
-
{hash} params
- a hash of parameters
-
{DwtComposite} parent
- the parent widget
-
{constant} style
- the menu style
-
{string} className
- the CSS class
-
{DwtToolBar.HORIZ_STYLE|DwtToolBar.VERT_STYLE} posStyle
- the positioning style
-
{Object} actionTiming
- the action timing
-
{string} id
- the id
-
{number} index
- the index at which to add this control among parent's children
|