public abstract class ReportUIComponent
extends com.google.gwt.user.client.ui.Composite
ReportUIComponent class represent the generic Widget that can be placed in the UI Component| Modifier and Type | Field and Description |
|---|---|
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 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 |
|---|
ReportUIComponent()
default constructor
|
ReportUIComponent(ComponentType type,
int left,
int top,
int width,
int height)
final Presenter controller removde
|
| Modifier and Type | Method and Description |
|---|---|
ReportUIComponent |
get() |
int |
getLeft() |
com.google.gwt.user.client.ui.Widget |
getMyFakeTextArea() |
com.google.gwt.user.client.ui.VerticalPanel |
getResizablePanel() |
int |
getTop() |
com.google.gwt.user.client.ui.HorizontalPanel |
getTopPanel() |
ComponentType |
getType() |
void |
hideCloseButton()
remove the close control from the UI
|
abstract void |
lockComponent(ReportUIComponent toLock,
boolean locked)
to be implemented by the implementing classes
|
abstract void |
removeTemplateComponent(ReportUIComponent toRemove)
to be implemented by the implementing classes
|
void |
repositionMyPanel(int left,
int top) |
void |
resizePanel(int width,
int height)
used to resize the panel
|
void |
setHeight(int height) |
void |
setLeft(int left) |
void |
setLocked(boolean locked) |
void |
setMyFakeTextArea(com.google.gwt.user.client.ui.Widget myFakeTextArea) |
void |
setTop(int top) |
void |
setType(ComponentType type) |
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, 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, unsinkEventspublic 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
public ReportUIComponent()
public ReportUIComponent(ComponentType type, int left, int top, int width, int height)
controller - .left - lefttop - topwidth - .height - .public com.google.gwt.user.client.ui.VerticalPanel getResizablePanel()
public abstract void removeTemplateComponent(ReportUIComponent toRemove)
toRemove - the instance to remove from the working spacepublic abstract void lockComponent(ReportUIComponent toLock, boolean locked)
toLock - the instance to lockpublic ComponentType getType()
public void setType(ComponentType type)
public void setLocked(boolean locked)
locked - .public void hideCloseButton()
public void resizePanel(int width,
int height)
width - wheight - hpublic void setHeight(int height)
public void repositionMyPanel(int left,
int top)
left - .top - .public com.google.gwt.user.client.ui.Widget getMyFakeTextArea()
public void setMyFakeTextArea(com.google.gwt.user.client.ui.Widget myFakeTextArea)
public int getLeft()
public void setLeft(int left)
left - .public int getTop()
public void setTop(int top)
top - .public ReportUIComponent get()
public com.google.gwt.user.client.ui.HorizontalPanel getTopPanel()
Copyright © 2014. All Rights Reserved.