[Expand]
Inherited Methods |
From class
com.google.gwt.user.client.ui.LayoutPanel
void
|
add(Widget widget)
Adds a widget to this panel.
|
void
|
animate(int duration)
Layout children, animating over the specified period of time.
|
void
|
animate(int duration, Layout.AnimationCallback callback)
Layout children, animating over the specified period of time.
|
void
|
forceLayout()
Layout children immediately.
|
Element
|
getWidgetContainerElement(Widget child)
Gets the container element wrapping the given child widget.
|
void
|
insert(Widget widget, int beforeIndex)
Inserts a widget before the specified index.
|
void
|
onLoad()
This method is called immediately after a widget becomes attached to the
browser's document.
|
void
|
onResize()
This method must be called whenever the implementor's size has been
modified.
|
void
|
onUnload()
This method is called immediately before a widget will be detached from the
browser's document.
|
boolean
|
remove(Widget w)
Removes a child widget.
|
void
|
setWidgetBottomHeight(Widget child, double bottom, Style.Unit bottomUnit, double height, Style.Unit heightUnit)
Sets the child widget's bottom and height values.
|
void
|
setWidgetHorizontalPosition(Widget child, Layout.Alignment position)
Sets the child widget's horizontal position within its layer.
|
void
|
setWidgetLeftRight(Widget child, double left, Style.Unit leftUnit, double right, Style.Unit rightUnit)
Sets the child widget's left and right values.
|
void
|
setWidgetLeftWidth(Widget child, double left, Style.Unit leftUnit, double width, Style.Unit widthUnit)
Sets the child widget's left and width values.
|
void
|
setWidgetRightWidth(Widget child, double right, Style.Unit rightUnit, double width, Style.Unit widthUnit)
Sets the child widget's right and width values.
|
void
|
setWidgetTopBottom(Widget child, double top, Style.Unit topUnit, double bottom, Style.Unit bottomUnit)
Sets the child widget's top and bottom values.
|
void
|
setWidgetTopHeight(Widget child, double top, Style.Unit topUnit, double height, Style.Unit heightUnit)
Sets the child widget's top and height values.
|
void
|
setWidgetVerticalPosition(Widget child, Layout.Alignment position)
Sets the child widget's vertical position within its layer.
|
void
|
setWidgetVisible(Widget child, boolean visible)
Shows or hides the given widget and its layer.
|
|
From class
com.google.gwt.user.client.ui.ComplexPanel
void
|
add(Widget child, Element container)
Adds a new child widget to the panel, attaching its Element to the
specified container Element.
|
int
|
adjustIndex(Widget child, int beforeIndex)
Adjusts beforeIndex to account for the possibility that the given widget is
already a child of this panel.
|
void
|
checkIndexBoundsForAccess(int index)
Checks that index is in the range [0, getWidgetCount()), which
is the valid range on accessible indexes.
|
void
|
checkIndexBoundsForInsertion(int index)
Checks that index is in the range [0, getWidgetCount()], which
is the valid range for indexes on an insertion.
|
WidgetCollection
|
getChildren()
Gets the list of children contained in this panel.
|
Widget
|
getWidget(int index)
Gets the child widget at the specified index.
|
int
|
getWidgetCount()
Gets the number of child widgets in this panel.
|
int
|
getWidgetIndex(Widget child)
Gets the index of the specified child widget.
|
int
|
getWidgetIndex(IsWidget child)
|
void
|
insert(Widget child, Element container, int beforeIndex, boolean domInsert)
Insert a new child Widget into this Panel at a specified index, attaching
its Element to the specified container Element.
|
void
|
insert(Widget child, Element container, int beforeIndex)
|
Iterator<Widget>
|
iterator()
|
boolean
|
remove(Widget w)
Removes a child widget.
|
boolean
|
remove(int index)
Removes the widget at the specified index.
|
|
From class
com.google.gwt.user.client.ui.Panel
void
|
add(IsWidget child)
|
void
|
add(Widget child)
Adds a child widget.
|
final
void
|
adopt(Widget child)
Finalize the attachment of a Widget to this Panel.
|
void
|
adopt(Widget w, Element container)
|
void
|
clear()
Removes all child widgets.
|
void
|
disown(Widget w)
|
void
|
doAttachChildren()
If a widget contains one or more child widgets that are not in the logical
widget hierarchy (the child is physically connected only on the DOM level),
it must override this method and call onAttach() for each of its
child widgets.
|
void
|
doDetachChildren()
If a widget contains one or more child widgets that are not in the logical
widget hierarchy (the child is physically connected only on the DOM level),
it must override this method and call onDetach() for each of its
child widgets.
|
final
void
|
orphan(Widget child)
This method must be called as part of the remove method of any Panel.
|
abstract
boolean
|
remove(Widget child)
Removes a child widget.
|
boolean
|
remove(IsWidget child)
|
|
From class
com.google.gwt.user.client.ui.Widget
|
From class
com.google.gwt.user.client.ui.UIObject
void
|
addStyleDependentName(String styleSuffix)
Adds a dependent style name by specifying the style name's suffix.
|
void
|
addStyleName(String style)
Adds a secondary or dependent style name to this object.
|
static
void
|
ensureDebugId(Element elem, String baseID, String id)
Set the debug id of a specific element.
|
final
void
|
ensureDebugId(String id)
Ensure that the main Element for this UIObject has an ID
property set, which allows it to integrate with third-party libraries and
test tools.
|
static
void
|
ensureDebugId(Element elem, String id)
Ensure that elem has an ID property set, which allows it to integrate with
third-party libraries and test tools.
|
int
|
getAbsoluteLeft()
Gets the object's absolute left position in pixels, as measured from the
browser window's client area.
|
int
|
getAbsoluteTop()
Gets the object's absolute top position in pixels, as measured from the
browser window's client area.
|
Element
|
getElement()
Gets a handle to the object's underlying DOM element.
|
int
|
getOffsetHeight()
Gets the object's offset height in pixels.
|
int
|
getOffsetWidth()
Gets the object's offset width in pixels.
|
Element
|
getStyleElement()
Template method that returns the element to which style names will be
applied.
|
String
|
getStyleName()
Gets all of the object's style names, as a space-separated list.
|
static
String
|
getStyleName(Element elem)
Gets all of the element's style names, as a space-separated list.
|
String
|
getStylePrimaryName()
Gets the primary style name associated with the object.
|
static
String
|
getStylePrimaryName(Element elem)
Gets the element's primary style name.
|
String
|
getTitle()
Gets the title associated with this object.
|
boolean
|
isVisible()
Determines whether or not this object is visible.
|
static
boolean
|
isVisible(Element elem)
|
void
|
onEnsureDebugId(String baseID)
|
void
|
removeStyleDependentName(String styleSuffix)
Removes a dependent style name by specifying the style name's suffix.
|
void
|
removeStyleName(String style)
Removes a style name.
|
final
void
|
setElement(Element elem)
Sets this object's browser element.
|
void
|
setElement(Element elem)
Sets this object's browser element.
|
void
|
setHeight(String height)
Sets the object's height.
|
void
|
setPixelSize(int width, int height)
Sets the object's size, in pixels, not including decorations such as
border, margin, and padding.
|
void
|
setSize(String width, String height)
Sets the object's size.
|
void
|
setStyleDependentName(String styleSuffix, boolean add)
Adds or removes a dependent style name by specifying the style name's
suffix.
|
static
void
|
setStyleName(Element elem, String styleName)
Clears all of the element's style names and sets it to the given style.
|
static
void
|
setStyleName(Element elem, String style, boolean add)
This convenience method adds or removes a style name for a given element.
|
void
|
setStyleName(String style)
Clears all of the object's style names and sets it to the given style.
|
void
|
setStyleName(String style, boolean add)
Adds or removes a style name.
|
void
|
setStylePrimaryName(String style)
Sets the object's primary style name and updates all dependent style names.
|
static
void
|
setStylePrimaryName(Element elem, String style)
Sets the element's primary style name and updates all dependent style
names.
|
void
|
setTitle(String title)
Sets the title associated with this object.
|
void
|
setVisible(boolean visible)
Sets whether this object is visible.
|
static
void
|
setVisible(Element elem, boolean visible)
|
void
|
setWidth(String width)
Sets the object's width.
|
void
|
sinkEvents(int eventBitsToAdd)
Adds a set of events to be sunk by this object.
|
String
|
toString()
This method is overridden so that any object can be viewed in the debugger
as an HTML snippet.
|
void
|
unsinkEvents(int eventBitsToRemove)
Removes a set of events from this object's event list.
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
com.google.gwt.event.logical.shared.HasAttachHandlers
|
From interface
com.google.gwt.event.shared.HasHandlers
abstract
void
|
fireEvent(GwtEvent<?> event)
Fires the given event to the handlers listening to the event's type.
|
|
From interface
com.google.gwt.user.client.EventListener
|
From interface
com.google.gwt.user.client.ui.AnimatedLayout
abstract
void
|
animate(int duration)
Layout children, animating over the specified period of time.
|
abstract
void
|
animate(int duration, Layout.AnimationCallback callback)
Layout children, animating over the specified period of time.
|
abstract
void
|
forceLayout()
Layout children immediately.
|
|
From interface
com.google.gwt.user.client.ui.HasWidgets
|
From interface
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
|
From interface
com.google.gwt.user.client.ui.IndexedPanel
abstract
Widget
|
getWidget(int index)
Gets the child widget at the specified index.
|
abstract
int
|
getWidgetCount()
Gets the number of child widgets in this panel.
|
abstract
int
|
getWidgetIndex(Widget child)
Gets the index of the specified child widget.
|
abstract
boolean
|
remove(int index)
Removes the widget at the specified index.
|
|
From interface
com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
|
From interface
com.google.gwt.user.client.ui.IsWidget
|
From interface
com.google.gwt.user.client.ui.RequiresResize
abstract
void
|
onResize()
This method must be called whenever the implementor's size has been
modified.
|
|
From interface
java.lang.Iterable
|