| Package Name | Comment |
| org.apache.pivot.beans |
Contains classes that provide access to the Java bean properties of an object via a dictionary interface.
|
| org.apache.pivot.charts |
Contains a collection of components for use in charting applications.
|
| org.apache.pivot.charts.content |
Contains classes representing chart data.
|
| org.apache.pivot.charts.skin |
Contains abstract base classes for chart view skins.
|
| org.apache.pivot.collections |
Defines a set of classes and interfaces that serve as generic collections as well as the data model for UI components.
|
| org.apache.pivot.collections.adapter |
Provides a set of collection implementations that are backed by
java.util collections.
|
| org.apache.pivot.collections.concurrent |
Contains a set of thread-safe collection implementations.
|
| org.apache.pivot.collections.immutable |
Contains a set of read-only collection implementations.
|
| org.apache.pivot.collections.test | |
| org.apache.pivot.demos.clock | |
| org.apache.pivot.demos.decorator | |
| org.apache.pivot.demos.dnd | |
| org.apache.pivot.demos.dom | |
| org.apache.pivot.demos.itunes | |
| org.apache.pivot.demos.lists | |
| org.apache.pivot.demos.million | |
| org.apache.pivot.demos.roweditor | |
| org.apache.pivot.demos.rss | |
| org.apache.pivot.demos.tables | |
| org.apache.pivot.io |
Contains classes related to input/output operations.
|
| org.apache.pivot.serialization |
Contains a set of classes for use in data serialization.
|
| org.apache.pivot.serialization.test | |
| org.apache.pivot.tests | |
| org.apache.pivot.tests.text | |
| org.apache.pivot.text |
Contains classes for working with text.
|
| org.apache.pivot.tools.json |
Contains utilities dealing with JSON data.
|
| org.apache.pivot.tools.wtk |
Contains components useful to building utility applications.
|
| org.apache.pivot.tools.xml |
Contains utilities dealing with XML data.
|
| org.apache.pivot.tutorials | |
| org.apache.pivot.tutorials.backgroundtasks | |
| org.apache.pivot.tutorials.boundedrange | |
| org.apache.pivot.tutorials.buttons | |
| org.apache.pivot.tutorials.calendars | |
| org.apache.pivot.tutorials.databinding | |
| org.apache.pivot.tutorials.drawing | |
| org.apache.pivot.tutorials.effects | |
| org.apache.pivot.tutorials.explorer | |
| org.apache.pivot.tutorials.explorer.navigation | |
| org.apache.pivot.tutorials.filebrowsing | |
| org.apache.pivot.tutorials.labels | |
| org.apache.pivot.tutorials.layout | |
| org.apache.pivot.tutorials.lists | |
| org.apache.pivot.tutorials.localization | |
| org.apache.pivot.tutorials.menus | |
| org.apache.pivot.tutorials.navigation | |
| org.apache.pivot.tutorials.progress | |
| org.apache.pivot.tutorials.scripting | |
| org.apache.pivot.tutorials.stocktracker | |
| org.apache.pivot.tutorials.tableviews | |
| org.apache.pivot.tutorials.text | |
| org.apache.pivot.tutorials.webqueries | |
| org.apache.pivot.tutorials.windows | |
| org.apache.pivot.util |
Contains a collection of common utility classes.
|
| org.apache.pivot.util.concurrent |
Provides a set of classes to simplify the execution of background tasks.
|
| org.apache.pivot.util.concurrent.test | |
| org.apache.pivot.util.test | |
| org.apache.pivot.web |
Provides classes for communicating with HTTP-based web services.
Fundamentally, a web query is simply an HTTP request. However, the default data format used by a web query is not HTML, but JSON. This allows a caller to effectively invoke database-like operations over the web - the HTTP methods are used in a manner that is very similar to their corresponding SQL equivalents:
| HTTP Method |
SQL Query |
Behavior |
| POST |
INSERT |
Create |
| GET |
SELECT |
Read |
| PUT |
UPDATE |
Update |
| DELETE |
DELETE |
Delete |
These operations, sometimes referred to as "CRUD", form the basis of the Representational State Transfer (REST) model of building web services. Pivot web queries are designed primarily to facilitate interaction with JSON-based REST services. However, they are sufficiently generic to support communication with any type of HTTP-based service, using any data format (for example, XML). This enables web queries to be used in a broad range of server communication scenarios.
|
| org.apache.pivot.web.server |
Contains classes to facilitate access to and development of web query services.
|
| org.apache.pivot.web.test | |
| org.apache.pivot.wtk |
Contains classes that define the structure and behavior of WTK user interface components.
|
| org.apache.pivot.wtk.content |
Contains classes representing component data, such as list items or table rows.
|
| org.apache.pivot.wtk.effects |
Contains classes supporting visual effects such as blurs, reflections, and drop shadows.
|
| org.apache.pivot.wtk.effects.easing |
Contains "easing" operations for producing natural-looking transitions. Based on easing equations developed by Robert Penner.
|
| org.apache.pivot.wtk.media |
Contains classes that provide multimedia support.
|
| org.apache.pivot.wtk.media.drawing |
Contains a set of primitives for constructing vector-based drawings.
|
| org.apache.pivot.wtk.skin |
Contains common skins and abstract base classes for theme-specific skins.
|
| org.apache.pivot.wtk.skin.terra |
Defines skin classes for the "Terra" theme.
Terra skins get their colors from the theme's color palette, which contains
24 indexed colors. Each Terra skin exposes setter methods for each of its
color styles that take an integer value; such methods allow callers to style
the component by referencing the theme's color palette. The default palette
is shown below:
The default color palette
The font and color palette is defined in a JSON file that should contain a
Map containing the following properties:
| Property: |
Type: |
Description: |
| font |
String |
The default theme font; must be understandable by
java.awt.Font.decode().
|
| colors |
List<String> |
This list should contain 8 colors in a form understandable by
java.awt.Color.decode(). This list represents the theme's
"base color palette", from which the full color palette is
derived. Each of these 8 colors will be expanded to comprise 3
colors in the final palette: a darker version, the color itself,
and a lighter version. Thus, the final color palette will contain
24 colors. For instance, in the default color
palette the "base palette" colors are the colors in the middle
column.
|
By default, the theme definition in TerraTheme_default.json is used,
but can be overridden via the org.apache.pivot.wtk.skin.terra.location
property.
|
| org.apache.pivot.wtk.text |
Contains classes representing a text object model.
|
| org.apache.pivot.wtk.text.validation |
Provides classes for validating user-entered text.
|
| org.apache.pivot.wtkx |
Provides support for loading WTK components and other classes from XML.
|
| org.apache.pivot.xml |
Contains classes that facilitate interaction with an XML DOM.
|
| org.apache.pivot.xml.test | |