org.drools.guvnor.client.common
Class FormStylePopup

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.Panel
              extended by com.google.gwt.user.client.ui.SimplePanel
                  extended by com.google.gwt.user.client.ui.PopupPanel
                      extended by org.drools.guvnor.client.common.Popup
                          extended by org.drools.guvnor.client.common.FormStylePopup
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.EventPreview, com.google.gwt.user.client.ui.AcceptsOneWidget, com.google.gwt.user.client.ui.HasAnimation, com.google.gwt.user.client.ui.HasOneWidget, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, com.google.gwt.user.client.ui.SourcesPopupEvents, Iterable<com.google.gwt.user.client.ui.Widget>
Direct Known Subclasses:
ActionInsertColumn, ActionSetColumn, AttributeSelectorPopup, CategoryEditor, CheckinPopup, CustomFormPopUp, GuidedDTColumnConfig, NewAssetWizard, NewPackageWizard, NewRepositoryDialog, NewSOAServiceWizard, NewSubPackageWizard, StatusChangePopup, StatusEditor, ValidationMessageWidget, WorkspaceEditor

public class FormStylePopup
extends Popup

This builds on the FormStyleLayout for providing common popup features in a columnar form layout, with a title and a large (ish) icon.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel
com.google.gwt.user.client.ui.PopupPanel.PositionCallback
 
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
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
FormStylePopup()
           
FormStylePopup(com.google.gwt.resources.client.ImageResource image, String title)
           
FormStylePopup(com.google.gwt.resources.client.ImageResource image, String title, Integer width)
           
 
Method Summary
 int addAttribute(String label, com.google.gwt.user.client.ui.Widget wid)
           
 int addRow(com.google.gwt.user.client.ui.Widget wid)
           
 void clear()
           
 com.google.gwt.user.client.ui.Widget getContent()
           
 void setAttributeVisibility(int row, boolean isVisible)
          Set the visibility of an Attribute
 
Methods inherited from class org.drools.guvnor.client.common.Popup
setAfterCloseEvent, setAfterShow, setPopupPosition, show
 
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel
addAutoHidePartner, addCloseHandler, addPopupListener, center, getContainerElement, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, hide, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onPreviewNativeEvent, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setHeight, setModal, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, setWidget, setWidth, showRelativeTo
 
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getWidget, iterator, remove, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Constructor Detail

FormStylePopup

public FormStylePopup(com.google.gwt.resources.client.ImageResource image,
                      String title)

FormStylePopup

public FormStylePopup()

FormStylePopup

public FormStylePopup(com.google.gwt.resources.client.ImageResource image,
                      String title,
                      Integer width)
Method Detail

getContent

public com.google.gwt.user.client.ui.Widget getContent()
Specified by:
getContent in class Popup

clear

public void clear()
Specified by:
clear in interface com.google.gwt.user.client.ui.HasWidgets
Overrides:
clear in class com.google.gwt.user.client.ui.Panel

addAttribute

public int addAttribute(String label,
                        com.google.gwt.user.client.ui.Widget wid)

addRow

public int addRow(com.google.gwt.user.client.ui.Widget wid)

setAttributeVisibility

public void setAttributeVisibility(int row,
                                   boolean isVisible)
Set the visibility of an Attribute

Parameters:
row -
isVisible -


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.