blob: 172890f6c31b8afb7f3034c45bbdd373ae2671c2 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License,
Version 2.0 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<document id="buttons">
<properties>
<title>Buttons</title>
</properties>
<body>
<p>
Pivot supports the standard set of common button types including push buttons, radio
buttons, and checkboxes. A button resembling an HTML hyperlink is also supported.
</p>
<p><img src="platform_overview/buttons.png"/></p>
<p class="caption">Some Pivot buttons.</p>
<p>
Pivot also provides a number of additional button classes that expand on the
functionality offered by the basic button types:
</p>
<ul>
<li>
<p>
<tt>ListButton</tt> - Also known as "drop-downs", list buttons are similar to
an HTML <tt>&lt;select&gt;</tt> element. They are discussed in the
<a href="lists.html">Lists</a> section of the tutorial.
</p>
</li>
<li>
<p>
<tt>MenuButton</tt> - Menu buttons are similar to list buttons but provide
drop-down access to a popup menu rather than a list; they are discussed in the
<a href="menus.html">Menus</a> section.
</p>
</li>
<li>
<p>
<tt>CalendarButton</tt> - Provide drop-down access to a calendar component;
discussed in the <a href="calendars.html">Calendars</a> section.
</p>
</li>
<li>
<p>
<tt>ColorChooserButton</tt> - Provide drop-down access to a color chooser
component; discussed in the <a href="color-choosers.html">Color Choosers</a>
section.
</p>
</li>
</ul>
<p>
<tt>Menu.Item</tt> and <tt>MenuBar.Item</tt> are two additional Button subclasses. They
are used primarily by the menu components and are discussed in the
<a href="menus.html">Menus</a> section.
</p>
</body>
</document>