Class BehaviorBase<C extends javafx.scene.control.Control,S extends javafx.scene.control.SkinBase<C>>

java.lang.Object
atlantafx.base.controls.BehaviorBase<C,S>
Direct Known Subclasses:
CalendarBehavior, SegmentedControlBehavior, TabLineBehavior

public class BehaviorBase<C extends javafx.scene.control.Control,S extends javafx.scene.control.SkinBase<C>> extends Object
Encapsulates behavior interaction logic for a skin. The main functionality in BehaviorBase revolves around infrastructure for resolving events into function calls. A BehaviorBase implementation will usually contain logic for handling key events based on the host platform, as well as view-specific functions for handling mouse and key and other input events.

Although BehaviorBase is typically used as a base class, it is not abstract and several skins instantiate an instance of BehaviorBase directly.

Note: This is an excerpt of the private Behavior API from the JavaFX codebase. It serves as a compatibility layer for implementing certain controls, although it can also be useful for new controls.