|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.gcube.portlets.d4sreporting.common.client.uicomponents.ReportUIComponent
public abstract class ReportUIComponent
ReportUIComponent class represent the generic Widget that can be placed in the UI Component
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Field Summary | |
|---|---|
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 |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
ReportUIComponent()
default constructor |
|
ReportUIComponent(ComponentType type,
int left,
int top,
int width,
int height)
final Presenter controller removde |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class com.google.gwt.user.client.ui.Composite |
|---|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, performDetachedInitialization, render, render, resolvePotentialElement, setWidget, wrapElement |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public ReportUIComponent()
public ReportUIComponent(ComponentType type,
int left,
int top,
int width,
int height)
controller - .left - lefttop - topwidth - .height - .| Method Detail |
|---|
public com.google.gwt.user.client.ui.VerticalPanel getResizablePanel()
public abstract void removeTemplateComponent(ReportUIComponent toRemove)
toRemove - the instance to remove from the working space
public 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||