Content deleted Content added
RProgrammer (talk | contribs) m →BXML |
m convert special characters found by Wikipedia:Typo Team/moss (via WP:JWB) |
||
(23 intermediate revisions by 16 users not shown) | |||
Line 1:
{{Short description|Open-source platform for building applications in Java}}
{{One source|date=February 2012}}
{{
| name
| logo
| screenshot =
| ▲| developer = [[Apache Software Foundation]]
▲| latest release version = 2.0.2
▲| latest release date = {{release date|2012|05|21}}
| latest preview version =
| latest preview date
| operating system
| size
| platform
| repo = {{URL|https://svn.apache.org/repos/asf/pivot/|Pivot Repository}}
| programming language
| genre
| license
| website
}}
{{Portal|Free and open-source software}}
'''Apache Pivot''' is an [[open-source software|open-source]] platform for building [[Rich web application|rich web applications]] in [[Java (programming language)|Java]] or any [[Java Virtual Machine|JVM]]-compatible language. It is released under the [[Apache License]] version 2.0.
==Architecture==
Its [[class (software)|class]]es are divided in the following categories:<ref name="ov">[http://pivot.apache.org/tutorials/platform-overview.html Platform Overview {{pipe}} Apache Pivot]</ref>
* '''Core classes''' that enable the classes in the other categories to function
* '''WTK classes''' that provide user interface elements such as buttons and lists. These are built according to the [[model-view-controller]] architecture. Most of Pivot's classes are included in the WTK category.
Line 36 ⟶ 32:
==WTK==
WTK or widgets toolkit are the graphical components of Apache Pivot. There are more widgets than in other Java GUI libraries like [[Java Foundation Classes|JFC]]/[[Swing (Java)|Swing]], [[Standard Widget Toolkit|SWT]] or [[JavaFX]]. The components are based on Java2D and are completely skinnable and support color schemes. The demos "Kitchen Sink" and "Component Explorer" give a complete overview and show the possibilities of interaction.<ref>{{Cite web |date=2010-01-21 |title=Apache Pivot brings Java into RIA world |url=https://sdtimes.com/apache/apache-pivot-brings-java-into-ria-world/ |access-date=2022-09-27 |website=SD Times |language=en-US}}</ref> Additionally, it is easy to add and use self-made components because of the open structure. Also part of WTK are the so-called decorators which add graphical effects and even animations to the components.
==BXML==
In Apache Pivot, the GUI usually is designed using [[BXML]] files. BXML is an XML-based markup language for simplifying the construction of Java object hierarchies. While it is most often used to define the user interface of an Apache Pivot application, it is not limited to user interface construction, and can actually be used to create hierarchies of any object type. In the case of Apache Pivot the designer can place the WTK-components and set their properties without writing a single line of Java code. In more complex projects there usually is one class file for each BXML file to hold the logic, though there are other possibilities.
==Scripting==
Apache Pivot supports all [[Scripting for the Java Platform|JSR 223]] scripting languages to script the BXML files. It is even possible to create an entire Pivot application without any compiled code at all.<ref>{{Cite web |date=24 September 2016 |title=Table Row Editing in Apache Pivot |url=https://alephwebsite.com/ |website=Web Advice}}</ref> The script fragments can either be placed inside certain tags directly inside a BXML file, or in external files which get included during runtime.
==Non-GUI features==
The WTK is just one part of Pivot, but it is a complete
==References==
Line 52 ⟶ 47:
==External links==
* {{
{{Apache Software Foundation}}
{{Rich
[[Category:Apache Software Foundation projects|Pivot]]
[[Category:XML software]]
▲[[Category:Rich Internet applications]]
|