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

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.AttachmentsDisplay
All Implemented Interfaces:
AttachmentsPresenter.Display, LinkBrowserPanelDisplay, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener

public class AttachmentsDisplay
extends com.google.gwt.user.client.ui.Composite
implements AttachmentsPresenter.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
AttachmentsDisplay(com.google.gwt.i18n.client.Dictionary dictionary)
           
 
Method Summary
 com.google.gwt.user.client.ui.Widget asWidget()
           
 HasAction getAliasField()
           
 DataTableSupport<LinkableAttachment> getDataTable()
           
 String getLinkAlias()
          Returns the current link text in the link text field.
 void setInitialFocus()
          Places focus on the link text field.
 void setLinkAlias(String alias)
          Sets the default text for the link in the link text 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

AttachmentsDisplay

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

getLinkAlias

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

Specified by:
getLinkAlias in interface LinkBrowserPanelDisplay

asWidget

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

setLinkAlias

public void setLinkAlias(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

setInitialFocus

public void setInitialFocus()
Description copied from interface: AttachmentsPresenter.Display
Places focus on the link text field.

Specified by:
setInitialFocus in interface AttachmentsPresenter.Display

getDataTable

public DataTableSupport<LinkableAttachment> getDataTable()
Specified by:
getDataTable in interface AttachmentsPresenter.Display
Returns:
the DataTableSupport for the display.

getAliasField

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


Copyright © 2003-2011 Atlassian. All Rights Reserved.