Description

The OverBorderPane is mainly used to create navigation buttons with enhanced graphic effects (change of the background on mouseover, shadow, rounded corners). OverBorderPane is used to apply the effect to objects without explicitly defined size.

Workbench view:

 

On mouseover:

HX view:

On mouseover:

Implementation

  • Drag and drop the OverBorderPane into a Px.
  • Define the graphical properties: Fill and OverFill for the mouseover, Radius for the rounded corners or Shadow for a shaded effect.
  • Add content to the pane (usually a label).

  (warning) Management of the mouse events has the effect that the first binding encountered intercepts these events. This has two consequences in the context of this object:

  • if you want to create a hyperlink on the entire object, it must be added to the root directly on the OverBorderPane object
  • if the content of the Pane is more complex, you could possibly use a Canvas. It may be advisable to disable (enabled property set to false) the Canvas so that it does not interfere with the processing of the OverBorderPane.


Properties

  • Fill: Pane background.
  • OverFill: Background to display when moving mouse.
  • Radius: Rounds the angles of the pane (works only in Hx, not in the workbench).
  • Shadow: Adds a shadow around the pane (works only in Hx, not in the workbench).