官术网_书友最值得收藏!

Building Blocks – Shapes, Text, and Controls

To construct a rich user interface, you need the building blocks. JavaFX provides a large range of very customizable graphical instruments. We'll start from the smallest building blocks—shapes, text, and simple controls—and will use them to understand how JavaFX works with graphical elements.

In this chapter, we will cover the following topics

  • Creating and customizing the shapes
  • Working with text
  • Coordinates and bounds
  • Basic controls

By combining and customizing these Nodes and arranging them using the layout managers we reviewed in the previous chapter, you can already build a sophisticated UI. At the end of the chapter, we'll revisit the Clock application from the previous chapter to demonstrate the topics we learned in a more complex application.

主站蜘蛛池模板: 阿合奇县| 巴青县| 越西县| 城口县| 孝感市| 承德市| 广安市| 乌恰县| 德令哈市| 满洲里市| 淄博市| 中西区| 景东| 浦北县| 黄梅县| 崇信县| 青川县| 濮阳县| 额济纳旗| 赤城县| 汉中市| 云梦县| 潼关县| 涞源县| 潼关县| 江门市| 平罗县| 礼泉县| 镶黄旗| 广水市| 德江县| 阿图什市| 铜山县| 阿克苏市| 驻马店市| 邳州市| 淮北市| 寿光市| 河东区| 安多县| 五河县|