return 0;
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;
    public float getPreferredSpan(int axis)    {    // TODO: Implement this properly.	return 0;    }