public class ShareUpdateForm
extends com.google.gwt.user.client.ui.Composite
Modifier and Type | Field and Description |
---|---|
static String |
attachedDefaultImageUrl |
static String |
attachImageUrl |
static String |
ATTACHMENT_LOADED |
static String |
ATTACHMENT_NOT_LOADED |
static String |
avatar_default |
static String |
DROP_FILE_HERE_TEXT |
protected static String |
ERROR_UPDATE_TEXT |
static String |
loadedAttachmentImageUrl |
static String |
loading |
static String |
NO_TEXT_FILE_SHARE |
static String |
notLoadedAttachmentImageUrl |
protected static String |
SHARE_UPDATE_TEXT |
Constructor and Description |
---|
ShareUpdateForm()
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
cancelLinkPreview()
Delete the only link previewer allowed.
|
static boolean |
checkDNDAvailability()
Check if DND could be enabled (i.e, it's supported by the browser)
|
protected void |
checkFile(String fileName,
String absolutePathOnServer)
called when the file was correctly uploaded on server
|
protected void |
checkLink(String textToCheck)
called when pasting a possible link
|
static ShareUpdateForm |
get()
Get this ShareUpdateForm object
|
void |
removeAttachedFile(AttachmentPreviewer attachmentPreviewer)
Remove an attached file from the listOfAttachedFiles
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
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, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
protected static final String SHARE_UPDATE_TEXT
protected static final String ERROR_UPDATE_TEXT
public static final String NO_TEXT_FILE_SHARE
public static final String DROP_FILE_HERE_TEXT
public static final String ATTACHMENT_LOADED
public static final String ATTACHMENT_NOT_LOADED
public static final String loading
public static final String avatar_default
public static final String attachImageUrl
public static final String attachedDefaultImageUrl
public static final String loadedAttachmentImageUrl
public static final String notLoadedAttachmentImageUrl
public static ShareUpdateForm get()
protected void checkLink(String textToCheck)
linkToCheck
- protected void checkFile(String fileName, String absolutePathOnServer)
fileNameLabel
- the name of the fileabsolutePathOnServer
- the path of the file ending with its name on the server tempprotected void cancelLinkPreview()
public static boolean checkDNDAvailability()
public void removeAttachedFile(AttachmentPreviewer attachmentPreviewer)
attachmentPreviewer
- Copyright © 2016. All Rights Reserved.