com.azalient.api.ui.edit
Interface ISingleRoadEditor


public interface ISingleRoadEditor

A handle to the dialog box used when adding a new road (or rail) link


Method Summary
 boolean confirmNewLane(ILane lane)
          Returns true if the user presses OK to confirm the addition of a single new lane
 boolean confirmNewLink(boolean setLength, Boolean enableOut, Boolean enableIn)
          Returns true if the user presses OK to confirm the addition of a new link
 void editLaneParameters()
          Raise the dialog to edit the parameters used when adding a new lane
 void editLinkParameters()
          Raise the dialog to edit the link parameters
 double endLength()
          Return the length of a new lane added beside the end of the currently selected lane
 boolean laneOnMedianSide()
          Returns true if the new lane is to be added on the median side
 boolean showBeforeNewLane()
          Returns true if the check box is ticked for "Show this window before adding a new lane"
 boolean showBeforeNewLink()
          Returns true if the check box is ticked for "Show this window before adding a new link"
 double startLength()
          Return the length of a new lane added beside the start of the currently selected lane
 

Method Detail

confirmNewLink

boolean confirmNewLink(boolean setLength,
                       Boolean enableOut,
                       Boolean enableIn)
Returns true if the user presses OK to confirm the addition of a new link


editLinkParameters

void editLinkParameters()
Raise the dialog to edit the link parameters


confirmNewLane

boolean confirmNewLane(ILane lane)
Returns true if the user presses OK to confirm the addition of a single new lane


editLaneParameters

void editLaneParameters()
Raise the dialog to edit the parameters used when adding a new lane


showBeforeNewLink

boolean showBeforeNewLink()
Returns true if the check box is ticked for "Show this window before adding a new link"


showBeforeNewLane

boolean showBeforeNewLane()
Returns true if the check box is ticked for "Show this window before adding a new lane"


startLength

double startLength()
Return the length of a new lane added beside the start of the currently selected lane


endLength

double endLength()
Return the length of a new lane added beside the end of the currently selected lane


laneOnMedianSide

boolean laneOnMedianSide()
Returns true if the new lane is to be added on the median side