span = getComponent().getPreferredSize().width;
span = interceptor.getPreferredSize().width;
    public float getPreferredSpan(int axis)    {    float span;    if (axis == X_AXIS)      span = getComponent().getPreferredSize().width;    else if (axis == Y_AXIS)      span = getComponent().getPreferredSize().height;    else      throw new IllegalArgumentException();    return span;    }