Class TitledPaneBehavior

java.lang.Object
com.sun.javafx.scene.control.behavior.BehaviorBase<TitledPane>
com.sun.javafx.scene.control.behavior.TitledPaneBehavior

public class TitledPaneBehavior extends BehaviorBase<TitledPane>
  • Field Details

    • TITLEDPANE_BINDINGS

      protected static final List<KeyBinding> TITLEDPANE_BINDINGS
  • Constructor Details

    • TitledPaneBehavior

      public TitledPaneBehavior(TitledPane pane)
  • Method Details

    • callAction

      protected void callAction(String name)
      Description copied from class: BehaviorBase
      Called to invoke the action associated with the given name.

      When a KeyEvent is handled, it is first passed through callActionForEvent which resolves which "action" should be executed based on the key event. This action is indicated by name. This name is then passed to this function which is responsible for invoking the right function based on the name.

      Overrides:
      callAction in class BehaviorBase<TitledPane>
    • mousePressed

      public void mousePressed(MouseEvent e)
      * Mouse event handling * *
      Overrides:
      mousePressed in class BehaviorBase<TitledPane>
      Parameters:
      e - the mouse event
    • expand

      public void expand()
      State and Functions *
    • collapse

      public void collapse()
    • toggle

      public void toggle()