/* ĠReleased Ġunder Ġthe ĠMIT Ġlicense , Ġ 2 0 1 8 Ġ*/ Ċ Ċ package Ġcom . github . ptr te ix e ira . nus ports . view Ċ Ċ import Ġcom . github . ptr te ix e ira . nus ports . model . Connection Error Ċ import Ġcom . github . ptr te ix e ira . nus ports . model . Stand ing Ċ import Ġcom . github . ptr te ix e ira . nus ports . model . Update Event Ċ import Ġcom . github . ptr te ix e ira . nus ports . model . Visible Sport Ċ import Ġjavafx . collections . FX Collections Ċ import Ġt orn ad of x . View Ċ import Ġt orn ad of x . readonly Column Ċ import Ġt orn ad of x . table view Ċ Ċ class ĠStand ings Table () Ġ: ĠView () Ġ{ ĊĠĠĠ Ġprivate Ġval Ġcontents Ġ= ĠFX Collections . observable ArrayList < Stand ing >() ĊĊĠĠĠ Ġoverride Ġval Ġroot Ġ= Ġtable view ( contents ) Ġ{ ĊĠĠĠĠĠĠĠ Ġreadonly Column (" Team ", ĠStand ing :: team Name ) ĊĠĠĠĠĠĠĠ Ġreadonly Column (" Conference ", ĠStand ing :: conference ) ĊĠĠĠĠĠĠĠ Ġreadonly Column (" Overall ", ĠStand ing :: overall ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġsend ( update Event : ĠUpdate Event ) Ġ{ ĊĠĠĠĠĠĠĠ Ġwhen Ġ( update Event ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġis ĠVis ible Sport Ġ-> Ġcontents . set All ( update Event . stand ings ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġis ĠConnection Error Ġ-> Ġcontents . clear () ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ