|
||||||||||
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.drools.guvnor.client.widgets.decoratedgrid.DecoratedGridSidebarWidget<T>
org.drools.guvnor.client.widgets.decoratedgrid.VerticalDecoratedGridSidebarWidget<T>
public class VerticalDecoratedGridSidebarWidget<T>
A sidebar for a VericalDecisionTable. This provides a vertical list of controls to add and remove the associated row from the DecisionTable.
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 |
---|
Fields inherited from class org.drools.guvnor.client.widgets.decoratedgrid.DecoratedGridSidebarWidget |
---|
grid, hasRows, resource, style |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
VerticalDecoratedGridSidebarWidget(DecoratedGridWidget<T> grid,
HasRows hasRows)
Construct a "Sidebar" for the provided DecisionTable |
Method Summary | |
---|---|
void |
deleteSelector(DynamicDataRow row)
Delete a Selector for the given row. |
void |
insertSelector(DynamicDataRow row)
Insert a Selector for the given row. |
void |
redraw()
Redraw the sidebar, this involves clearing any content before calling to addSelector for each row in the grid's data |
void |
resizeSidebar(int height)
Resize the sidebar. |
void |
setHeight(String height)
|
void |
setScrollPosition(int position)
Set scroll position to enable some degree of synchronisation between DecisionTable and DecisionTableSidebar |
Methods inherited from class com.google.gwt.user.client.ui.Composite |
---|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addAttachHandler, 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, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VerticalDecoratedGridSidebarWidget(DecoratedGridWidget<T> grid, HasRows hasRows)
decisionTable
- Method Detail |
---|
public void deleteSelector(DynamicDataRow row)
DecoratedGridSidebarWidget
deleteSelector
in class DecoratedGridSidebarWidget<T>
public void insertSelector(DynamicDataRow row)
DecoratedGridSidebarWidget
insertSelector
in class DecoratedGridSidebarWidget<T>
row
- The row for which the selector will be addedpublic void redraw()
DecoratedGridSidebarWidget
redraw
in class DecoratedGridSidebarWidget<T>
public void resizeSidebar(int height)
DecoratedGridSidebarWidget
resizeSidebar
in class DecoratedGridSidebarWidget<T>
public void setHeight(String height)
setHeight
in class com.google.gwt.user.client.ui.UIObject
public void setScrollPosition(int position)
DecoratedGridSidebarWidget
setScrollPosition
in class DecoratedGridSidebarWidget<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |