public class ShareUpdateForm
extends com.google.gwt.user.client.ui.Composite
Modifier and Type | Field and Description |
---|---|
static String |
attach |
static String |
avatar_default |
protected static String |
ERROR_UPDATE_TEXT |
static String |
loading |
static String |
NO_TEXT_FILE_SHARE |
protected static String |
SHARE_UPDATE_TEXT |
Constructor and Description |
---|
ShareUpdateForm() |
Modifier and Type | Method and Description |
---|---|
protected void |
cancelPreview() |
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 void |
fileBrowse(com.google.gwt.user.client.Element el)
this simulates the click on the hidden native GWT FileUpload Button
|
static ShareUpdateForm |
get() |
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
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, unsinkEvents
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 loading
public static final String avatar_default
public static final String attach
public static ShareUpdateForm get()
public static void fileBrowse(com.google.gwt.user.client.Element el)
el
- protected void checkLink(String textToCheck)
linkToCheck
- protected void checkFile(String fileName, String absolutePathOnServer)
fileName
- the name of the fileabsolutePathOnServer
- the path of the file ending with its name on the server tempprotected void cancelPreview()
Copyright © 2015. All Rights Reserved.