بنقرة واحدة
javafx-fxml-controls-css
Compose JavaFX views with FXML, controller injection, and control wiring.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Compose JavaFX views with FXML, controller injection, and control wiring.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | javafx-fxml-controls-css |
| description | Compose JavaFX views with FXML, controller injection, and control wiring. |
| triggers | ["javafx fxml","javafx controller","fx:id","fxml loader"] |
| compatibility | {"java":"17+","javafx":"21+"} |
| category | ui-core |
| tags | ["fxml","controller","controls","css","styling"] |
| metadata | {"scope":"repository","maturity":"starter"} |
| allowed-tools | ["view","rg","apply_patch"] |
Use this skill when the project should separate view markup, controller logic, and styling.
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.VBox?>
<VBox xmlns="http://javafx.com/javafx/21"
xmlns:fx="http://javafx.com/fxml/1"
fx:controller="com.example.app.ui.HomeController"
spacing="12">
<padding>
<Insets top="24" right="24" bottom="24" left="24" />
</padding>
<Label fx:id="titleLabel" text="Welcome" styleClass="title" />
<Button text="Refresh" onAction="#refresh" />
</VBox>
package com.example.app.ui;
import javafx.fxml.FXML;
import javafx.scene.control.Label;
public class HomeController {
@FXML
private Label titleLabel;
@FXML
private void refresh() {
titleLabel.setText("Refreshed");
}
}
.title {
-fx-font-size: 20px;
-fx-font-weight: bold;
}
javafx-theming-icons-styling for broader theme-system, icon-pack, and CSS architecture work.fx:id mismatches fail at load time, not compile time.opens FXML controller packages to javafx.fxml.Build JavaFX 3D modeling tools and print/export workflows with isolated geometry generation and preview rendering.
Choose and integrate mature third-party JavaFX control libraries for forms, productivity widgets, theming, and developer workflow support.
Build JavaFX terminal emulators or shell-style console panes with background process I/O, ANSI handling, and safe FX-thread updates.
Build node-based JavaFX workflow editors, graph canvases, and visual programming surfaces with clean model separation.
Animate JavaFX UIs with Timeline, Transition, Canvas, and AnimationTimer-based render loops.
Manage the JavaFX Application lifecycle, primary stage setup, startup sequencing, and shutdown behavior.