|
||||||||||
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.common.FormStyleLayout
public class FormStyleLayout
This form style class is to be extended to provide "form style" dialogs (eg in a popup).
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 com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
FormStyleLayout()
This has no header |
|
FormStyleLayout(com.google.gwt.resources.client.ImageResource image,
String title)
Create a new layout with a header and and icon. |
Method Summary | |
---|---|
void |
addAttribute(String lbl,
com.google.gwt.user.client.ui.Widget editor)
Add a widget to the "form". |
protected void |
addHeader(com.google.gwt.resources.client.ImageResource image,
String title)
Adds a header at the top. |
protected void |
addHeader(com.google.gwt.resources.client.ImageResource image,
String title,
com.google.gwt.user.client.ui.Widget titleIcon)
|
void |
addRow(com.google.gwt.user.client.ui.Widget w)
Adds a widget that takes up a whole row. |
void |
clear()
Clears the layout table. |
int |
getNumAttributes()
|
void |
setFlexTableWidget(int row,
int col,
com.google.gwt.user.client.ui.Widget widget)
|
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, setHeight, 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 FormStyleLayout(com.google.gwt.resources.client.ImageResource image, String title)
public FormStyleLayout()
Method Detail |
---|
public void clear()
public void addAttribute(String lbl, com.google.gwt.user.client.ui.Widget editor)
public void addRow(com.google.gwt.user.client.ui.Widget w)
protected void addHeader(com.google.gwt.resources.client.ImageResource image, String title)
protected void addHeader(com.google.gwt.resources.client.ImageResource image, String title, com.google.gwt.user.client.ui.Widget titleIcon)
public void setFlexTableWidget(int row, int col, com.google.gwt.user.client.ui.Widget widget)
public int getNumAttributes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |