public class BorderLayoutPanel extends Widget<HTMLDivElement,BorderLayoutPanel>
Modifier and Type | Class and Description |
---|---|
static class |
BorderLayoutPanel.Position |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_EAST_SIZE |
static int |
DEFAULT_GAP |
static int |
DEFAULT_NORTH_SIZE |
static int |
DEFAULT_SOUTH_SIZE |
static int |
DEFAULT_WEST_SIZE |
contextMenu, contextMenuHandlerRegistration, currentHeight, currentWidth, enabled, NATIVE_CONTEXT_MENU_HANDLER
Constructor and Description |
---|
BorderLayoutPanel() |
BorderLayoutPanel(HTMLDivElement 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
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
public static int DEFAULT_NORTH_SIZE
public static int DEFAULT_SOUTH_SIZE
public static int DEFAULT_EAST_SIZE
public static int DEFAULT_WEST_SIZE
public static int DEFAULT_GAP
public BorderLayoutPanel()
public BorderLayoutPanel(HTMLDivElement element)
element
- public boolean isNorthGapVisible()
public BorderLayoutPanel setNorthGapVisible(boolean northGapVisible)
northGapVisible
- the northGapVisible to setpublic boolean isSouthGapVisible()
public BorderLayoutPanel setSouthGapVisible(boolean southGapVisible)
southGapVisible
- the southGapVisible to setpublic boolean isWestGapVisible()
public BorderLayoutPanel setWestGapVisible(boolean westGapVisible)
westGapVisible
- the westGapVisible to setpublic boolean isEastGapVisible()
public BorderLayoutPanel setEastGapVisible(boolean eastGapVisible)
eastGapVisible
- the eastGapVisible to setpublic void setCenterWidget(Widget<?,?> centerWidget)
centerPane
- public void setCenterWidget(Widget<?,?> centerWidget, BorderLayoutConfiguration centerConfiguration)
centerPane
- public void setEastWidget(Widget<?,?> eastWidget)
westPane
- public void setEastWidget(Widget<?,?> eastWidget, BorderLayoutConfiguration eastConfiguration)
eastPane
- public void setNorthWidget(Widget<?,?> northWidget)
northWidget
- the northResizeWidget to setpublic void setNorthWidget(Widget<?,?> northWidget, BorderLayoutConfiguration northConfiguration)
northPane
- public BorderLayoutPanel add(Widget<? extends Element<?>,?> widget)
add
in class Widget<HTMLDivElement,BorderLayoutPanel>
public int getNorthGap()
public BorderLayoutPanel setGap(int gap)
northGap
- the northGap to setpublic BorderLayoutPanel setNorthGap(int northGap)
northGap
- the northGap to setpublic int getSouthGap()
public BorderLayoutPanel setSouthGap(int southGap)
southGap
- the southGap to setpublic int getWestGap()
public BorderLayoutPanel setWestGap(int westGap)
westGap
- the westGap to setpublic int getEastGap()
public BorderLayoutPanel setEastGap(int eastGap)
eastGap
- the eastGap to setprotected BorderLayoutPanel superAdd(Widget<? extends Element<?>,?> widget)
public BorderLayoutPanel remove(Widget<?,?> widget)
remove
in class Widget<HTMLDivElement,BorderLayoutPanel>
public void setSouthWidget(Widget<?,?> southWidget)
southWidget
- the southResizeWidget to setpublic void setSouthWidget(Widget<?,?> southWidget, BorderLayoutConfiguration southConfiguration)
southPane
- public void setWestWidget(Widget<?,?> westWidget)
westPane
- public void setWestWidget(Widget<?,?> westWidget, BorderLayoutConfiguration westConfiguration)
westPane
- protected void doLayout()
public Widget<?,?> getWestWidget()
public BorderLayoutConfiguration getWestConfiguration()
public Widget<?,?> getEastWidget()
public BorderLayoutConfiguration getEastConfiguration()
public Widget<?,?> getNorthWidget()
public BorderLayoutConfiguration getNorthConfiguration()
public Widget<?,?> getSouthWidget()
public BorderLayoutConfiguration getSouthConfiguration()
public Widget<?,?> getCenterWidget()
public BorderLayoutConfiguration getCenterConfiguration()
Copyright © 2018 Xalys. All rights reserved.