|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.user.client.ui.UIObject com.google.gwt.user.client.ui.Widget com.google.gwt.user.client.ui.FocusWidget com.google.gwt.user.client.ui.ButtonBase com.google.gwt.user.client.ui.CustomButton com.google.gwt.user.client.ui.ToggleButton org.vectomatic.client.rep.controller.MouseControllerButton
public class MouseControllerButton
Customized ToggleButton class with a tooltip and an associated controller.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.CustomButton |
---|
com.google.gwt.user.client.ui.CustomButton.Face |
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Field Summary | |
---|---|
IController |
controller
|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
MouseControllerButton(com.google.gwt.user.client.ui.Image icon,
String tooltip,
IController controller)
|
Method Summary | |
---|---|
void |
addMouseListener(com.google.gwt.user.client.ui.MouseListener listener)
|
void |
onBrowserEvent(com.google.gwt.user.client.Event event)
|
void |
removeMouseListener(com.google.gwt.user.client.ui.MouseListener listener)
|
Methods inherited from class com.google.gwt.user.client.ui.ToggleButton |
---|
isDown, onClick, setDown |
Methods inherited from class com.google.gwt.user.client.ui.CustomButton |
---|
getDownDisabledFace, getDownFace, getDownHoveringFace, getHTML, getTabIndex, getText, getUpDisabledFace, getUpFace, getUpHoveringFace, onAttach, onClickCancel, onClickStart, onDetach, setAccessKey, setEnabled, setFocus, setHTML, setTabIndex, setText |
Methods inherited from class com.google.gwt.user.client.ui.FocusWidget |
---|
addBlurHandler, addClickHandler, addClickListener, addFocusHandler, addFocusListener, addKeyboardListener, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, getFocusImpl, isEnabled, removeClickListener, removeFocusListener, removeKeyboardListener, removeMouseWheelListener, setElement |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addDomHandler, addHandler, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Field Detail |
---|
public IController controller
Constructor Detail |
---|
public MouseControllerButton(com.google.gwt.user.client.ui.Image icon, String tooltip, IController controller)
Method Detail |
---|
public void addMouseListener(com.google.gwt.user.client.ui.MouseListener listener)
addMouseListener
in interface com.google.gwt.user.client.ui.SourcesMouseEvents
addMouseListener
in class com.google.gwt.user.client.ui.FocusWidget
public void removeMouseListener(com.google.gwt.user.client.ui.MouseListener listener)
removeMouseListener
in interface com.google.gwt.user.client.ui.SourcesMouseEvents
removeMouseListener
in class com.google.gwt.user.client.ui.FocusWidget
public void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent
in interface com.google.gwt.user.client.EventListener
onBrowserEvent
in class com.google.gwt.user.client.ui.CustomButton
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |