package Ġnet . mon are z io . chess . presentation . chess board Ċ Ċ import Ġnet . mon are z io . chess . presentation . chess board . custom . Che ss board View Ċ import Ġt orn ad of x .* Ċ Ċ class ĠBoard View Ġ: ĠView (" Che ss board ") Ġ{ ĊĊĠĠĠ Ġval Ġcontroller : ĠBoard Controller Ġby Ġinject () ĊĊĠĠĠ Ġval Ġche ss board Ġ= ĠChe ss board View ( controller . get Fields ()) ĊĊĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠĠĠ Ġche ss board . on ClickListener Ġ= Ġcontroller ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġval Ġroot Ġ= Ġpane Ġ{ ĊĠĠĠĠĠĠĠ Ġadd ( chess board ) ĊĠĠĠ Ġ} Ċ } Ċ