public class ReportTextArea
extends com.google.gwt.user.client.ui.Composite
ReportTextArea
class represent the generic Widget that can be placed in the UI ComponentModifier and Type | Field and Description |
---|---|
protected com.google.gwt.user.client.ui.Image |
commentImage |
int |
DELTA
the allowance when mouse cursor is on borders
|
protected int |
height
variables of the components
|
protected int |
left
variables of the components
|
protected com.google.gwt.user.client.ui.AbsolutePanel |
mainPanel |
protected ReportTextArea |
myInstance |
protected com.google.gwt.user.client.ui.VerticalPanel |
resizablePanel |
protected int |
top
variables of the components
|
protected com.google.gwt.user.client.ui.HorizontalPanel |
topPanel |
protected int |
width
variables of the components
|
Constructor and Description |
---|
ReportTextArea()
default constructor
|
ReportTextArea(String id,
org.gcube.portlets.d4sreporting.common.shared.ComponentType type,
Presenter presenter,
int left,
int top,
int width,
int height,
boolean hasComments,
boolean isRemovable) |
Modifier and Type | Method and Description |
---|---|
void |
addCommentView() |
Presenter |
getController() |
String |
getId() |
int |
getLeft() |
ReportTextArea |
getMyInstance() |
com.google.gwt.user.client.ui.VerticalPanel |
getResizablePanel() |
int |
getTop() |
org.gcube.portlets.d4sreporting.common.shared.ComponentType |
getType() |
void |
removeCommentView() |
void |
removeTemplateComponent() |
void |
repositionMyPanel(int left,
int top) |
void |
resizePanel(int width,
int height)
used to resize the panel
|
void |
setHeight(int height) |
void |
setId(String id) |
void |
setLeft(int left) |
void |
setMyInstance(ReportTextArea myInstance) |
void |
setTop(int top) |
void |
setType(org.gcube.portlets.d4sreporting.common.shared.ComponentType type) |
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 final int DELTA
protected int left
protected int top
protected int width
protected int height
protected com.google.gwt.user.client.ui.AbsolutePanel mainPanel
protected com.google.gwt.user.client.ui.HorizontalPanel topPanel
protected com.google.gwt.user.client.ui.VerticalPanel resizablePanel
protected com.google.gwt.user.client.ui.Image commentImage
protected ReportTextArea myInstance
public com.google.gwt.user.client.ui.VerticalPanel getResizablePanel()
public void removeTemplateComponent()
public org.gcube.portlets.d4sreporting.common.shared.ComponentType getType()
public void setType(org.gcube.portlets.d4sreporting.common.shared.ComponentType type)
type
- .public void resizePanel(int width, int height)
width
- wheight
- hpublic void setHeight(int height)
height
- gpublic void repositionMyPanel(int left, int top)
left
- .top
- .public int getLeft()
public void setLeft(int left)
left
- .public int getTop()
public void setTop(int top)
top
- .public Presenter getController()
public ReportTextArea getMyInstance()
public void setMyInstance(ReportTextArea myInstance)
myInstance
- .public void removeCommentView()
public void addCommentView()
public String getId()
public void setId(String id)
Copyright © 2014. All Rights Reserved.