Class ArrowLocator

All Implemented Interfaces:
Locator

public class ArrowLocator extends ConnectionLocator
Locator used to place a RotatableDecoration on a Connection. The decoration can be placed at the source or target end of the connection figure. The default connection implementation uses a DelegatingLayout which requires locators.
  • Constructor Details

    • ArrowLocator

      public ArrowLocator(Connection connection, int location)
      Constructs an ArrowLocator associated with passed connection and tip location (either ConnectionLocator.SOURCE or ConnectionLocator.TARGET).
      Parameters:
      connection - The connection associated with the locator
      location - Location of the arrow decoration
      Since:
      2.0
  • Method Details