/** * Fetches the container hosting the view. This is useful for things like scheduling a repaint, * finding out the host components font, etc. The default implementation of this is to forward the * query to the parent view. * * @return the container, <code>null</code> if none */ public Container getContainer() { View v = getParent(); return (v != null) ? v.getContainer() : null; }