Class DwtBorderlessButton
Extends
DwtButton.
This class represents a button without a border.
Defined in: DwtBorderlessButton.js.
Class Summary
Constructor Attributes |
Constructor Name and Description |
|
Creates a border less 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
DwtBorderlessButton(params)
Creates a border less button.
- Parameters:
-
{hash} params
- a hash of parameters
-
{DwtComposite} params.parent
- the parent widget
-
{constant} params.style
- the button style (see DwtButton)
-
{string} params.className
- the CSS class
-
{constant} params.posStyle
- the positioning style (see Dwt)
-
{DwtButton.ACTION_MOUSEUP|DwtButton.ACTION_MOUSEDOWN} params.actionTiming
- if DwtButton.ACTION_MOUSEUP, then the button is triggered
on mouseup events, else if DwtButton.ACTION_MOUSEDOWN,
then the button is triggered on mousedown events
-
{string} params.id
- the ID to use for the control's HTML element
-
{number} params.index
- the index at which to add this control among parent's children
|