Class ILspLabelConflictChecker.Conflict

java.lang.Object
com.luciad.view.lightspeed.label.ILspLabelConflictChecker.Conflict
Enclosing interface:
ILspLabelConflictChecker

public static class ILspLabelConflictChecker.Conflict extends Object
This class represents a conflict. A conflict contains information about one or more causes of the conflict :
  • The given bounds were outside the view.
  • The given bounds were partially outside the view.
  • The given bounds overlap with other bounds.
  • The given bounds overlap with an obstacle.
This class can be extended to add extra conflict information.
Since:
2012.0
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    Conflict(boolean aOutsideView, boolean aPartiallyOutsideView, boolean aOverlapWithBounds, boolean aOverlapWithObstacles)
    Create a new conflict with the given info.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    boolean
    Returns if the given bounds are completely outside the view.
    boolean
    Returns if the given bounds overlap with one or more obstacles.
    boolean
    Returns if the given bounds overlap with one or more other label placements.
    boolean
    Returns if the given bounds are partially outside the view.

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details Link icon

    • Conflict Link icon

      public Conflict(boolean aOutsideView, boolean aPartiallyOutsideView, boolean aOverlapWithBounds, boolean aOverlapWithObstacles)
      Create a new conflict with the given info.
      Parameters:
      aOutsideView - denotes that the given bounds are completely outside the view.
      aPartiallyOutsideView - denotes that the given bounds are partially outside the view.
      aOverlapWithBounds - denotes that the given bounds overlap with one or more other bounds.
      aOverlapWithObstacles - denotes that the given bounds overlap with one or more obstacles.
  • Method Details Link icon

    • isOutsideView Link icon

      public boolean isOutsideView()
      Returns if the given bounds are completely outside the view.
      Returns:
      if the given bounds are completely outside the view.
    • isPartiallyOutsideView Link icon

      public boolean isPartiallyOutsideView()
      Returns if the given bounds are partially outside the view.
      Returns:
      if the given bounds are partially outside the view.
    • isOverlapWithPlacements Link icon

      public boolean isOverlapWithPlacements()
      Returns if the given bounds overlap with one or more other label placements.
      Returns:
      if the given bounds overlap with one or more other label placements.
    • isOverlapWithObstacles Link icon

      public boolean isOverlapWithObstacles()
      Returns if the given bounds overlap with one or more obstacles.
      Returns:
      if the given bounds overlap with one or more obstacles.