RapidContext
Access > Discovery > Insight
www.rapidcontext.com
Extends:
RapidContext.Widget
The pane widget class. Used to create the simplest form of element
container. It is also used inside various types of paged containers,
such as a TabContainer, a Wizard or similar. A pane only uses a
<div> HTML element, and supports being hidden and shown according to
any page transitions required by a parent container.
Source code:
RapidContext_Widget_Pane.js
RapidContext.Widget.Pane(attrs)
Creates a new pane widget.
|
<static> |
RapidContext.Widget.Pane.ANY
The default page status.
|
<static> |
RapidContext.Widget.Pane.BACKWARD
The backward-only page status.
|
<static> |
RapidContext.Widget.Pane.FORWARD
The forward-only page status.
|
<static> |
RapidContext.Widget.Pane.WORKING
The working page status.
|
[read-only] The current page
closeable flag value.
|
|
[read-only] The current page status.
|
|
[read-only] The current page title.
|
setAttrs(attrs)
Updates the widget or HTML DOM node attributes.
|
onclose()
Emitted when the pane is closed (removed) in a TabContainer.
|
|
onenter()
Emitted when the pane is shown for viewing in a container widget.
|
|
onexit()
Emitted when the pane is hidden from view in a container widget.
|
JavaScript:
var h1 = MochiKit.DOM.H1({}, "Hello, world!");
var helloPane = RapidContext.Widget.Pane({}, h1);
User Interface XML:
<Pane id="helloPane">
<h1>Hello, world!</h1>
</Pane>
Page