Basin boundary, edge of chaos and edge state in a two-dimensional model