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

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


org.drools.brms.client.ruleeditor
Class MetaDataWidget

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
                      extended by org.drools.brms.client.ruleeditor.MetaDataWidget
All Implemented Interfaces:
com.google.gwt.user.client.EventListener, IDirtyable

public class MetaDataWidget
extends FormStyleLayout

This displays the metadata for a versionable asset. It also captures edits, but it does not load or save anything itself.

Author:
Michael Neale

Constructor Summary
MetaDataWidget(MetaData d, boolean readOnly, String uuid, com.google.gwt.user.client.Command refreshView)
           
 
Method Summary
 MetaData getData()
          Return the data if it is to be saved.
 boolean isDirty()
           
 
Methods inherited from class org.drools.brms.client.common.FormStyleLayout
addAttribute, addHeader, addRow, addWidget, clear, setFlexTableWidget
 
Methods inherited from class org.drools.brms.client.common.DirtyableComposite
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

MetaDataWidget

public MetaDataWidget(MetaData d,
                      boolean readOnly,
                      String uuid,
                      com.google.gwt.user.client.Command refreshView)
Method Detail

getData

public MetaData getData()
Return the data if it is to be saved.


isDirty

public boolean isDirty()
Specified by:
isDirty in interface IDirtyable
Overrides:
isDirty in class DirtyableComposite


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