Class DwtTabButton
Extends
DwtButton.
This class represents the tab in a tab view.
Defined in: DwtTabView.js.
Class Summary
Constructor Attributes |
Constructor Name and Description |
|
Creates a tab button (i.e.
|
Method Summary
Method Attributes |
Method Name and Description |
|
Changes the visual appearance to inactive tab.
|
|
Changes the visual appearance to active tab.
|
- 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
DwtTabButton(parent, id, index, className)
Creates a tab button (i.e. a tab in a tab view).
- Parameters:
-
{DwtComposite} parent
- the parent widget
-
{string} id
- the id
-
{number} index
- the index
-
{string} className
- the style class name
Method Detail
setClosed()
Changes the visual appearance to inactive tab.
setOpen()
Changes the visual appearance to active tab.
|