com.atlassian.confluence.plugins.linkbrowser.client.display
Class SearchLinkDisplay

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by com.atlassian.confluence.plugins.linkbrowser.client.display.SearchLinkDisplay
All Implemented Interfaces:
LinkBrowserPanelDisplay, SearchLinkPresenter.Display, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener

public class SearchLinkDisplay
extends com.google.gwt.user.client.ui.Composite
implements SearchLinkPresenter.Display


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
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
SearchLinkDisplay(com.google.gwt.i18n.client.Dictionary dictionary)
           
 
Method Summary
 com.google.gwt.user.client.ui.Widget asWidget()
           
 void focusAndSelectAlias()
           
 HasAction getAliasField()
           
 DataTableSupport<LinkableObject> getDataTable()
           
 java.lang.String getLinkAlias()
          Returns the current link text in the link text field.
 java.lang.String getLinkDestination()
          Returns the current link destination text in the destination field.
 QuickSearchSupport getQuickSearch()
          Returns the quick search input field, which has QuickSearchSupport.
 com.google.gwt.event.dom.client.HasKeyUpHandlers getQuickSearchInput()
          Returns the quick search input field.
 com.google.gwt.event.dom.client.HasKeyDownHandlers getQuickSearchInputForKeyDown()
          Returns the quick search input field.
 com.google.gwt.user.client.ui.HasValue getQuickSearchTextField()
          Returns the quick search input field.
 com.google.gwt.event.dom.client.HasClickHandlers getSearchButton()
           
 LinkableObject getSearchResult(int selected)
           
 java.lang.String getSpaceSearch()
          Returns the currently selected space to search.
 com.google.gwt.event.dom.client.HasChangeHandlers getSpaceSelect()
           
 void setBreadcrumbs(LinkableObject object)
           
 void setBreadcrumbs(LinkInfo info)
           
 void setInitialFocus()
           
 void setLinkAlias(java.lang.String alias)
          Sets the default text for the link in the link text field.
 void setSearchText(java.lang.String text)
          Sets the search text in the search field.
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addDomHandler, addHandler, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, 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, 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
 

Constructor Detail

SearchLinkDisplay

public SearchLinkDisplay(com.google.gwt.i18n.client.Dictionary dictionary)
Method Detail

asWidget

public com.google.gwt.user.client.ui.Widget asWidget()
Specified by:
asWidget in interface LinkBrowserPanelDisplay
Returns:
the display as a widget

getLinkDestination

public java.lang.String getLinkDestination()
Description copied from interface: SearchLinkPresenter.Display
Returns the current link destination text in the destination field.

Specified by:
getLinkDestination in interface SearchLinkPresenter.Display

getAliasField

public HasAction getAliasField()
Specified by:
getAliasField in interface LinkBrowserPanelDisplay
Returns:
the alias field

getLinkAlias

public java.lang.String getLinkAlias()
Description copied from interface: LinkBrowserPanelDisplay
Returns the current link text in the link text field.

Specified by:
getLinkAlias in interface LinkBrowserPanelDisplay

setLinkAlias

public void setLinkAlias(java.lang.String alias)
Description copied from interface: LinkBrowserPanelDisplay
Sets the default text for the link in the link text field.

Specified by:
setLinkAlias in interface LinkBrowserPanelDisplay

setBreadcrumbs

public void setBreadcrumbs(LinkInfo info)
Specified by:
setBreadcrumbs in interface SearchLinkPresenter.Display

setBreadcrumbs

public void setBreadcrumbs(LinkableObject object)
Specified by:
setBreadcrumbs in interface SearchLinkPresenter.Display

setSearchText

public void setSearchText(java.lang.String text)
Description copied from interface: SearchLinkPresenter.Display
Sets the search text in the search field.

Specified by:
setSearchText in interface SearchLinkPresenter.Display

getSpaceSearch

public java.lang.String getSpaceSearch()
Description copied from interface: SearchLinkPresenter.Display
Returns the currently selected space to search.

Specified by:
getSpaceSearch in interface SearchLinkPresenter.Display

getSpaceSelect

public com.google.gwt.event.dom.client.HasChangeHandlers getSpaceSelect()
Specified by:
getSpaceSelect in interface SearchLinkPresenter.Display
Returns:
the space select box which has change handlers

getQuickSearch

public QuickSearchSupport getQuickSearch()
Description copied from interface: SearchLinkPresenter.Display
Returns the quick search input field, which has QuickSearchSupport.

Specified by:
getQuickSearch in interface SearchLinkPresenter.Display

getQuickSearchInput

public com.google.gwt.event.dom.client.HasKeyUpHandlers getQuickSearchInput()
Description copied from interface: SearchLinkPresenter.Display
Returns the quick search input field.

Specified by:
getQuickSearchInput in interface SearchLinkPresenter.Display

getQuickSearchInputForKeyDown

public com.google.gwt.event.dom.client.HasKeyDownHandlers getQuickSearchInputForKeyDown()
Description copied from interface: SearchLinkPresenter.Display
Returns the quick search input field.

Specified by:
getQuickSearchInputForKeyDown in interface SearchLinkPresenter.Display

getSearchButton

public com.google.gwt.event.dom.client.HasClickHandlers getSearchButton()
Specified by:
getSearchButton in interface SearchLinkPresenter.Display
Returns:
the search button which has click handlers

getQuickSearchTextField

public com.google.gwt.user.client.ui.HasValue getQuickSearchTextField()
Description copied from interface: SearchLinkPresenter.Display
Returns the quick search input field.

Specified by:
getQuickSearchTextField in interface SearchLinkPresenter.Display

getSearchResult

public LinkableObject getSearchResult(int selected)
Specified by:
getSearchResult in interface SearchLinkPresenter.Display

getDataTable

public DataTableSupport<LinkableObject> getDataTable()
Specified by:
getDataTable in interface SearchLinkPresenter.Display

setInitialFocus

public void setInitialFocus()
Specified by:
setInitialFocus in interface SearchLinkPresenter.Display

focusAndSelectAlias

public void focusAndSelectAlias()
Specified by:
focusAndSelectAlias in interface SearchLinkPresenter.Display


Copyright © 2003-2010 Atlassian. All Rights Reserved.