|
||||||||||
| 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.google.gwt.user.client.ui.FocusWidget
com.google.gwt.user.client.ui.Anchor
org.overlord.sramp.ui.client.widgets.PlaceHyperlink
public class PlaceHyperlink
A hyperlink that can be easily created from a Place. Requires the IPlaceService
to be available.
| Nested Class Summary |
|---|
| 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 |
| Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasHorizontalAlignment |
|---|
com.google.gwt.user.client.ui.HasHorizontalAlignment.AutoHorizontalAlignmentConstant, com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant |
| Nested classes/interfaces inherited from interface com.google.gwt.i18n.client.HasDirection |
|---|
com.google.gwt.i18n.client.HasDirection.Direction |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.Anchor |
|---|
DEFAULT_DIRECTION_ESTIMATOR |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Fields inherited from interface com.google.gwt.user.client.ui.HasHorizontalAlignment |
|---|
ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_JUSTIFY, ALIGN_LEFT, ALIGN_LOCALE_END, ALIGN_LOCALE_START, ALIGN_RIGHT |
| Constructor Summary | |
|---|---|
PlaceHyperlink(String text)
Constructor. |
|
PlaceHyperlink(String text,
com.google.gwt.place.shared.Place place)
Constructor. |
|
| Method Summary | |
|---|---|
com.google.gwt.place.shared.Place |
getTargetPlace()
|
boolean |
isEnabled()
Returns true if this link is enabled. |
void |
onBrowserEvent(com.google.gwt.user.client.Event event)
|
void |
setEnabled(boolean enabled)
Call to enable or disable the link. |
void |
setTargetPlace(com.google.gwt.place.shared.Place place)
|
| Methods inherited from class com.google.gwt.user.client.ui.Anchor |
|---|
getDirection, getDirectionEstimator, getHorizontalAlignment, getHref, getHTML, getName, getTabIndex, getTarget, getText, getTextDirection, getWordWrap, setAccessKey, setDirection, setDirectionEstimator, setDirectionEstimator, setFocus, setHorizontalAlignment, setHref, setHTML, setHTML, setHTML, setName, setTabIndex, setTarget, setText, setText, setWordWrap, wrap |
| Methods inherited from class com.google.gwt.user.client.ui.FocusWidget |
|---|
addBlurHandler, addClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addFocusHandler, addFocusListener, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addKeyboardListener, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, getFocusImpl, onAttach, removeClickListener, removeFocusListener, removeKeyboardListener, removeMouseListener, removeMouseWheelListener |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onDetach, 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, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, 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 |
| Constructor Detail |
|---|
public PlaceHyperlink(String text)
text -
public PlaceHyperlink(String text,
com.google.gwt.place.shared.Place place)
text - place - | Method Detail |
|---|
public com.google.gwt.place.shared.Place getTargetPlace()
public void setTargetPlace(com.google.gwt.place.shared.Place place)
place - the place to setpublic void setEnabled(boolean enabled)
setEnabled in interface com.google.gwt.user.client.ui.HasEnabledsetEnabled in class com.google.gwt.user.client.ui.FocusWidgetenabled - public boolean isEnabled()
isEnabled in interface com.google.gwt.user.client.ui.HasEnabledisEnabled in class com.google.gwt.user.client.ui.FocusWidgetpublic void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent in interface com.google.gwt.user.client.EventListeneronBrowserEvent in class com.google.gwt.user.client.ui.WidgetHyperlink.onBrowserEvent(com.google.gwt.user.client.Event)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||