Terminal.Label.yml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597
  1. ### YamlMime:ManagedReference
  2. items:
  3. - uid: Terminal.Label
  4. id: Label
  5. children:
  6. - Terminal.Label.#ctor(Terminal.Rect,System.String)
  7. - Terminal.Label.#ctor(System.Int32,System.Int32,System.String)
  8. - Terminal.Label.MeasureLines(System.String,System.Int32)
  9. - Terminal.Label.Redraw(Terminal.Rect)
  10. - Terminal.Label.Text
  11. - Terminal.Label.TextAlignment
  12. - Terminal.Label.TextColor
  13. langs:
  14. - csharp
  15. name: Label
  16. nameWithType: Label
  17. fullName: Terminal.Label
  18. type: Class
  19. assemblies:
  20. - Terminal
  21. namespace: Terminal
  22. summary: Label widget, displays a string at a given position, can include multiple lines.
  23. syntax:
  24. content: 'public class Label : Terminal.View'
  25. inheritance:
  26. - System.Object
  27. - Terminal.Responder
  28. - Terminal.View
  29. implements: []
  30. inheritedMembers:
  31. - Terminal.Responder.CanFocus
  32. - Terminal.Responder.MouseEvent(Terminal.MouseEvent)
  33. - Terminal.View.Add(Terminal.View)
  34. - Terminal.View.Add(Terminal.View[])
  35. - Terminal.View.AddCh(System.Int32,System.Int32,System.Int32)
  36. - Terminal.View.Bounds
  37. - Terminal.View.ChildNeedsDisplay
  38. - Terminal.View.Clear
  39. - Terminal.View.ClearNeedsDisplay
  40. - Terminal.View.ColorScheme
  41. - Terminal.View.DrawFrame(Terminal.Rect,System.Boolean)
  42. - Terminal.View.DrawHotString(System.String,System.Boolean,Terminal.ColorScheme)
  43. - Terminal.View.DrawHotString(System.String,Terminal.Attribute,Terminal.Attribute)
  44. - Terminal.View.Driver
  45. - Terminal.View.EnsureFocus
  46. - Terminal.View.Focused
  47. - Terminal.View.FocusFirst
  48. - Terminal.View.FocusLast
  49. - Terminal.View.FocusNext
  50. - Terminal.View.FocusPrev
  51. - Terminal.View.Frame
  52. - Terminal.View.GetEnumerator
  53. - Terminal.View.HasFocus
  54. - Terminal.View.Id
  55. - Terminal.View.LayoutSubviews
  56. - Terminal.View.MostFocused
  57. - Terminal.View.Move(System.Int32,System.Int32)
  58. - Terminal.View.PositionCursor
  59. - Terminal.View.ProcessColdKey(Terminal.KeyEvent)
  60. - Terminal.View.ProcessHotKey(Terminal.KeyEvent)
  61. - Terminal.View.ProcessKey(Terminal.KeyEvent)
  62. - Terminal.View.Remove(Terminal.View)
  63. - Terminal.View.RemoveAll
  64. - Terminal.View.ScreenToView(System.Int32,System.Int32)
  65. - Terminal.View.SetFocus(Terminal.View)
  66. - Terminal.View.SetNeedsDisplay
  67. - Terminal.View.SetNeedsDisplay(Terminal.Rect)
  68. - Terminal.View.Subviews
  69. - Terminal.View.SuperView
  70. - Terminal.View.ToString
  71. - Terminal.View.WantMousePositionReports
  72. - uid: Terminal.Label.#ctor(Terminal.Rect,System.String)
  73. id: '#ctor(Terminal.Rect,System.String)'
  74. parent: Terminal.Label
  75. langs:
  76. - csharp
  77. name: Label(Rect, String)
  78. nameWithType: Label.Label(Rect, String)
  79. fullName: Label.Label(Rect, String)
  80. type: Constructor
  81. assemblies:
  82. - Terminal
  83. namespace: Terminal
  84. summary: >-
  85. Public constructor: creates a label at the given
  86. coordinate with the given string and uses the specified
  87. frame for the string.
  88. syntax:
  89. content: public Label (Terminal.Rect rect, string text);
  90. parameters:
  91. - id: rect
  92. type: Terminal.Rect
  93. description: To be added.
  94. - id: text
  95. type: System.String
  96. description: To be added.
  97. overload: Terminal.Label.#ctor*
  98. exceptions: []
  99. - uid: Terminal.Label.#ctor(System.Int32,System.Int32,System.String)
  100. id: '#ctor(System.Int32,System.Int32,System.String)'
  101. parent: Terminal.Label
  102. langs:
  103. - csharp
  104. name: Label(Int32, Int32, String)
  105. nameWithType: Label.Label(Int32, Int32, String)
  106. fullName: Label.Label(Int32, Int32, String)
  107. type: Constructor
  108. assemblies:
  109. - Terminal
  110. namespace: Terminal
  111. summary: >-
  112. Public constructor: creates a label at the given
  113. coordinate with the given string, computes the bounding box
  114. based on the size of the string, assumes that the string contains
  115. newlines for multiple lines, no special breaking rules are used.
  116. syntax:
  117. content: public Label (int x, int y, string text);
  118. parameters:
  119. - id: x
  120. type: System.Int32
  121. description: To be added.
  122. - id: y
  123. type: System.Int32
  124. description: To be added.
  125. - id: text
  126. type: System.String
  127. description: To be added.
  128. overload: Terminal.Label.#ctor*
  129. exceptions: []
  130. - uid: Terminal.Label.MeasureLines(System.String,System.Int32)
  131. id: MeasureLines(System.String,System.Int32)
  132. parent: Terminal.Label
  133. langs:
  134. - csharp
  135. name: MeasureLines(String, Int32)
  136. nameWithType: Label.MeasureLines(String, Int32)
  137. fullName: Label.MeasureLines(String, Int32)
  138. type: Method
  139. assemblies:
  140. - Terminal
  141. namespace: Terminal
  142. summary: Computes the number of lines needed to render the specified text by the Label control
  143. syntax:
  144. content: public static int MeasureLines (string text, int width);
  145. parameters:
  146. - id: text
  147. type: System.String
  148. description: Text, may contain newlines.
  149. - id: width
  150. type: System.Int32
  151. description: The width for the text.
  152. return:
  153. type: System.Int32
  154. description: Number of lines.
  155. overload: Terminal.Label.MeasureLines*
  156. exceptions: []
  157. - uid: Terminal.Label.Redraw(Terminal.Rect)
  158. id: Redraw(Terminal.Rect)
  159. parent: Terminal.Label
  160. langs:
  161. - csharp
  162. name: Redraw(Rect)
  163. nameWithType: Label.Redraw(Rect)
  164. fullName: Label.Redraw(Rect)
  165. type: Method
  166. assemblies:
  167. - Terminal
  168. namespace: Terminal
  169. syntax:
  170. content: public override void Redraw (Terminal.Rect region);
  171. parameters:
  172. - id: region
  173. type: Terminal.Rect
  174. description: To be added.
  175. overload: Terminal.Label.Redraw*
  176. exceptions: []
  177. - uid: Terminal.Label.Text
  178. id: Text
  179. parent: Terminal.Label
  180. langs:
  181. - csharp
  182. name: Text
  183. nameWithType: Label.Text
  184. fullName: Label.Text
  185. type: Property
  186. assemblies:
  187. - Terminal
  188. namespace: Terminal
  189. summary: The text displayed by this widget.
  190. syntax:
  191. content: public virtual string Text { get; set; }
  192. return:
  193. type: System.String
  194. description: To be added.
  195. overload: Terminal.Label.Text*
  196. exceptions: []
  197. - uid: Terminal.Label.TextAlignment
  198. id: TextAlignment
  199. parent: Terminal.Label
  200. langs:
  201. - csharp
  202. name: TextAlignment
  203. nameWithType: Label.TextAlignment
  204. fullName: Label.TextAlignment
  205. type: Property
  206. assemblies:
  207. - Terminal
  208. namespace: Terminal
  209. summary: Controls the text-alignemtn property of the label, changing it will redisplay the label.
  210. syntax:
  211. content: public Terminal.TextAlignment TextAlignment { get; set; }
  212. return:
  213. type: Terminal.TextAlignment
  214. description: The text alignment.
  215. overload: Terminal.Label.TextAlignment*
  216. exceptions: []
  217. - uid: Terminal.Label.TextColor
  218. id: TextColor
  219. parent: Terminal.Label
  220. langs:
  221. - csharp
  222. name: TextColor
  223. nameWithType: Label.TextColor
  224. fullName: Label.TextColor
  225. type: Property
  226. assemblies:
  227. - Terminal
  228. namespace: Terminal
  229. summary: The color used for the label
  230. syntax:
  231. content: public Terminal.Attribute TextColor { get; set; }
  232. return:
  233. type: Terminal.Attribute
  234. description: To be added.
  235. overload: Terminal.Label.TextColor*
  236. exceptions: []
  237. references:
  238. - uid: Terminal.View
  239. parent: Terminal
  240. isExternal: false
  241. name: View
  242. nameWithType: View
  243. fullName: Terminal.View
  244. - uid: Terminal.Label.#ctor(Terminal.Rect,System.String)
  245. parent: Terminal.Label
  246. isExternal: false
  247. name: Label(Rect, String)
  248. nameWithType: Label.Label(Rect, String)
  249. fullName: Label.Label(Rect, String)
  250. - uid: Terminal.Rect
  251. parent: Terminal
  252. isExternal: false
  253. name: Rect
  254. nameWithType: Rect
  255. fullName: Terminal.Rect
  256. - uid: System.String
  257. parent: System
  258. isExternal: true
  259. name: String
  260. nameWithType: String
  261. fullName: System.String
  262. - uid: Terminal.Label.#ctor(System.Int32,System.Int32,System.String)
  263. parent: Terminal.Label
  264. isExternal: false
  265. name: Label(Int32, Int32, String)
  266. nameWithType: Label.Label(Int32, Int32, String)
  267. fullName: Label.Label(Int32, Int32, String)
  268. - uid: System.Int32
  269. parent: System
  270. isExternal: true
  271. name: Int32
  272. nameWithType: Int32
  273. fullName: System.Int32
  274. - uid: Terminal.Label.MeasureLines(System.String,System.Int32)
  275. parent: Terminal.Label
  276. isExternal: false
  277. name: MeasureLines(String, Int32)
  278. nameWithType: Label.MeasureLines(String, Int32)
  279. fullName: Label.MeasureLines(String, Int32)
  280. - uid: Terminal.Label.Redraw(Terminal.Rect)
  281. parent: Terminal.Label
  282. isExternal: false
  283. name: Redraw(Rect)
  284. nameWithType: Label.Redraw(Rect)
  285. fullName: Label.Redraw(Rect)
  286. - uid: Terminal.Label.Text
  287. parent: Terminal.Label
  288. isExternal: false
  289. name: Text
  290. nameWithType: Label.Text
  291. fullName: Label.Text
  292. - uid: Terminal.Label.TextAlignment
  293. parent: Terminal.Label
  294. isExternal: false
  295. name: TextAlignment
  296. nameWithType: Label.TextAlignment
  297. fullName: Label.TextAlignment
  298. - uid: Terminal.TextAlignment
  299. parent: Terminal
  300. isExternal: false
  301. name: TextAlignment
  302. nameWithType: TextAlignment
  303. fullName: Terminal.TextAlignment
  304. - uid: Terminal.Label.TextColor
  305. parent: Terminal.Label
  306. isExternal: false
  307. name: TextColor
  308. nameWithType: Label.TextColor
  309. fullName: Label.TextColor
  310. - uid: Terminal.Attribute
  311. parent: Terminal
  312. isExternal: false
  313. name: Attribute
  314. nameWithType: Attribute
  315. fullName: Terminal.Attribute
  316. - uid: Terminal.Label.#ctor*
  317. parent: Terminal.Label
  318. isExternal: false
  319. name: Label
  320. nameWithType: Label.Label
  321. fullName: Label.Label
  322. - uid: Terminal.Label.MeasureLines*
  323. parent: Terminal.Label
  324. isExternal: false
  325. name: MeasureLines
  326. nameWithType: Label.MeasureLines
  327. fullName: Label.MeasureLines
  328. - uid: Terminal.Label.Redraw*
  329. parent: Terminal.Label
  330. isExternal: false
  331. name: Redraw
  332. nameWithType: Label.Redraw
  333. fullName: Label.Redraw
  334. - uid: Terminal.Label.Text*
  335. parent: Terminal.Label
  336. isExternal: false
  337. name: Text
  338. nameWithType: Label.Text
  339. fullName: Label.Text
  340. - uid: Terminal.Label.TextAlignment*
  341. parent: Terminal.Label
  342. isExternal: false
  343. name: TextAlignment
  344. nameWithType: Label.TextAlignment
  345. fullName: Label.TextAlignment
  346. - uid: Terminal.Label.TextColor*
  347. parent: Terminal.Label
  348. isExternal: false
  349. name: TextColor
  350. nameWithType: Label.TextColor
  351. fullName: Label.TextColor
  352. - uid: Terminal.Responder.CanFocus
  353. parent: Terminal.Responder
  354. isExternal: false
  355. name: CanFocus
  356. nameWithType: Responder.CanFocus
  357. fullName: Responder.CanFocus
  358. - uid: Terminal.View.HasFocus
  359. parent: Terminal.View
  360. isExternal: false
  361. name: HasFocus
  362. nameWithType: View.HasFocus
  363. fullName: View.HasFocus
  364. - uid: Terminal.Responder.MouseEvent(Terminal.MouseEvent)
  365. parent: Terminal.Responder
  366. isExternal: false
  367. name: MouseEvent(MouseEvent)
  368. nameWithType: Responder.MouseEvent(MouseEvent)
  369. fullName: Responder.MouseEvent(MouseEvent)
  370. - uid: Terminal.View.ProcessColdKey(Terminal.KeyEvent)
  371. parent: Terminal.View
  372. isExternal: false
  373. name: ProcessColdKey(KeyEvent)
  374. nameWithType: View.ProcessColdKey(KeyEvent)
  375. fullName: View.ProcessColdKey(KeyEvent)
  376. - uid: Terminal.View.ProcessHotKey(Terminal.KeyEvent)
  377. parent: Terminal.View
  378. isExternal: false
  379. name: ProcessHotKey(KeyEvent)
  380. nameWithType: View.ProcessHotKey(KeyEvent)
  381. fullName: View.ProcessHotKey(KeyEvent)
  382. - uid: Terminal.View.ProcessKey(Terminal.KeyEvent)
  383. parent: Terminal.View
  384. isExternal: false
  385. name: ProcessKey(KeyEvent)
  386. nameWithType: View.ProcessKey(KeyEvent)
  387. fullName: View.ProcessKey(KeyEvent)
  388. - uid: Terminal.View.Add(Terminal.View)
  389. parent: Terminal.View
  390. isExternal: false
  391. name: Add(View)
  392. nameWithType: View.Add(View)
  393. fullName: View.Add(View)
  394. - uid: Terminal.View.Add(Terminal.View[])
  395. parent: Terminal.View
  396. isExternal: false
  397. name: Add(View[])
  398. nameWithType: View.Add(View[])
  399. fullName: View.Add(View[])
  400. - uid: Terminal.View.AddCh(System.Int32,System.Int32,System.Int32)
  401. parent: Terminal.View
  402. isExternal: false
  403. name: AddCh(Int32, Int32, Int32)
  404. nameWithType: View.AddCh(Int32, Int32, Int32)
  405. fullName: View.AddCh(Int32, Int32, Int32)
  406. - uid: Terminal.View.Bounds
  407. parent: Terminal.View
  408. isExternal: false
  409. name: Bounds
  410. nameWithType: View.Bounds
  411. fullName: View.Bounds
  412. - uid: Terminal.View.ChildNeedsDisplay
  413. parent: Terminal.View
  414. isExternal: false
  415. name: ChildNeedsDisplay()
  416. nameWithType: View.ChildNeedsDisplay()
  417. fullName: View.ChildNeedsDisplay()
  418. - uid: Terminal.View.Clear
  419. parent: Terminal.View
  420. isExternal: false
  421. name: Clear()
  422. nameWithType: View.Clear()
  423. fullName: View.Clear()
  424. - uid: Terminal.View.ClearNeedsDisplay
  425. parent: Terminal.View
  426. isExternal: false
  427. name: ClearNeedsDisplay()
  428. nameWithType: View.ClearNeedsDisplay()
  429. fullName: View.ClearNeedsDisplay()
  430. - uid: Terminal.View.ColorScheme
  431. parent: Terminal.View
  432. isExternal: false
  433. name: ColorScheme
  434. nameWithType: View.ColorScheme
  435. fullName: View.ColorScheme
  436. - uid: Terminal.View.DrawFrame(Terminal.Rect,System.Boolean)
  437. parent: Terminal.View
  438. isExternal: false
  439. name: DrawFrame(Rect, Boolean)
  440. nameWithType: View.DrawFrame(Rect, Boolean)
  441. fullName: View.DrawFrame(Rect, Boolean)
  442. - uid: Terminal.View.DrawHotString(System.String,System.Boolean,Terminal.ColorScheme)
  443. parent: Terminal.View
  444. isExternal: false
  445. name: DrawHotString(String, Boolean, ColorScheme)
  446. nameWithType: View.DrawHotString(String, Boolean, ColorScheme)
  447. fullName: View.DrawHotString(String, Boolean, ColorScheme)
  448. - uid: Terminal.View.DrawHotString(System.String,Terminal.Attribute,Terminal.Attribute)
  449. parent: Terminal.View
  450. isExternal: false
  451. name: DrawHotString(String, Attribute, Attribute)
  452. nameWithType: View.DrawHotString(String, Attribute, Attribute)
  453. fullName: View.DrawHotString(String, Attribute, Attribute)
  454. - uid: Terminal.View.Driver
  455. parent: Terminal.View
  456. isExternal: false
  457. name: Driver
  458. nameWithType: View.Driver
  459. fullName: View.Driver
  460. - uid: Terminal.View.EnsureFocus
  461. parent: Terminal.View
  462. isExternal: false
  463. name: EnsureFocus()
  464. nameWithType: View.EnsureFocus()
  465. fullName: View.EnsureFocus()
  466. - uid: Terminal.View.Focused
  467. parent: Terminal.View
  468. isExternal: false
  469. name: Focused
  470. nameWithType: View.Focused
  471. fullName: View.Focused
  472. - uid: Terminal.View.FocusFirst
  473. parent: Terminal.View
  474. isExternal: false
  475. name: FocusFirst()
  476. nameWithType: View.FocusFirst()
  477. fullName: View.FocusFirst()
  478. - uid: Terminal.View.FocusLast
  479. parent: Terminal.View
  480. isExternal: false
  481. name: FocusLast()
  482. nameWithType: View.FocusLast()
  483. fullName: View.FocusLast()
  484. - uid: Terminal.View.FocusNext
  485. parent: Terminal.View
  486. isExternal: false
  487. name: FocusNext()
  488. nameWithType: View.FocusNext()
  489. fullName: View.FocusNext()
  490. - uid: Terminal.View.FocusPrev
  491. parent: Terminal.View
  492. isExternal: false
  493. name: FocusPrev()
  494. nameWithType: View.FocusPrev()
  495. fullName: View.FocusPrev()
  496. - uid: Terminal.View.Frame
  497. parent: Terminal.View
  498. isExternal: false
  499. name: Frame
  500. nameWithType: View.Frame
  501. fullName: View.Frame
  502. - uid: Terminal.View.GetEnumerator
  503. parent: Terminal.View
  504. isExternal: false
  505. name: GetEnumerator()
  506. nameWithType: View.GetEnumerator()
  507. fullName: View.GetEnumerator()
  508. - uid: Terminal.View.Id
  509. parent: Terminal.View
  510. isExternal: false
  511. name: Id
  512. nameWithType: View.Id
  513. fullName: View.Id
  514. - uid: Terminal.View.LayoutSubviews
  515. parent: Terminal.View
  516. isExternal: false
  517. name: LayoutSubviews()
  518. nameWithType: View.LayoutSubviews()
  519. fullName: View.LayoutSubviews()
  520. - uid: Terminal.View.MostFocused
  521. parent: Terminal.View
  522. isExternal: false
  523. name: MostFocused
  524. nameWithType: View.MostFocused
  525. fullName: View.MostFocused
  526. - uid: Terminal.View.Move(System.Int32,System.Int32)
  527. parent: Terminal.View
  528. isExternal: false
  529. name: Move(Int32, Int32)
  530. nameWithType: View.Move(Int32, Int32)
  531. fullName: View.Move(Int32, Int32)
  532. - uid: Terminal.View.PositionCursor
  533. parent: Terminal.View
  534. isExternal: false
  535. name: PositionCursor()
  536. nameWithType: View.PositionCursor()
  537. fullName: View.PositionCursor()
  538. - uid: Terminal.View.Remove(Terminal.View)
  539. parent: Terminal.View
  540. isExternal: false
  541. name: Remove(View)
  542. nameWithType: View.Remove(View)
  543. fullName: View.Remove(View)
  544. - uid: Terminal.View.RemoveAll
  545. parent: Terminal.View
  546. isExternal: false
  547. name: RemoveAll()
  548. nameWithType: View.RemoveAll()
  549. fullName: View.RemoveAll()
  550. - uid: Terminal.View.ScreenToView(System.Int32,System.Int32)
  551. parent: Terminal.View
  552. isExternal: false
  553. name: ScreenToView(Int32, Int32)
  554. nameWithType: View.ScreenToView(Int32, Int32)
  555. fullName: View.ScreenToView(Int32, Int32)
  556. - uid: Terminal.View.SetFocus(Terminal.View)
  557. parent: Terminal.View
  558. isExternal: false
  559. name: SetFocus(View)
  560. nameWithType: View.SetFocus(View)
  561. fullName: View.SetFocus(View)
  562. - uid: Terminal.View.SetNeedsDisplay
  563. parent: Terminal.View
  564. isExternal: false
  565. name: SetNeedsDisplay()
  566. nameWithType: View.SetNeedsDisplay()
  567. fullName: View.SetNeedsDisplay()
  568. - uid: Terminal.View.SetNeedsDisplay(Terminal.Rect)
  569. parent: Terminal.View
  570. isExternal: false
  571. name: SetNeedsDisplay(Rect)
  572. nameWithType: View.SetNeedsDisplay(Rect)
  573. fullName: View.SetNeedsDisplay(Rect)
  574. - uid: Terminal.View.Subviews
  575. parent: Terminal.View
  576. isExternal: false
  577. name: Subviews
  578. nameWithType: View.Subviews
  579. fullName: View.Subviews
  580. - uid: Terminal.View.SuperView
  581. parent: Terminal.View
  582. isExternal: false
  583. name: SuperView
  584. nameWithType: View.SuperView
  585. fullName: View.SuperView
  586. - uid: Terminal.View.ToString
  587. parent: Terminal.View
  588. isExternal: false
  589. name: ToString()
  590. nameWithType: View.ToString()
  591. fullName: View.ToString()
  592. - uid: Terminal.View.WantMousePositionReports
  593. parent: Terminal.View
  594. isExternal: false
  595. name: WantMousePositionReports
  596. nameWithType: View.WantMousePositionReports
  597. fullName: View.WantMousePositionReports