|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.extjs.gxt.ui.client.widget.Component
com.extjs.gxt.ui.client.widget.BoxComponent
com.extjs.gxt.ui.client.widget.button.Button
com.extjs.gxt.ui.client.widget.button.ToggleButton
com.sibvisions.rad.ui.web.ext.gxt.GVxToggleButton
public class GVxToggleButton
Ext GWT Button extension to support border on mouse entered.
| 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.extjs.gxt.ui.client.widget.button.Button |
|---|
buttonEl, buttonSelector, icon, menu, scale, template, text |
| Fields inherited from class com.extjs.gxt.ui.client.widget.BoxComponent |
|---|
adjustSize, cacheSizes, ensureVisibilityOnSizing, height, lastSize, layer, shim, width |
| Fields inherited from class com.extjs.gxt.ui.client.widget.Component |
|---|
afterRender, attachables, baseStyle, disabled, disabledStyle, disableTextSelection, dummy, focusable, hidden, mask, maskMessage, maskMessageStyleName, monitorWindowResize, rendered, resizeHandler, setElementRender, stateId, swallowEvents, toolTip, windowResizeDelay, windowResizeTask |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
GVxToggleButton()
Creates a new button. |
|
GVxToggleButton(String pText)
Creates a new button with the given text. |
|
GVxToggleButton(String pText,
AbstractImagePrototype pIcon)
Creates a new button with the given text and iconStyle. |
|
| Method Summary | |
|---|---|
boolean |
isBorderOnMouseEntered()
Gets the border on mouse entered mode. |
protected void |
onMouseOut(ComponentEvent ce)
|
protected void |
onMouseOver(ComponentEvent ce)
|
void |
setBorderOnMouseEntered(boolean pBorderOnMouseEntered)
Sets the border on mouse entered mode. |
protected void |
setElement(Element elem,
Element parent,
int index)
|
protected void |
toggle(boolean state,
boolean silent)
|
| Methods inherited from class com.extjs.gxt.ui.client.widget.button.ToggleButton |
|---|
getToggleGroup, isAllowDepress, isPressed, onClick, onFocus, onMouseDown, onMouseUp, onRender, setAllowDepress, setToggleGroup, toggle, toggle |
| Methods inherited from class com.extjs.gxt.ui.client.widget.button.Button |
|---|
addSelectionListener, afterRender, autoWidth, createComponentEvent, getArrowAlign, getFocusEl, getIcon, getIconAlign, getMenu, getMenuAlign, getMenuClass, getMinWidth, getMouseEvents, getScale, getText, getType, hideMenu, onBlur, onComponentEvent, onDetach, onDisable, onEnable, onKeyPress, onMenuHide, onMenuShow, onResize, removeSelectionListener, setArrowAlign, setIcon, setIconAlign, setIconStyle, setMenu, setMenuAlign, setMinWidth, setMouseEvents, setScale, setTabIndex, setText, setType, showMenu |
| Methods inherited from class com.extjs.gxt.ui.client.widget.BoxComponent |
|---|
adjustPosition, adjustSize, getBounds, getHeight, getHeight, getPosition, getPositionEl, getResizeEl, getShadow, getShadowOffset, getShadowPosition, getSize, getWidth, getWidth, hideShadow, hideShim, hideUnders, isAutoHeight, isAutoWidth, isDeferHeight, isShim, onHide, onPosition, onShow, onUnload, setAutoHeight, setAutoWidth, setBounds, setBounds, setDeferHeight, setHeight, setHeight, setPagePosition, setPagePosition, setPixelSize, setPosition, setShadow, setShadowOffset, setShadowPosition, setShim, setSize, setSize, setWidth, setWidth, sync, syncSize |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addDomHandler, addHandler, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, setLayoutData |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, removeStyleDependentName, setElement, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GVxToggleButton()
public GVxToggleButton(String pText)
pText - the button text
public GVxToggleButton(String pText,
AbstractImagePrototype pIcon)
pText - the button textpIcon - the icon| Method Detail |
|---|
protected void setElement(Element elem,
Element parent,
int index)
setElement in class Componentprotected void onMouseOut(ComponentEvent ce)
onMouseOut in class Buttonprotected void onMouseOver(ComponentEvent ce)
onMouseOver in class ToggleButton
protected void toggle(boolean state,
boolean silent)
toggle in class ToggleButtonpublic void setBorderOnMouseEntered(boolean pBorderOnMouseEntered)
pBorderOnMouseEntered - true, if border on mouse entered.public boolean isBorderOnMouseEntered()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||