Returns the keyboard event handler for this container, lazily created the
first time this method is called. The keyboard event handler listens for
keyboard events on the container's key event target, as determined by its
renderer.
Returns Keyboard event handler for this container.

methodcreateDom:unit Js.meth

Creates the container's DOM. Overrides goog.ui.Component#createDom.

methodgetContentElement:Dom_html.elementJs.tJs.meth

Returns the DOM element into which child components are to be rendered,
or null if the container itself hasn't been rendered yet. Overrides
goog.ui.Component#getContentElement by delegating to the renderer.
Returns Element to contain child elements (null if none).

Handles mouse events originating from nodes belonging to the controls hosted
in the container. Locates the child control based on the DOM node that
dispatched the event, and forwards the event to the control for handling.

Attempts to handle a keyboard event, if the control is enabled, by calling
handleKeyEventInternal. Considered protected; should only be used
within this package and by subclasses.
Returns Whether the key event was handled.

Attempts to handle a keyboard event; returns true if the event was handled,
false otherwise. If the container is enabled, and a child is highlighted,
calls the child control's handleKeyEvent method to give the control
a chance to handle the event first.
Returns Whether the event was handled by the container (or one of
its children).

Adds the control as a child of this container at the given 0-based index.
Overrides goog.ui.Component#addChildAt by also updating the
container's highlight index. Since goog.ui.Component#addChild uses
addChildAt internally, we only need to override this method.

Removes a child control. Overrides goog.ui.Component#removeChild by
updating the highlight index. Since goog.ui.Component#removeChildAt
uses #removeChild internally, we only need to override this method.
Returns The removed control, if any.

Returns true if the container's visibility is set to visible, false if
it is set to hidden. A container that is set to hidden is guaranteed
to be hidden from the user, but the reverse isn't necessarily true.
A container may be set to visible but can otherwise be obscured by another
element, rendered off-screen, or hidden using direct CSS manipulation.
Returns Whether the container is set to be visible.

methodsetVisible:bool Js.t-> bool Js.tJs.opt-> bool Js.tJs.meth

Shows or hides the container. Does nothing if the container already has
the requested visibility. Otherwise, dispatches a SHOW or HIDE event as
appropriate, giving listeners a chance to prevent the visibility change.
Returns Whether the visibility was changed.

methodisEnabled:bool Js.tJs.meth

Returns true if the container is enabled, false otherwise.
Returns Whether the container is enabled.

methodsetEnabled:bool Js.t-> unit Js.meth

Enables/disables the container based on the enable argument.
Dispatches an ENABLED or DISABLED event prior to changing
the container's state, which may be caught and canceled to prevent the
container from changing state. Also enables/disables child controls.

methodisFocusable:bool Js.tJs.meth

Returns true if the container is focusable, false otherwise. The default
is true. Focusable containers always have a tab index and allocate a key
handler to handle keyboard events while focused.
Returns Whether the component is focusable.

methodsetFocusable:bool Js.t-> unit Js.meth

Sets whether the container is focusable. The default is true. Focusable
containers always have a tab index and allocate a key handler to handle
keyboard events while focused.

methodisFocusableChildrenAllowed:bool Js.tJs.meth

Returns true if the container allows children to be focusable, false
otherwise. Only effective if the container is not focusable.
Returns Whether children should be focusable.

methodsetFocusableChildrenAllowed:bool Js.t-> unit Js.meth

Sets whether the container allows children to be focusable, false
otherwise. Only effective if the container is not focusable.

methodgetHighlightedIndex:int Js.meth

Returns the index of the currently highlighted item (-1 if none).
Returns Index of the currently highlighted item.

methodsetHighlightedIndex:int -> unit Js.meth

Highlights the item at the given 0-based index (if any). If another item
was previously highlighted, it is un-highlighted.

Returns whether the given item can be highlighted.
Returns Whether the item can be highlighted.

methodsetHighlightedIndexFromKeyEvent:int -> unit Js.meth

Helper method that sets the highlighted index to the given index in
response to a keyboard event. The base class implementation simply calls
the setHighlightedIndex method, but subclasses can override this
behavior as needed.