站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

FormStyleLayout (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.brms.client.common
Class FormStyleLayout

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.drools.brms.client.common.DirtyableComposite
                  extended by org.drools.brms.client.common.FormStyleLayout
All Implemented Interfaces:
com.google.gwt.user.client.EventListener, IDirtyable
Direct Known Subclasses:
MetaDataWidget, PackageEditor

public class FormStyleLayout
extends DirtyableComposite

This form style class is to be extended to provide "form style" dialogs (eg in a popup).

Author:
Michael Neale

Constructor Summary
FormStyleLayout()
          This has no header
FormStyleLayout(String 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(String image, String title)
          Adds a header at the top.
 void addRow(com.google.gwt.user.client.ui.Widget w)
          Adds a widget that takes up a whole row.
 void addWidget(com.google.gwt.user.client.ui.Widget editor)
           
 void clear()
          Clears the layout table.
 void setFlexTableWidget(int row, int col, com.google.gwt.user.client.ui.Widget widget)
           
 
Methods inherited from class org.drools.brms.client.common.DirtyableComposite
isDirty, makeDirty, resetDirty
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getElement, initWidget, onAttach, onDetach, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
getParent, isAttached, onBrowserEvent, onLoad, removeFromParent
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleName, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getTitle, isVisible, isVisible, removeStyleName, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FormStyleLayout

public FormStyleLayout(String image,
                       String title)
Create a new layout with a header and and icon.


FormStyleLayout

public FormStyleLayout()
This has no header

Method Detail

clear

public void clear()
Clears the layout table.


addAttribute

public void addAttribute(String lbl,
                         com.google.gwt.user.client.ui.Widget editor)
Add a widget to the "form".


addWidget

public void addWidget(com.google.gwt.user.client.ui.Widget editor)

addRow

public void addRow(com.google.gwt.user.client.ui.Widget w)
Adds a widget that takes up a whole row.


addHeader

protected void addHeader(String image,
                         String title)
Adds a header at the top.


setFlexTableWidget

public void setFlexTableWidget(int row,
                               int col,
                               com.google.gwt.user.client.ui.Widget widget)


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.