Skip to content

ExtensionPoints

homebeaver edited this page Jul 19, 2022 · 2 revisions

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: