Class RelativeActionLocation

    • Constructor Detail

      • RelativeActionLocation

        public RelativeActionLocation​(String uiRegionPath,
                                      RelativeActionLocation.RelativePosition relativePosition,
                                      String anchorActionId)
        Relative position to another action that has an id.
        Parameters:
        uiRegionPath - ui region path
        relativePosition - BEFORE or AFTER
        anchorActionId - id of the action this one is supposed to be relative to
      • RelativeActionLocation

        public RelativeActionLocation​(String uiRegionPath,
                                      RelativeActionLocation.RelativePosition relativePosition,
                                      String anchorActionId,
                                      boolean insertMenuItemSeparatorBeforeAction,
                                      boolean insertMenuItemSeparatorAfterAction)
        Relative position to another action that has an id.
        Parameters:
        uiRegionPath - ui region path
        relativePosition - BEFORE or AFTER
        anchorActionId - id of the action this one is supposed to be relative to
        insertMenuItemSeparatorBeforeAction - if true a separator will be inserted before the action if the action is inserted into a menu
        insertMenuItemSeparatorAfterAction - if true a separator will be inserted after the action if the action is inserted into a menu
      • RelativeActionLocation

        public RelativeActionLocation​(UIRegion uiRegion,
                                      RelativeActionLocation.RelativePosition relativePosition,
                                      String anchorActionId)
        Relative position to another action that has an id.
        Parameters:
        uiRegion - uiRegion
        relativePosition - BEFORE or AFTER
        anchorActionId - id of the action this one is supposed to be relative to
      • RelativeActionLocation

        public RelativeActionLocation​(UIRegion uiRegion,
                                      RelativeActionLocation.RelativePosition relativePosition,
                                      String anchorActionId,
                                      boolean insertMenuItemSeparatorBeforeAction,
                                      boolean insertMenuItemSeparatorAfterAction)
        Relative position to another action that has an id.
        Parameters:
        uiRegion - uiRegion
        relativePosition - BEFORE or AFTER
        anchorActionId - id of the action this one is supposed to be relative to
        insertMenuItemSeparatorBeforeAction - if true a separator will be inserted before the action if the action is inserted into a menu
        insertMenuItemSeparatorAfterAction - if true a separator will be inserted after the action if the action is inserted into a menu