package Ġcom . tang . h wp lib . builder . body text . paragraph . control . g so Ċ Ċ import Ġcom . tang . h wp lib . builder . body text . paragraph . control . HW PC trl Data Builder Ċ import Ġcom . tang . h wp lib . builder . body text . paragraph . control . HW PG so Control Builder Ċ import Ġcom . tang . h wp lib . builder . body text . paragraph . control . ctrl header . HW PC trl Header G so Builder Ċ import Ġcom . tang . h wp lib . builder . body text . paragraph . control . g so . shape component . HW PC apt ion Builder Ċ import Ġcom . tang . h wp lib . builder . body text . paragraph . control . g so . shape component . HW P Shape Component Normal Builder Ċ import Ġcom . tang . h wp lib . builder . body text . paragraph . control . g so . shape component . HW P TextBox Builder Ċ import Ġcom . tang . h wp lib . builder . interfaces . HW P Builder Ċ import Ġcom . tang . h wp lib . objects . body text . control . HW P Control Type Ċ import Ġcom . tang . h wp lib . objects . body text . control . g so . HW P Control Arc Ċ import Ġcom . tang . h wp lib . objects . body text . control . g so . HW PG so Control Type Ċ import Ġcom . tang . h wp lib . objects . body text . control . g so . shape component . HW P Shape Component Arc Ċ import Ġcom . tang . h wp lib . objects . body text . control . g so . shape component . arc . HW P Arc Border Ċ Ċ class ĠH WP Control Arc Builder Ġ: ĠHW PG so Control Builder () Ġ{ ĊĠĠĠ Ġprivate Ġval Ġcontrol : ĠH WP Control Arc Ġ= ĠH WP Control Arc . build () ĊĊĠĠĠ Ġfun Ġset Header ( header Builder : ĠHW PC trl Header G so Builder ) Ġ: ĠH WP Control Arc Builder Ġ= Ġthis . apply Ġ{ ĊĠĠĠĠĠĠĠ Ġcontrol . header Ġ= Ġheader Builder . build (). apply Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġctrl Id Ġ= ĠH WP Control Type . G so . ctrl Id ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġset Shape Component ( shape Component Builder : ĠH WP Shape Component Normal Builder ) Ġ: ĠH WP Control Arc Builder Ġ= Ġthis . apply Ġ{ ĊĠĠĠĠĠĠĠ Ġcontrol . shape Component Ġ= Ġshape Component Builder . build () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġset Shape Component Arc ( shape Component Arc Builder : ĠH WP Shape Component Arc Builder ) Ġ: ĠH WP Control Arc Builder Ġ= Ġthis . apply Ġ{ ĊĠĠĠĠĠĠĠ Ġcontrol . shape Component Arc Ġ= Ġshape Component Arc Builder . build () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġset Caption ( caption Builder : ĠHW PC apt ion Builder ) Ġ: ĠH WP Control Arc Builder Ġ= Ġthis . apply Ġ{ ĊĠĠĠĠĠĠĠ Ġcontrol . caption Ġ= Ġcaption Builder . build () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġset Ctrl Data ( ctrl Data Builder : ĠHW PC trl Data Builder ) Ġ: ĠH WP Control Arc Builder Ġ= Ġthis . apply Ġ{ ĊĠĠĠĠĠĠĠ Ġcontrol . set Ctrl Data ( ctrl Data Builder . build ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġset TextBox ( textBox Builder : ĠH WP TextBox Builder ) Ġ: ĠH WP Control Arc Builder Ġ= Ġthis . apply Ġ{ ĊĠĠĠĠĠĠĠ Ġcontrol . textBox Ġ= ĠtextBox Builder . build () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġbuild (): ĠH WP Control Arc Ġ= Ġcontrol . apply Ġ{ ĊĠĠĠĠĠĠĠ Ġset G so Id ( HW PG so Control Type . Arc . id ) ĊĠĠĠ Ġ} Ċ } Ċ Ċ class ĠH WP Shape Component Arc Builder Ġ: ĠH WP Builder < HW P Shape Component Arc > Ġ{ ĊĠĠĠ Ġprivate Ġval Ġshape Component Ġ: ĠH WP Shape Component Arc Ġ= ĠH WP Shape Component Arc . build () ĊĊĠĠĠ Ġfun Ġset Arc Border ( arc Border : ĠH WP Arc Border ) Ġ: ĠH WP Shape Component Arc Builder Ġ= Ġthis . apply Ġ{ ĊĠĠĠĠĠĠĠ Ġshape Component . arc Border Ġ= Ġarc Border ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġset Center X ( center X : ĠInt ) Ġ: ĠH WP Shape Component Arc Builder Ġ= Ġthis . apply Ġ{ ĊĠĠĠĠĠĠĠ Ġshape Component . center X Ġ= Ġcenter X ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġset Center Y ( center Y : ĠInt ) Ġ: ĠH WP Shape Component Arc Builder Ġ= Ġthis . apply Ġ{ ĊĠĠĠĠĠĠĠ Ġshape Component . center Y Ġ= Ġcenter Y ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġset Axis 1 X ( axis 1 X : ĠInt ) Ġ: ĠH WP Shape Component Arc Builder Ġ= Ġthis . apply Ġ{ ĊĠĠĠĠĠĠĠ Ġshape Component . axis 1 X Ġ= Ġaxis 1 X ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġset Axis 1 Y ( axis 1 Y : ĠInt ) Ġ: ĠH WP Shape Component Arc Builder Ġ= Ġthis . apply Ġ{ ĊĠĠĠĠĠĠĠ Ġshape Component . axis 1 Y Ġ= Ġaxis 1 Y ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġset Axis 2 X ( axis 2 X : ĠInt ) Ġ: ĠH WP Shape Component Arc Builder Ġ= Ġthis . apply Ġ{ ĊĠĠĠĠĠĠĠ Ġshape Component . axis 2 X Ġ= Ġaxis 2 X ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġset Axis 2 Y ( axis 2 Y : ĠInt ) Ġ: ĠH WP Shape Component Arc Builder Ġ= Ġthis . apply Ġ{ ĊĠĠĠĠĠĠĠ Ġshape Component . axis 2 Y Ġ= Ġaxis 2 Y ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġbuild (): ĠH WP Shape Component Arc Ġ= Ġshape Component Ċ }