public IMouseState createEdgeLabelExitState(final EdgeLabel l, final MouseEvent event) {
    final CEdgeLabelExitState<NodeType, EdgeType> state =
        new CEdgeLabelExitState<NodeType, EdgeType>(this, m_graph, l);

    m_factory.createEdgeLabelExitAction().execute(state, event);

    return state;
  }
Creates a new state object when the edge label is exited.

@param l The edge label which is exited.
@param event The mouse event that caused the state change.
@return The state object that describes the mouse state.
java/zylib/src/main/java/com/google/security/zynamics/zylib/yfileswrap/gui/zygraph/editmode/CStateFactory.java