Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Latest commit

 

History

History
20 lines (14 loc) · 1.23 KB

ExtensionPoints.md

File metadata and controls

20 lines (14 loc) · 1.23 KB

Core functionality

The core functionality of the Trident library can be extended to address custom needs of the specific applications. Out of the box Trident supports:

  • The timeline pulses being fired by a dedicated thread that wakes up every 40ms and updates all the timelines
  • Interpolating float and integer fields of any Java object that provides the matching public setter methods
  • Swing UI toolkit, respecting the threading rules and providing interpolators for the custom graphic classes

Interested applications can use Trident configuration APIs to:

  • Provide a custom pulse source to drive the timeline updates
  • Provide additional property interpolators for custom application classes
  • Support additional Java-based UI toolkits

Configuration APIs

The org.pushingpixels.trident.TridentConfig class contains the published configuration APIs. The TridentConfig.getInstance() API retrieves an instance of this class which can then be used for: