انت هنا الان : شبكة جامعة بابل > موقع الكلية > نظام التعليم الالكتروني > مشاهدة المحاضرة

Lecture 2-practical (JavaFX in Action)

Share |
الكلية كلية تكنولوجيا المعلومات     القسم قسم شبكات المعلومات     المرحلة 4
أستاذ المادة محمد حسين جواد عبود       13/03/2019 18:33:27
Menu:
Menu is a popup menu that contains several menu items that are displayed when
the user clicks a menu. The user can select a menu item after which the menu
goes into a hidden state.
MenuBar is usually placed at the top of the screen which contains several menus.
JavaFX MenuBar is typically an implementation of a menu bar.
MenuItem – To create one actionable option
Menu – To create a submenu
Note: To separate menu items within one category, use
the SeparatorMenuItem class. By default, each menu added to the menu bar is
represented by a button with the text value.
Note: use VBox ?fit to parent in order to make your menu fit the width and you
can add another components later on to your design. The JavaFX VBox
component is a layout component which positions all its child nodes
(components) in a vertical row. The Java VBox component is represented by the
class javafx.scene.layout.VBox .

RadioButton is a class extends from ToggleButton, the same as a ToggleButton,
radio button has the two states selected and deselected. When RadioButtons are
combined into a group, at a time only one button is selected.
Unlike ToggleButton, users can only deselect a RadioButton by selecting a
different RadioButton in the same group.
Radio buttons are typically used in a group to present several mutually exclusive
options. The ToggleGroup object provides references to all radio buttons that are
associated with it and manages them so that only one of the radio buttons can be
selected at a time.
By default a radio button is not a part of any toggle group. The selected item of a
toggle group can be found using getSelectedToggle() function.


المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .
الرجوع الى لوحة التحكم