I'll add comment to make it more clear I guess, these setters and getters just update models what API does with them is out of the getter / setter scope. In case of panel it will just show panel with updated width / height ... when you show it.