[Add] Add function setParameterWindow and setLayoutWindow