@JsType(namespace="xgl") public class FormPanel extends Widget<HTMLFormElement,FormPanel> implements HasContentResizeHandlers<FormPanel>, FocusStop
Modifier and Type | Class and Description |
---|---|
class |
FormPanel.FormPanelBody |
contextMenu, contextMenuHandlerRegistration, currentHeight, currentWidth, enabled, NATIVE_CONTEXT_MENU_HANDLER
Constructor and Description |
---|
FormPanel() |
FormPanel(HTMLFormElement element) |
addActionHandler, addClassName, addDoubleActionHandler, addDoubleTapHandler, addDropTarget, addEventHandler, addEventHandler, addResizeHandler, addStyleName, addTapHandler, addTouchHoldHandler, canDropTargetAccept, cast, clear, clearBackgroundColor, clearDropTargets, clearTextColor, ensureHandlers, fireEvent, fireEvent, fireResizeEvent, getAbsoluteLeft, getAbsoluteTop, getAncestor, getChildren, getChildrenCount, getComputedStyle, getContextMenu, getContextMenuHandler, getDeepestWidget, getDragSource, getDropTargetList, getElement, getFirstChild, getId, getLastChild, getNextSibling, getNextSibling, getOffsetHeight, getOffsetWidth, getParent, getScrollLeft, getScrollTop, getStyle, hasClassName, hasFocus, insert, isAttached, isDropTarget, isEnabled, isInEventThread, onAttach, onDetach, removeClassName, removeDropTarget, removeStyleName, setBackgroundColor, setClassName, setContextMenu, setDragSource, setDropTarget, setEnabled, setHeight, setHeight, setHeight, setId, setLeft, setLeftAndTop, setMaxHeight, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setMinWidth, setParent, setPixelSize, setScrollLeft, setScrollTop, setSize, setTextAlign, setTextColor, setTop, setWidth, setWidth, setWidth
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addEventHandler, addEventHandler
cancelMeasure, cancelMutation, measureAsSoonAsPossible, mutateAsSoonAsPossible, mutateAsSoonAsPossible, scheduleMeasure, scheduleMutation
addAttachHandler
addDetachHandler
addTransitionEndHandler, addTransitionEndHandler
addMouseDownHandler, addMouseDownHandler
addMouseMoveHandler, addMouseMoveHandler
addMouseOutHandler, addMouseOutHandler
addMouseOverHandler, addMouseOverHandler
addMouseUpHandler, addMouseUpHandler
addWheelHandler, addWheelHandler
addClickHandler, addClickHandler
addDoubleClickHandler, addDoubleClickHandler
addContextMenuHandler, addContextMenuHandler
addTouchStartHandler, addTouchStartHandler
addTouchMoveHandler, addTouchMoveHandler
addTouchForceChangeHandler, addTouchForceChangeHandler
addTouchEndHandler, addTouchEndHandler
addTouchCancelHandler, addTouchCancelHandler
addTouchHoldHandler
addTapHandler
addDoubleTapHandler
addKeyDownHandler, addKeyDownHandler
addKeyUpHandler, addKeyUpHandler
addKeyPressHandler, addKeyPressHandler
addScrollHandler, addScrollHandler
addAnimationStartHandler, addAnimationStartHandler
addAnimationIterationHandler, addAnimationIterationHandler
addAnimationEndHandler, addAnimationEndHandler
addActionHandler
addDoubleActionHandler
@JsIgnore public FormPanel()
public FormPanel(@JsOptional HTMLFormElement element)
element
- public FormPanel add(Widget<? extends Element<?>,?> widget)
add
in class Widget<HTMLFormElement,FormPanel>
public FormPanel remove(Widget<? extends Element<?>,?> widget)
remove
in class Widget<HTMLFormElement,FormPanel>
public FormPanel addButton(TextButton button)
public Column getColumn(TextButton button)
public FormPanel removeButton(TextButton button)
public FormPanel.FormPanelBody getBody()
@JsIgnore public HandlerRegistration addContentResizeHandler(ContentResizeHandler<FormPanel> contentResizeHandler)
addContentResizeHandler
in interface HasContentResizeHandlers<FormPanel>
public HandlerRegistration addButtonsRowResizeHandler(ResizeHandler<FormPanel> rowResizeHandler)
@WillMutate @JsIgnore public FormPanel setScrollHeight(Calc height)
height
- @WillMutate @JsIgnore public FormPanel setScrollHeight(double height)
height
- @WillMutate @JsIgnore public FormPanel setScrollHeight(double height, Unit unit)
height
- unit
- @WillMutate @JsIgnore public FormPanel setMinScrollHeight(Calc minHeight)
minHeight
- @WillMutate @JsIgnore public FormPanel setMinScrollHeight(double minHeight)
minHeight
- @WillMutate @JsIgnore public FormPanel setMinScrollHeight(double minHeight, Unit unit)
minHeight
- unit
- @WillMutate @JsIgnore public FormPanel setMaxScrollHeight(Calc maxHeight)
maxHeight
- @WillMutate @JsIgnore public FormPanel setMaxScrollHeight(double maxHeight)
maxHeight
- @WillMutate @JsIgnore public FormPanel setMaxScrollHeight(double maxHeight, Unit unit)
maxHeight
- unit
- @WillMeasure public double getContentWidth()
@WillMeasure public double getContentHeight()
@WillMeasure public double getButtonsRowWidth()
@WillMeasure public double getButtonsRowHeight()
Copyright © 2018 Xalys. All rights reserved.