public class ClientImage
extends com.google.gwt.user.client.ui.Composite
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_HEIGHT |
static int |
DEFAULT_WIDTH |
Constructor and Description |
---|
ClientImage(org.gcube.portlets.d4sreporting.common.shared.BasicComponent co,
Presenter presenter,
int width,
int height,
boolean isRemovable,
TextTableImage owner) |
Modifier and Type | Method and Description |
---|---|
void |
add(com.google.gwt.user.client.ui.Widget w) |
void |
dropImage(String url,
String id,
int width,
int height) |
void |
fetchImage(String identifier,
boolean isInteralImage,
boolean fullDetails) |
org.gcube.portlets.d4sreporting.common.shared.BasicComponent |
getBasicComponent() |
com.google.gwt.user.client.ui.Image |
getDroppedImage() |
String |
getExpectedContent() |
String |
getIdInBasket() |
int |
getImageHeight() |
int |
getImageWidth() |
List<org.gcube.portlets.d4sreporting.common.shared.Metadata> |
getMetadata() |
void |
resetImage() |
void |
setExpectedContent(String expectedContent) |
void |
setIdInBasket(String idInBasket) |
void |
showImage(com.google.gwt.user.client.ui.Image toShow)
called by the constructor
|
void |
showImage(com.google.gwt.user.client.ui.Image toShow,
int width,
int height)
called by the select image ws light tree
|
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
public static final int DEFAULT_HEIGHT
public static final int DEFAULT_WIDTH
public ClientImage(org.gcube.portlets.d4sreporting.common.shared.BasicComponent co, Presenter presenter, int width, int height, boolean isRemovable, TextTableImage owner)
presenter
- width
- tag
- public void resetImage()
public void add(com.google.gwt.user.client.ui.Widget w)
public void showImage(com.google.gwt.user.client.ui.Image toShow, int width, int height)
toShow
- the image to showpublic void showImage(com.google.gwt.user.client.ui.Image toShow)
toShow
- the image to showpublic List<org.gcube.portlets.d4sreporting.common.shared.Metadata> getMetadata()
public void dropImage(String url, String id, int width, int height)
url
- .id
- the id in the folderpublic void fetchImage(String identifier, boolean isInteralImage, boolean fullDetails)
public com.google.gwt.user.client.ui.Image getDroppedImage()
public String getIdInBasket()
public int getImageWidth()
public int getImageHeight()
public void setIdInBasket(String idInBasket)
idInBasket
- .public String getExpectedContent()
public org.gcube.portlets.d4sreporting.common.shared.BasicComponent getBasicComponent()
public void setExpectedContent(String expectedContent)
expectedContent
- .Copyright © 2014. All Rights Reserved.