public IMouseState createBendEnterState(final Bend b, final MouseEvent event) {
    final CBendEnterState state = new CBendEnterState(this, m_graph, b);

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

    return state;
  }
Creates a new state object when the bend is entered

@param b The bend which is entered.
@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