package Ġcom . so yle . stories . desktop . view . location . create Ċ Ċ import Ġcom . so yle . stories . common . components . Components Styles Ċ import Ġcom . so yle . stories . common . components . text . Text Styles Ċ import Ġcom . so yle . stories . desktop . view . common . Node Access Ċ import Ġcom . so yle . stories . location . create Location Dialog . Create Location Dialog Ċ import Ġjavafx . scene . control . Button Ċ import Ġjavafx . scene . control . Label Ċ import Ġjavafx . scene . control . TextInput Control Ċ import Ġt orn ad of x . Simple Message Decorator Ċ import Ġt orn ad of x . Style sheet Ċ import Ġt orn ad of x . decorators Ċ Ċ class ĠCreate Location Dialog View Access Ġprivate Ġconstructor ( view : ĠCreate Location Dialog . View ) Ġ: ĠNode Access < Create Location Dialog . View >( view ) Ġ{ ĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġfun ĠCreate Location Dialog . View . access (): ĠCreate Location Dialog View Access Ġ= ĠCreate Location Dialog View Access ( this ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġval Ġname Input : ĠText Input Control Ġby Ġmandatory Child ( Create Location Dialog . Styles . name ) ĊĊĠĠĠ Ġval Ġname Label : ĠLabel Ġby Ġname Input . parent . mandatory Child ( Text Styles . field Label ) ĊĊĠĠĠ Ġval Ġname Error : ĠSimple Message Decorator ? ĊĠĠĠĠĠĠĠ Ġget () Ġ= Ġname Input . decorators . filter Is Instance < Simple Message Decorator >(). single OrNull () ĊĊĠĠĠ Ġval Ġdescription Input : ĠText Input Control Ġby Ġmandatory Child ( Create Location Dialog . Styles . description ) ĊĊĠĠĠ Ġval Ġdescription Label : ĠLabel Ġby Ġdescription Input . parent . mandatory Child ( Text Styles . field Label ) ĊĊĠĠĠ Ġval Ġcreate Button : ĠButton Ġby Ġmandatory Child ( Style sheet . button ) Ġ{ Ġit . is Default Button Ġ} ĊĊĠĠĠ Ġval Ġcancel Button : ĠButton Ġby Ġmandatory Child ( Style sheet . button ) Ġ{ Ġit . is Cancel Button Ġ} Ċ Ċ }