public void setForComponent(final WComponent forComponent) {
		getOrCreateComponentModel().forComponent = forComponent;

		if (forComponent instanceof AbstractWComponent) {
			((AbstractWComponent) forComponent).setLabel(this);
		}
	}
public void setForComponent ( final WComponent forComponent ) { getOrCreateComponentModel ( ) . forComponent = forComponent ; if ( forComponent instanceof AbstractWComponent ) { ( ( AbstractWComponent ) forComponent ) . setLabel ( this ) ; } }
Sets the component that this label is associated with.

@param forComponent the associated component.